Skip to tool

MCP Server Config Generator

Generate MCP server configuration JSON.

Output will appear here…

How to Use This Tool

  1. Fill in Server Name, Command, Args (one per line), and Env (KEY=VALUE per line). Each control is labeled; you do not need to paste a JSON blob.
  2. Click "Run" to run the tool in your browser.
  3. Read the result below the form and copy it if you need it in another app.

Learn More About MCP Server Config Generator

About MCP Server Config Generator

Generate MCP server configuration JSON for Claude Desktop, Cursor, and other MCP clients.

About

Generate MCP server configuration JSON for Claude Desktop, Cursor, and other MCP clients.
Generate MCP server configuration JSON for Claude Desktop, Cursor, and other MCP clients.
Runs in browser
Yes
No signup required
Yes

Examples

Node server

Node server
Input
{
  "name": "my-server",
  "command": "node",
  "args": "server.js",
  "env": ""
}
Output
{
  "mcpServers": {
    "my-server": {
      "command": "node",
      "args": [
        "server.js"
      ]
    }
  }
}

Python with env

Python with env
Input
{
  "name": "py-server",
  "command": "python",
  "args": "main.py\n--verbose",
  "env": "API_KEY=secret\nPORT=3000"
}
Output
{
  "mcpServers": {
    "py-server": {
      "command": "python",
      "args": [
        "main.py",
        "--verbose"
      ],
      "env": {
        "API_KEY": "secret",
        "PORT": "3000"
      }
    }
  }
}

Minimal

Minimal
Input
{
  "name": "test",
  "command": "node",
  "args": "",
  "env": ""
}
Output
{
  "mcpServers": {
    "test": {
      "command": "node",
      "args": []
    }
  }
}

Use Cases

  • Check mcp server config generator values while you draft a page, spreadsheet, or config.
  • Fill Server Name, Command, Args (one per line) and compare the result to a second source.
  • Keep sensitive inputs on-device — this page runs the calculation in the browser.

Frequently Asked Questions

Related tools: