MCP Server Config Generator
{
"mcpServers": {
"unnamed-server": {
"command": "npx",
"args": []
}
}
}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.
What This Tool Does
MCP Server Config Generator is built for deterministic developer and agent workflows.
Generate MCP server configurations for Claude Desktop, Cursor, and Windsurf with visual editor and presets.
Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
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.
How to Use MCP Server Config Generator
- 1
Select your IDE
Choose Claude Desktop, Cursor, or Windsurf. Each has slightly different configuration formats and file locations. The tool generates the correct JSON structure for your IDE.
- 2
Configure server details
Enter the MCP server name, command to run (e.g., 'npx my-mcp-server'), and any environment variables or arguments. Specify whether it's a local server or remote endpoint.
- 3
Define resource types
Add resources your server provides (files, APIs, databases). For each resource, specify its URI scheme, description, and whether list/read/write operations are supported.
- 4
Generate and validate
Copy the generated configuration to your IDE's config file (claude_desktop_config.json, .cursor/config, or Windsurf config). Restart the IDE and verify the server appears in the tools list.