JSON syntax and root structure
Detects parse failures, missing mcpServers, incorrect container types, trailing commas, comments, and common property-name mistakes.
Private MCP JSON checker
MCP Config Validator checks Claude Desktop, Cursor, and VS Code configuration for JSON syntax, mcpServers, command, URL, transport, args, and environment errors—entirely in your browser.
Free · No account or email · Your configuration never leaves this device
MCP configuration checker
Paste or upload a configuration file. The checker parses its structure, reviews each server, suggests safe corrections, and creates a reusable diagnostic report.
Typical path: ~/Library/Application Support/Claude/claude_desktop_config.json
Ready to validate the sample configuration.
Parsing, validation, repair suggestions, and report generation happen inside this page.
What the validator checks
A syntactically valid file can still fail at runtime. These checks cover both the document and the server definitions inside it.
Detects parse failures, missing mcpServers, incorrect container types, trailing commas, comments, and common property-name mistakes.
Reviews executable commands, argument arrays, environment objects, empty values, shell-dependent patterns, and accidental secret exposure.
Checks URL validity, protocol safety, conflicting command and URL fields, transport hints, localhost endpoints, and unsupported field combinations.
Practical MCP config examples
Use these input → diagnosis → fix examples to narrow down why an MCP server is not appearing, starting, or connecting.
A trailing comma makes the complete configuration unreadable.
{
"mcpServers": {
"docs": {
"command": "npx",
"args": ["-y", "server"],
}
}
}
Fix: remove the comma after the args array. Standard JSON does not allow trailing commas or comments.
The JSON parses, but the client cannot resolve a shell alias or relative executable.
{
"mcpServers": {
"local": {
"command": "my-server",
"args": []
}
}
}
Fix: use an installed executable or an absolute path. GUI apps may not inherit the same PATH as your terminal.
A server definition should not mix a local stdio command with a remote URL.
{
"mcpServers": {
"api": {
"command": "node",
"url": "https://example.com/mcp"
}
}
}
Fix: choose one connection model: command with optional args, or a valid HTTP(S) url.
How to check MCP configuration
Select the client and operating system so the page can show the relevant configuration path and context.
Errors identify blockers. Warnings flag values that are legal but likely to fail or expose sensitive information.
Save the Markdown repair report, apply changes carefully, restart the MCP client, and validate the updated file again.
MCP configuration FAQ
On macOS, the typical path is ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows, it is commonly %APPDATA%\Claude\claude_desktop_config.json. Paths can change by client version, so verify them against your installed client if the file is absent.
Frequent causes include invalid JSON, a missing mcpServers object, an executable unavailable to the GUI app, incorrect arguments, or failure to restart the client after editing. Validate the file first, then launch the command directly in a terminal to isolate runtime problems.
Select Cursor above, paste the complete JSON, and run the checker. It validates the same core server fields while showing Cursor-specific path guidance. Always test the exact file used by the workspace or user-level configuration.
A single server definition generally represents either a local stdio process using command and args, or a remote endpoint using url. Mixing both is ambiguous, so this validator reports it as an error.
The validator works locally and does not send the configuration to a server. Even so, avoid sharing screenshots or copied reports containing real tokens. The downloaded report redacts values whose names look like passwords, secrets, tokens, or API keys.
No. Browser security and the local-only design mean it performs static configuration validation, not command execution or network probing. A clean result confirms the checked structure and values, not server availability or package installation.
Remove the comma after the final property in each object or array, and delete // or block comments. JSON requires double-quoted property names and strings. The parser result points near the first syntax error it encounters.
Keep the diagnosis
Download a Markdown file containing the current client, configuration path, redacted config, diagnostics, and prioritized next steps.
Free · No registration · Generated locally · A useful sample template is included if you have not run a check