The Model Context Protocol (MCP) is an open standard that connects Cursor's AI agents to external tools, databases, and services. Think of it as USB for AI — build an MCP server once, connect it to any AI client.
| Scope | Location | Use Case |
|---|---|---|
| Global | ~/.cursor/mcp.json | Tools available in all projects |
| Project | .cursor/mcp.json | Project-specific databases, APIs |
// .cursor/mcp.json example
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres"],
"env": { "DATABASE_URL": "postgresql://..." }
}
}
}
Local servers speak JSON-RPC over STDIO; remote servers use HTTP with OAuth authentication — and Cloud Agents support all of them. On Team plans, admins can distribute vetted MCP servers to everyone via the team marketplace (Cursor 3.10+), and Bugbot can call MCP tools during reviews on Team/Enterprise plans.
Give Cursor's agent real tools. Create the project-level MCP config, then smoke-test a reference server with npx before Cursor launches it.