MCP Server Config Generator
Generate MCP server configurations for Claude Desktop, Cursor, and Windsurf with visual editor and presets
MCP Server Config Generator
Target host
Quick presets
Servers (2)
Generated configuration
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/jane/projects"
]
},
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
}
}
}
}About MCP server config
The Model Context Protocol (MCP) lets AI assistants connect to external tools and data sources. This generator creates the JSON configuration needed to register MCP servers with your preferred host.
stdio transports run local processes. SSE and Streamable HTTPconnect to remote servers via URL.
Updated . Provided as is. Check the output before you rely on it in production.
How to use MCP Server Config Generator
- 1
Select your host
Choose Claude Desktop, Cursor, Windsurf or a generic config. Each host has its own format and file location.
- 2
Configure each server
Set the server name and transport. stdio servers take a command, arguments and environment variables; SSE and Streamable HTTP servers take a URL and request headers.
- 3
Start from a preset or import
Load a preset such as Filesystem, GitHub, Postgres, Slack, Puppeteer, Brave Search or Memory, or import your existing config to edit it.
- 4
Install the config
Copy or download the configuration into claude_desktop_config.json (Claude Desktop), .cursor/mcp.json (Cursor) or ~/.codeium/windsurf/mcp_config.json (Windsurf), restart the app, and check that the server appears.
Questions and answers
What is an MCP server configuration?
Where do I put my MCP config file?
What transport types does MCP support?
Is this tool free and does it store my data?
Can I import my existing MCP configuration?
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/mcp-config-generator/
For automation planning, fetch the canonical contract at /api/tool/mcp-config-generator.json.