Skip to content

Commit e3d5e18

Browse files
committed
Use own domain for MCP registry
1 parent 19caedf commit e3d5e18

File tree

5 files changed

+73
-6
lines changed

5 files changed

+73
-6
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,21 @@ jobs:
119119
cd ..
120120
chmod +x mcp-publisher
121121
122-
- name: Login to MCP Registry (OIDC)
122+
- name: Login to MCP Registry (DNS)
123123
if: github.event_name == 'push'
124-
run: ./mcp-publisher login github-oidc
124+
env:
125+
MCP_DNS_PRIVATE_KEY: ${{ secrets.MCP_DNS_PRIVATE_KEY }}
126+
run: |
127+
echo "🔐 Using DNS authentication for com.xcodebuildmcp/* namespace"
128+
if [ -z "${MCP_DNS_PRIVATE_KEY}" ]; then
129+
echo "❌ Missing secrets.MCP_DNS_PRIVATE_KEY"
130+
echo "Add your DNS private key (hex) as a GitHub secret named MCP_DNS_PRIVATE_KEY."
131+
echo "Generate/extract with:"
132+
echo " openssl genpkey -algorithm Ed25519 -out key.pem"
133+
echo " openssl pkey -in key.pem -noout -text | grep -A3 'priv:' | tail -n +2 | tr -d ' :\\n'"
134+
exit 1
135+
fi
136+
./mcp-publisher login dns --domain xcodebuildmcp.com --private-key "${MCP_DNS_PRIVATE_KEY}"
125137
126138
- name: Publish to MCP Registry
127139
if: github.event_name == 'push'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,4 @@ bundled/
106106

107107
/.mcpregistry_github_token
108108
/.mcpregistry_registry_token
109+
/key.pem

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xcodebuildmcp",
33
"version": "1.12.8",
4-
"mcpName": "io.github.cameroncooke/XcodeBuildMCP",
4+
"mcpName": "com.xcodebuildmcp/XcodeBuildMCP",
55
"iOSTemplateVersion": "v1.0.8",
66
"macOSTemplateVersion": "v1.0.5",
77
"main": "build/index.js",

scripts/release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ if [[ -n "$RUN_ID" ]]; then
338338
echo "✅ Release v$VERSION completed successfully!"
339339
echo "📦 View on NPM: https://www.npmjs.com/package/xcodebuildmcp/v/$VERSION"
340340
echo "🎉 View release: https://github.com/cameroncooke/XcodeBuildMCP/releases/tag/v$VERSION"
341+
# MCP Registry verification link
342+
echo "🔎 Verify MCP Registry: https://registry.modelcontextprotocol.io/v0/servers?search=io.github.cameroncooke/XcodeBuildMCP&version=latest"
341343
else
342344
echo ""
343345
echo "❌ CI workflow failed!"

server.json

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3-
"name": "io.github.cameroncooke/XcodeBuildMCP",
3+
"name": "com.xcodebuildmcp/XcodeBuildMCP",
44
"description": "XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.",
55
"status": "active",
66
"repository": {
77
"url": "https://github.com/cameroncooke/XcodeBuildMCP",
8-
"source": "github"
8+
"source": "github",
9+
"id": "945551361"
910
},
1011
"version": "1.12.8",
1112
"packages": [
@@ -16,7 +17,58 @@
1617
"version": "1.12.8",
1718
"transport": {
1819
"type": "stdio"
19-
}
20+
},
21+
"runtime_hint": "npx",
22+
"environment_variables": [
23+
{
24+
"name": "INCREMENTAL_BUILDS_ENABLED",
25+
"description": "Enable experimental xcodemake incremental builds (true/false or 1/0).",
26+
"format": "boolean",
27+
"default": "false",
28+
"choices": [
29+
"true",
30+
"false",
31+
"1",
32+
"0"
33+
]
34+
},
35+
{
36+
"name": "XCODEBUILDMCP_DYNAMIC_TOOLS",
37+
"description": "Enable AI-powered dynamic tool discovery to load only relevant workflows.",
38+
"format": "boolean",
39+
"default": "false",
40+
"choices": [
41+
"true",
42+
"false"
43+
]
44+
},
45+
{
46+
"name": "XCODEBUILDMCP_ENABLED_WORKFLOWS",
47+
"description": "Comma-separated list of workflows to load in Static Mode (e.g., 'simulator,device,project-discovery').",
48+
"format": "string",
49+
"default": ""
50+
},
51+
{
52+
"name": "XCODEBUILDMCP_SENTRY_DISABLED",
53+
"description": "Disable Sentry error reporting (preferred flag).",
54+
"format": "boolean",
55+
"default": "false",
56+
"choices": [
57+
"true",
58+
"false"
59+
]
60+
},
61+
{
62+
"name": "XCODEBUILDMCP_DEBUG",
63+
"description": "Enable verbose debug logging from the server.",
64+
"format": "boolean",
65+
"default": "false",
66+
"choices": [
67+
"true",
68+
"false"
69+
]
70+
}
71+
]
2072
}
2173
]
2274
}

0 commit comments

Comments
 (0)