MCP Server Config Generator

Server 1
{
  "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. 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. 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. 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. 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.

Frequently Asked Questions

What is an MCP server configuration?
An MCP (Model Context Protocol) server configuration is a JSON file that tells AI tools like Claude Desktop, Cursor, and Windsurf how to discover and connect to external tool servers. It specifies transport type, command, arguments, and environment variables.
Where do I put my MCP config file?
For Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). For Cursor: .cursor/mcp.json in your project. For Windsurf: ~/.codeium/windsurf/mcp_config.json.
What transport types does MCP support?
MCP supports three transport types: stdio (for local processes, most common), SSE (Server-Sent Events for remote HTTP streaming), and streamable-http (bidirectional HTTP streaming).
Is this tool free and does it store my data?
Yes. Free to use. Processing happens directly in your browser. Your configuration data never leaves your device.
Can I import my existing MCP configuration?
Yes, paste your existing JSON configuration to populate the visual editor. You can then modify server entries, add new ones, or switch between host formats.