AI Explained · Tool

MCP Config Generator

Build a valid MCP server block for claude_desktop_config.json from a simple form, or paste an existing config to validate it. Runs entirely in your browser.

claude_desktop_config.json

What this builds

The Model Context Protocol lets an AI app connect to external tools through a standard config. For Claude Desktop that config lives in claude_desktop_config.json, and every server goes under an mcpServers object with a command to launch it, its args, and any env variables (like API keys). A single misplaced comma or a string where an array belongs stops every server from loading, so this tool builds the shape for you and validates one you already have.

The shape of a server

This generates and checks the JSON locally, nothing is uploaded, so it is safe to paste a config that contains keys. That said, treat real secrets carefully and prefer environment references where you can.

FAQ

Where does this file go?

On macOS, ~/Library/Application Support/Claude/claude_desktop_config.json; on Windows, %APPDATA%\Claude\claude_desktop_config.json. Restart Claude Desktop after editing.

Does the validator run my servers?

No. It only checks the JSON structure (valid syntax, an mcpServers object, a string command, an array args, and object env). It never executes anything.

Is my config uploaded?

No. Generation and validation are entirely client-side, so the config and any keys in it stay on your device.

Related

Read what MCP is and how it relates to tool calling, or browse AI Explained.