How to Share MCP Servers with Your Team

Commit a project-scoped MCP config to share servers with your team: .cursor/mcp.json in Cursor (mcpServers key), .vscode/mcp.json in VS Code (servers key), .mcp.json in Claude Code (mcpServers key). Never commit API key values — use environment variables or the VS Code inputs feature instead. Windsurf has no project-scoped config; document servers in the README for Windsurf teams.

A project-scoped config file committed to the repo is all it takes to share MCP servers across a team. Here is the right file, the right key name, and the right way to handle secrets for Cursor, VS Code, and Claude Code.