devpocket.dev

MCP Config Generator

Build and validate MCP server configs for Claude, Cursor, VS Code, and Windsurf.

Runs locally
Loading tool…

How to use

In Generate mode, add one or more servers. Choose stdio for a local command, or HTTP/SSE for a remote endpoint. Enter arguments one per line and environment variables or headers as KEY=value. Select a client to get its expected top-level shape.

In Validate mode, paste an existing config to check JSON syntax, server containers, missing commands or URLs, non-string env/header values, duplicate object keys, and unsafe npx calls without -y. Environment variables and headers are intentionally not persisted because they may contain secrets.

FAQ

Where does each client store its config?

Claude Desktop uses claude_desktop_config.json; Claude Code commonly uses .mcp.json; Cursor uses .cursor/mcp.json; VS Code uses .vscode/mcp.json. Windsurf location varies by installation.

Why warn about npx without -y?

An MCP client starts servers non-interactively. Without -y, npx may wait for an install confirmation that the client cannot answer.

Do the presets include API tokens?

No. Presets contain only generic package names and placeholder paths. Add credentials locally and verify each server package before use.

Related tools