File tree Expand file tree Collapse file tree 3 files changed +48
-3
lines changed
Expand file tree Collapse file tree 3 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 1- 1.3 .0
1+ 1.4 .0
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Add XcodeBuildMCP to your MCP client configuration. Most clients use JSON config
2929 <summary >Cursor</summary >
3030 <br />
3131
32- Add to ` ~/ .cursor/mcp.json` :
32+ Recommended (project-scoped): add ` .cursor/mcp.json ` in your workspace root :
3333 ``` json
3434 {
3535 "mcpServers" : {
@@ -41,9 +41,24 @@ Add XcodeBuildMCP to your MCP client configuration. Most clients use JSON config
4141 }
4242 ```
4343
44+ For global Cursor config (` ~/.cursor/mcp.json ` ), use this variant so startup is aligned with the active workspace:
45+ ``` json
46+ {
47+ "mcpServers" : {
48+ "XcodeBuildMCP" : {
49+ "command" : " /bin/zsh" ,
50+ "args" : [
51+ " -lc" ,
52+ " cd \" ${workspaceFolder}\" && exec npx -y xcodebuildmcp@beta mcp"
53+ ]
54+ }
55+ }
56+ }
57+ ```
58+
4459 Or use the quick install link:
4560
46- [ ![ Install MCP Server] ( https://cursor.com/deeplink/mcp-install-light.svg )] ( https://cursor.com/en-US/install-mcp?name=XcodeBuildMCP&config=eyJjb21tYW5kIjoibnB4IC15IHhjb2RlYnVpbGRtY3BAYmV0YSBtY3AifQ %3D%3D )
61+ [ ![ Install MCP Server] ( https://cursor.com/deeplink/mcp-install-light.svg )] ( https://cursor.com/en-US/install-mcp?name=XcodeBuildMCP&config=eyJjb21tYW5kIjoiL2Jpbi96c2giLCJhcmdzIjpbIi1sYyIsImNkIFwiJHt3b3Jrc3BhY2VGb2xkZXJ9XCIgJiYgZXhlYyBucHggLXkgeGNvZGVidWlsZG1jcEBiZXRhIG1jcCJdfQ %3D%3D )
4762 <br />
4863</details >
4964
Original file line number Diff line number Diff line change @@ -63,6 +63,36 @@ See [CONFIGURATION.md](CONFIGURATION.md) for the full schema and examples.
6363
6464## Client-specific configuration
6565
66+ ### Cursor
67+ Recommended (project-scoped): create ` .cursor/mcp.json ` in your project root:
68+
69+ ``` json
70+ {
71+ "mcpServers" : {
72+ "XcodeBuildMCP" : {
73+ "command" : " npx" ,
74+ "args" : [" -y" , " xcodebuildmcp@beta" , " mcp" ]
75+ }
76+ }
77+ }
78+ ```
79+
80+ If you use a global Cursor config at ` ~/.cursor/mcp.json ` , use this variant to align startup with the active workspace:
81+
82+ ``` json
83+ {
84+ "mcpServers" : {
85+ "XcodeBuildMCP" : {
86+ "command" : " /bin/zsh" ,
87+ "args" : [
88+ " -lc" ,
89+ " cd \" ${workspaceFolder}\" && exec npx -y xcodebuildmcp@beta mcp"
90+ ]
91+ }
92+ }
93+ }
94+ ```
95+
6696### OpenAI Codex CLI
6797Codex uses TOML for MCP configuration. Add this to ` ~/.codex/config.toml ` :
6898
You can’t perform that action at this time.
0 commit comments