MCP Config Generator
Free MCP config generator. Build mcpServers JSON blocks for Claude Desktop, Cursor, and VS Code from server names, commands, args, and env vars.
Loading tool...
What is MCP Config Generator?
The MCP Config Generator builds the mcpServers JSON blocks that connect AI applications like Claude Desktop, Cursor, and VS Code to Model Context Protocol servers. Fill in a simple form per server - name, command, arguments, and environment variables - and the tool emits correctly formatted JSON for your chosen application, ready to copy or download.
Key Benefits
- Avoid hand-editing fragile JSON where one stray comma silently breaks every MCP server
- Get the correct output shape for Claude Desktop, Cursor, or VS Code automatically
- Start faster with presets for the common npx, node, and python launch styles
- Keep API keys local: generation happens entirely in your browser
Common Use Cases
- β’Setting up filesystem, database, or web-scraping MCP servers for Claude Desktop
- β’Sharing a standard team MCP setup across projects via checked-in config snippets
- β’Onboarding developers onto Cursor with pre-built configs for internal tools
- β’Documenting custom MCP servers with copy-paste example configurations
How to Generate an MCP Server Config
- Pick your target application: Choose Claude Desktop, Cursor, or VS Code. The tool adjusts the output shape and shows where the config file lives.
- Add your servers: For each server enter a name and launch command. Use the npx, node, or python presets to fill in typical arguments, then edit them to match your setup.
- Set environment variables: Add any API keys or options as KEY=value pairs, one per line. They are converted into a properly quoted JSON env object.
- Copy the config into place: Copy the generated JSON or download it, paste it into the config file for your app, restart the application, and your MCP servers appear.
Key Features
- Supports Claude Desktop, Cursor, and VS Code config formats from one form
- Unlimited server entries with add, remove, and reorder controls
- One-click presets for common npx, node, and python launch commands
- KEY=value environment parsing with automatic JSON-safe quoting
- Live JSON preview with copy and download as a ready-to-use file
- Runs entirely offline in your browser - secrets never leave your machine