MCP Server Config Generator
Assemble mcpServers JSON for Claude Desktop, Cursor, and VS Code from a verified catalog (v2026-11-26) — secrets stay as ${VAR} placeholders.
Servers
0 selectedPick catalog servers above or add a custom one to start composing your config.
Claude Desktop config
Select a server to generate its config
Pick catalog servers or add a custom stdio/HTTP entry.
Examples
Filesystem
Filesystem catalog entry{"mcpServers":{"filesystem":{"command":"npx","args":[...]}}}The default args include a path slot you can edit before copying.
GitHub + memory
Two catalog entriesTwo mcpServers keys in one fileMulti-server compose merges the maps and reports any identifier collision.
Remote HTTP
Remote server entryurl plus type: http for VS CodeHeaders are only emitted for targets that support them.
Missing command
Custom stdio with empty commandValidation errorThe output is withheld until the command is provided; the form selection stays intact.
About this tool
The MCP Server Config Generator produces the exact JSON clients expect when adding Model Context Protocol servers. Choose from a bundled catalog of well-known servers or add a custom stdio/HTTP entry, then target Claude Desktop, Cursor or VS Code to get the right wrapper and filename.
Each server form exposes its command, arguments, environment placeholders and (for HTTP transports) URL and headers. Multiple servers compose into one configuration file; duplicate identifiers are suffixed with a warning. A lint warns when an environment value looks like a pasted real secret and recommends the `${VAR}` placeholder form instead.
The output is validated by re-parsing it before display, and an install-path helper shows where to save the file on macOS, Windows and Linux. No network calls are made: the catalog is bundled, and entered environment values are never persisted to localStorage.
What this tool does not do
- The catalog is a bundled snapshot with a visible version and is not fetched live.
- No server is launched or contacted; the tool only emits configuration text.
- Import handles common mcpServers shapes, not every vendor-specific dialect.
How to use this tool
Pick a client
Select Claude Desktop, Cursor or VS Code. The output wrapper, filename and per-OS install path update immediately.
Add servers
Search the catalog and click entries to add them, or add a custom server and provide its command or URL.
Edit the form
Adjust arguments and use `${VAR}` placeholders for tokens and keys. The secret lint flags values that look like real credentials.
Copy or download
Review the validated JSON, copy it or download it with the target's conventional filename, then replace placeholders with real environment variables locally.
Use cases
First-time MCP setup
Generate a working config without guessing wrapper keys or config file locations.
Switching editors
Regenerate the same server list for Claude Desktop, Cursor and VS Code with correct dialects.
Team documentation
Share a placeholder-only JSON snippet that never contains real API keys.
Target dialects
| Client | Output |
|---|---|
| Claude Desktop | mcpServers wrapper in claude_desktop_config.json |
| Cursor | mcpServers wrapper in .cursor/mcp.json |
| VS Code | servers wrapper with a type field in .vscode/mcp.json |
Claude on Windows needs a cmd /c wrapper for npx-based servers; the tool applies it when the Windows toggle is on.
Common mistakes
Mistake:Pasting real API tokens into env fields.
Fix:Use ${VAR} placeholders; the lint flags long random-looking values and nothing is saved to storage.
Mistake:Reusing a Claude Desktop config in VS Code.
Fix:VS Code uses a servers wrapper with type fields — regenerate for the target client.
Mistake:Expecting ${VAR} expansion in a host that does not spawn a shell.
Fix:Check the target note; some hosts need the variable expanded by a wrapper.
Frequently asked questions
Where does claude_desktop_config.json live on each OS?
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. Windows: %APPDATA%\Claude\claude_desktop_config.json. Linux: ~/.config/Claude/claude_desktop_config.json. The install-path helper under the output shows the path for your chosen host.
What is the difference between stdio and HTTP transports?
Stdio servers are local processes launched by the client with a command and args. HTTP/SSE servers are reached at a URL and may use headers. The generator emits the right fields for each transport and hides headers for clients that do not support them.
How do I pass API keys to an MCP server safely?
Use ${VAR} placeholders in env values and export the real variable in your shell or client environment. The secret lint warns about pasted long random strings, and entered env values are never written to localStorage or sent anywhere.
What does the args array need for npx-based servers?
Typically ['-y', '@modelcontextprotocol/server-name', ...slots]. The -y flag lets npx install non-interactively; on Windows with Claude Desktop, wrap the command as cmd /c npx — the generator does this when the Windows toggle is on.
Why won't Cursor read my Claude Desktop config?
Cursor reads .cursor/mcp.json in your project or user directory, not the Claude Desktop file. The wrapper looks similar but the path and some fields differ; select Cursor as the target and download the config with the correct filename.
Is the server catalog fetched from the network?
No. The catalog is bundled with a visible version and last-verified note. Nothing is downloaded or launched, and the generated JSON is plain text you place yourself.
Related tools
Agent Tool Flowchart Builder
Design agentic tool-call DAGs with decision branches and bounded loops. Validates reachability, cycle handling, and emits clean Mermaid flowcharts — fully in your browser.
AI Agent Memory & Buffer Simulator
Compare sliding window, summary buffer, and vector memory strategies
AI API Client SDK Generator
Generate typed API client SDK files from OpenAPI specifications or cURL requests
AI Code Explainer
Explain code snippets with grounded cloud AI
AI Code Security Auditor
Scan source code for high-confidence OWASP Top 10 vulnerabilities
AI Code Translator
Translate code into idiomatic implementations in another language