🛠️ Need to validate an existing config? Use our real-time Config Linter on mcp-codex.com →
Developer Tool

Instant MCP Configuration Generator and Validator

Eliminate missing brackets, wrong argument arrays, and escaping errors. Generate verified configuration files for Claude Desktop, Cursor, Windsurf, and VS Code.

Where Do MCP Config Files Live?

Every client stores its MCP configuration in a distinct OS-specific path. Below are the exact default file locations:

🟣

Claude Desktop

macOS:
~/Library/Application Support/Claude/claude_desktop_config.json

Windows:
%APPDATA%\Claude\claude_desktop_config.json

Claude Setup Guide →

Cursor IDE

Workspace Root:
.cursor/mcp.json

Global Settings:
Cursor Settings > Features > Model Context Protocol

Cursor Setup Guide →
🌊

Windsurf (Codeium)

macOS & Linux:
~/.codeium/windsurf/mcp_config.json

Windows:
%USERPROFILE%\.codeium\windsurf\mcp_config.json

Windsurf Setup Guide →

Build Your JSON Configuration

Toggle the servers you want to enable, and copy the formatted JSON snippet below.

🐘 PostgreSQL DB
📁 Filesystem Local
🐙 GitHub DevTools
🦁 Brave Search Web
💾 SQLite DB
🧠 Memory Graph AI
~/Library/Application Support/Claude/claude_desktop_config.json
Launch Advanced Generator on mcp-codex.com →