Skip to content

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)

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

    Select your host

    Choose Claude Desktop, Cursor, Windsurf or a generic config. Each host has its own format and file location.

  2. 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. 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. 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?
An MCP server configuration is the JSON block, usually mcpServers, that tells a client such as Claude Desktop, Cursor or Windsurf how to start or reach each Model Context Protocol server. This tool builds it from a form or presets such as Filesystem and GitHub, and formats it for the host you choose.
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?
The MCP spec defines stdio, for local processes, and Streamable HTTP, for remote servers. The older HTTP with SSE transport is deprecated but still used by some servers, so this tool can write all three.
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.
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.