How to connect Xcode to Cursor
Xcode Build MCP comes from xcodebuildmcp.com and is not listed as the vendor's own server. It runs locally via npx with no API key listed. This page covers adding it to Cursor through a JSON file and confirming the connection in Cursor's logs, with details drawn from the listing and Cursor's documentation.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
Checked against Cursor's documentation on Oct 26, 2026. Commands and config blocks are generated from the same install data as each listing page.
Before you start
- Cursor installed and able to start.
- Node.js with npx (the server starts with npx).
- No API key is listed for Xcode Build MCP.
1. Check what you need
Node.js is required because Cursor runs the server with
npx. Thenode --versionblock will tell you whether you have it.Check that it is installed node --version- The listing names no required key.
2. Add Xcode Build MCP to Cursor
Cursor takes the definition from a JSON file, either in the project or in your home directory. The entry starts Xcode Build MCP with
npx.Add this to .cursor/mcp.json in the project, or to ~/.cursor/mcp.json for every project .cursor/mcp.json{ "mcpServers": { "xcodebuildmcp": { "command": "npx", "args": [ "-y", "xcodebuildmcp@2.7.0" ] } } }3. Restart or reload if it does not appear
When the server is not showing, the restart wording from Cursor's docs and the tool-approval prompt are the two things to read here.
- The docs do not say whether editing mcp.json needs a restart. They tell you to restart Cursor after updating files of a custom local server.
- Cursor asks for approval before an agent uses an MCP tool unless you allowlist it.
Check that it works
Look in Cursor's MCP logs for connection errors; a server that connected lists its tools.
- Open the Output panel (Cmd+Shift+U on macOS), choose MCP Logs, and look for connection errors. A working server lists its tools under Available Tools; agent mcp list shows connection state from the terminal.
Troubleshooting
- A server fails or an npm-based server misbehaves after an update
- Check the MCP Logs channel in the Output panel. For npm-based servers the docs suggest removing the server, running npm cache clean --force, and adding it again. Source
Security notes
- Publisher: xcodebuildmcp.com, not listed as the vendor's own server; license MIT.
- It runs on your machine with your user account's permissions, so it can reach any file or network resource you can. Read its source before you give it access: https://github.com/getsentry/XcodeBuildMCP.
- The listing declares no required keys; use a token with the narrowest scope if the service asks for one.
- This listing has no security grade: Agent Market has not published security grades yet, so the choice is yours to make from the source and the permissions.
Servers and skills in this guide
You can also read about other Xcode servers, compare them, or go to the general Cursor guide.
- 1Xcode Build MCP
xcodebuildmcp.com
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
★ 6.5KLast active Oct 22, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet
Related
- Install guideHow to add an MCP server to Cursor
- Install guideHow to connect Xcode to Claude Code
- AlternativesAlternatives to Xcode Build MCP
- Host guideMCP servers for Cursor
- Install guideHow to connect Figma to Cursor
- Install guideHow to connect GitHub to Cursor
- Install guideHow to connect Unity to Cursor
Sources
- MCP Configuration Reference · fetched Oct 26, 2026
- MCP CLI Reference · fetched Oct 26, 2026
Cite this page
How to connect Xcode to Cursor. Agent Mart. https://agentmart.dev/guides/connect-xcode-to-cursor (last updated 2026-10-26)