MCP Client Config Validator
Paste your MCP client configuration JSON and validate every server entry. Catches missing commands, bad types, possible secrets, and structural issues โ all in your browser.
Paste MCP Client Config JSON
Validation results appear here
MCP Client Config Guide
Expected config shape
{
"mcpServers": {
"my-server": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"API_KEY": "your-key" // โ avoid hardcoding secrets
}
}
}
} Common mistakes
command not on PATH
If "node" or "python" are not found, the client silently fails. Use an absolute path if needed.
args not an array
"args" must be a JSON array of strings, not a single string or object.
Hardcoded secrets in env
Never put API keys or tokens directly in the config file. Load them from environment variables or a .env file.
Unknown top-level fields
Fields outside "mcpServers" may be ignored or cause errors depending on the client.
Privacy: This tool runs entirely in your browser. Your config JSON is never uploaded or stored.
Frequently Asked Questions
What is an MCP client config?
What must every server entry contain?
Why does this validator warn about secrets in env?
Does config format differ between Claude Desktop and Cursor?
Is my config uploaded anywhere?
Related Tools
MCP Server Config Generator
Generate MCP server configuration snippets for Claude Desktop, Cursor, and other clients.
MCP Tool Schema Validator
Validate MCP tool definitions โ names, descriptions, inputSchema, required fields, and common mistakes.
OpenAPI to MCP Generator
Convert OpenAPI JSON or YAML specs into MCP tool definitions, input schemas, and TypeScript skeletons.