Developer ToolsCluster Spoke2026-11-24

Cursor vs Claude Desktop MCP Configuration Case Study

Cursor vs Claude Desktop MCP Configuration Case Study

Executive TL;DR

Claude Desktop stores personal configs in an OS application support JSON file using mcpServers, Cursor supports both global and .cursor/mcp.json per-repo configs, and VS Code uses a distinct servers root key inside .vscode/mcp.json.

Real-World Multi-Editor Team Migration

A 12-engineer TypeScript product team recently standardized MCP usage across developers running macOS laptops with Claude Desktop for research alongside Cursor and VS Code for implementation. Copy-pasting one config file across all three apps immediately broke due to subtle file path and JSON root key mismatches.

Exact Configuration Paths Across Clients

Client App
Client AppConfig File LocationRoot JSON KeyScope Level
Claude Desktop macOS~/Library/Application Support/Claude/claude_desktop_config.jsonmcpServersMachine global
Cursor Project.cursor/mcp.json inside workspace rootmcpServersRepository scoped
VS Code Workspace.vscode/mcp.json inside workspace rootserversRepository scoped
Claude Code CLI.mcp.json at workspace rootmcpServersTeam shareable

Avoiding Secret Leaks In Git-Tracked Configs

Committing .cursor/mcp.json or .vscode/mcp.json lets every team member inherit identical Context7 Live Docs MCP and Repomix Codebase MCP setups automatically. Never commit hardcoded database passwords or personal API keys into shared workspace JSON files.

Instead, store local-only secrets inside shell profiles or project env files referenced safely at runtime, or rely on OAuth 2.1 servers like Linear Sprint Ops MCP. For protocol capability differences across these clients, check our Client Compatibility Matrix and our architecture guide.

Structured Technical FAQ

Why did Cursor ignore my .vscode/mcp.json file?

Cursor specifically looks for .cursor/mcp.json with an mcpServers object, whereas VS Code reads .vscode/mcp.json expecting a servers object.

Does Claude Desktop reload changes to claude_desktop_config.json live?

You usually need to quit and relaunch Claude Desktop completely after adding or updating local stdio entries.

Which config file is safest to commit to git?

Commit .mcp.json or .cursor/mcp.json only when entries use zero-secret npx/uvx commands or OAuth endpoints without embedded tokens.

Can VS Code run MCP Prompts and Sampling too?

Yes. Modern VS Code releases support Tools, Prompts, and built-in auth providers for remote Streamable HTTP servers.

Referenced MCP Servers

Search & Web
Core Ecosystem

Context7 Versioned Docs MCP

Inject current version-specific library documentation directly into prompts

stdiohttpnonefreemium
Tool Surface2 tools
Reliability Score97 / 100
740 tok · 19,400 starsInspect config
Developer Tools
Rising Stack

Repomix Codebase Packager MCP

Token-counted repository bundler and grep-free structural context engine

stdiononeopen-source
Tool Surface6 tools
Reliability Score94 / 100
1180 tok · 16,400 starsInspect config
Productivity & Docs
Rising Stack

Linear Sprint Ops MCP

Query sprint issues, triage priorities, and link pull requests seamlessly

httpstdiooauth-2.1freemium
Tool Surface11 tools
Reliability Score93 / 100
2180 tok · 2,850 starsInspect config

Related Hub & Spoke Guides