Data coding-agents/
Grok Build (Cursor) MCP config: file location, transports and auth
One row of the MCP client config reference, checked 2026-12-06.
- Client
- Grok Build (Cursor)
- Vendor
- Anysphere (part of SpaceX)
- Config file
- .cursor/mcp.json (project); ~/.cursor/mcp.json (global); the Grok Build terminal UI uses [mcp_servers] in config.toml and also reads .cursor/mcp.json
- Format
- JSON, mcpServers object; ${env:NAME}, ${userHome} and ${workspaceFolder} interpolation
- Scopes
- Project and global; team servers distributed through a team marketplace
- Transports
- stdio; SSE; Streamable HTTP
- Remote OAuth
- Yes, for SSE and Streamable HTTP (authorization code with PKCE); static client in an auth object (CLIENT_ID required, CLIENT_SECRET and scopes optional); redirect URLs https://www.cursor.com/agents/mcp/oauth/callback (web and agents) and http://localhost:8787/callback (desktop app)
- Admin controls
- Enterprise MCP allowlist in the team dashboard (MCP Configuration): command and URL entries with * wildcards, per-server tool controls and network policy; ~/.cursor/permissions.json via MDM sets the per-user auto-run allowlist
- Docs
- https://docs.grok.com/build/agents-window/mcp
- Source
- https://docs.grok.com/build/agents-window/enterprise/model-and-integration-management
From the MCP client config reference, checked Dec 6, 2026. Licence CC BY 4.0.
Cursor is now Grok Build. Grok’s announcement, dated November 30, 2026, says the Cursor desktop app becomes the Grok Build desktop app, and cursor.com now carries a “Cursor is now Grok Build” banner. Config paths keep the old name. Grok Build reads .cursor/mcp.json in a project and ~/.cursor/mcp.json globally. Its terminal UI uses [mcp_servers] in config.toml and also reads .cursor/mcp.json, per the Grok Build MCP docs.
If a remote server needs a pre-registered OAuth app, add an auth object with CLIENT_ID and register both redirect URLs: https://www.cursor.com/agents/mcp/oauth/callback for web and agents, and http://localhost:8787/callback for the desktop app.
The team MCP allowlist is Enterprise only. Adding a server to it doesn’t install that server on anyone’s machine, per the enterprise integration docs. More in Cursor MCP config.
Sources
Cite this page
Agents for Devs. "Grok Build (Cursor) MCP config: file location, transports and auth." Published Dec 6, 2026. https://agentsfordevs.com/mcp-clients/grok-build-cursor - Page: https://agentsfordevs.com/mcp-clients/grok-build-cursor
- Markdown version: https://agentsfordevs.com/mcp-clients/grok-build-cursor.md
- Reuse: quote or summarize with a link to this page. Reuse terms