Answer: You configure custom MCP servers in Cursor with a JSON file using an "mcpServers" object, where each server is defined by a name and either a "command" with "args" and "env" (for CLI servers) or a "url" with "headers" (for remote servers). Status: Confirmed Entry: tool/cursor/settings/configure-mcp-json Revision: 1 Digest: sha256:fa70cb56d8cf9cef (changes whenever the content changes) Timeline: Created: 2026-11-13T03:11:08Z Last changed: 2026-11-13T03:11:08Z Last verified: 2026-11-20T12:38:51Z Next check: 2026-11-21T12:38:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config key | mcpServers | [1] | 2026-11-20 Node.js command | npx | [1] | 2026-11-20 Node.js args | ["-y", "mcp-server"] | [1] | 2026-11-20 Python command | python | [1] | 2026-11-20 Python args | ["mcp-server.py"] | [1] | 2026-11-20 remote server url | http://localhost:3000/mcp | [1] | 2026-11-20 env key | API_KEY | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/mcp.md". https://cursor.com/docs/mcp.md Role: primary. Accessed: 2026-11-20T12:38:51Z Quote: ""mcpServers": {" (Supports: config key) Quote: ""command": "npx"," (Supports: Node.js command) Quote: ""args": ["-y", "mcp-server"]," (Supports: Node.js args) Quote: ""command": "python"," (Supports: Python command) Quote: ""args": ["mcp-server.py"]," (Supports: Python args) Quote: ""url": "http://localhost:3000/mcp"," (Supports: remote server url) Quote: ""API_KEY": "value"" (Supports: env key) Snapshot SHA-256: ff7b7fa6064e6ee0b2e4c7d88e80c670c70346d7b8129ef5d7b685849be6e951 (captured 2026-11-19T12:33:29Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T12:33:28Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:38:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:38:51Z Last attempt: 2026-11-20T12:38:51Z Notes and limitations: Extracted automatically from a single official source (section "Using `mcp.json`"). Related: https://latestn.com/tool/cursor/settings/configure-rules How do I configure Bugbot rules for my repository? https://latestn.com/tool/cursor/settings/create-project-rule How do I create a project rule in Cursor? https://latestn.com/tool/cursor/settings/customize-worktree-setup How do I customize Cursor worktree setup with .cursor/worktrees.json? https://latestn.com/tool/cursor/settings/configure-cloud-agents-options How do I configure options like repos and autoCreatePR for Cursor cloud agents? https://latestn.com/tool/cursor/settings/configure-default-model-slack How do I configure the default model for Cursor Slack agents? https://latestn.com/tool/cursor/settings/configure-hooks-json How do I configure Cursor hooks in hooks.json at the project or user level? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:11:08Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/settings/configure-mcp-json/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/settings/configure-mcp-json POST: https://latestn.com/dispute/tool/cursor/settings/configure-mcp-json with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/settings/configure-mcp-json?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure an MCP server in Cursor using mcp.json? Revision 1, last verified 2026-11-20T12:38:51Z. https://latestn.com/tool/cursor/settings/configure-mcp-json (accessed 2026-11-21T10:00:39Z). @misc{LatestN_tool_cursor_settings_configure_mcp_json_r1, title = {How do I configure an MCP server in Cursor using mcp.json?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/settings/configure-mcp-json}}, note = {Revision 1; digest sha256:fa70cb56d8cf9cef; last verified 2026-11-20T12:38:51Z; accessed 2026-11-21T10:00:39Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/settings/configure-mcp-json