Vibe Coding Suite

MCP Server Config (mcp.json) Generator

Compose clean stdio and HTTP MCP server configs for Cursor, Claude Code, Windsurf, and VS Code without syntax errors or leaked secrets.

AllOmnitools Editorial TeamNov 22, 2026Updated Nov 22, 20266 min readIntermediate
Config path: .cursor/mcp.json

1. Toggle Popular MCP Servers

2. Add Custom Server (stdio or HTTP/SSE)

Generated mcp.json

MCP Config File Locations by Coding Client

Each AI coding editor expects its Model Context Protocol configuration at a slightly different file path and root JSON property:

Editor / ClientConfig PathRoot Property
Cursor.cursor/mcp.json or ~/.cursor/mcp.jsonmcpServers
Claude Code / Desktop.mcp.json or claude_desktop_config.jsonmcpServers
Windsurf~/.codeium/windsurf/mcp_config.jsonmcpServers
VS Code Copilot.vscode/mcp.jsonservers (requires type)

Choosing Between Stdio and HTTP/SSE Transports

Local CLI servers spawned via npx or uvx communicate over standard input/output (stdio) with explicit command, args, and scoped env variables. Hosted documentation and cloud provider endpoints use remote HTTP/SSE url entries without local package installation.

Protecting API Tokens Inside Shared Repositories

Never commit raw API tokens into shared project mcp.json files. Leave environment placeholder syntax like ${GITHUB_PERSONAL_ACCESS_TOKEN} active or store secrets inside personal user-level configuration files excluded from Git.

How to Use This Tool

  1. 1 Choose your target editor tab (Cursor, Claude Code, Windsurf, or VS Code) at the top.
  2. 2 Check popular presets like Playwright, Context7 Docs, Filesystem, GitHub, or Cloudflare Docs.
  3. 3 Optionally add custom local stdio commands or remote HTTP MCP server endpoints with env variables.
  4. 4 Copy or Download the formatted JSON file directly into your client config path.

FAQ

VS Code workspace configs (.vscode/mcp.json) use the top-level servers key and require an explicit "type" ("stdio" or "http") on every entry.