Skip to content

Commit 4b883ad

Browse files
committed
refactor(ci): update MCP publish workflow and config
1 parent 50ba8b0 commit 4b883ad

3 files changed

Lines changed: 17 additions & 20 deletions

File tree

.github/workflows/publish-mcp.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
permissions:
99
contents: read
10-
id-token: write # future-friendly if/when registry supports OIDC from Actions
10+
id-token: write
1111

1212
jobs:
1313
publish:
@@ -27,16 +27,14 @@ jobs:
2727

2828
- name: Publish to MCP Registry
2929
env:
30-
MCP_GITHUB_TOKEN: ${{ secrets.MCP_GITHUB_TOKEN }}
3130
MCP_REGISTRY_URL: https://registry.modelcontextprotocol.io
3231
run: |
3332
# Fail early if the file is missing
34-
test -f .mcp/server.json
33+
test -f server.json
3534
3635
# Publish. The CLI defaults may evolve; these flags keep it explicit.
37-
# If the CLI prefers envs, it will read MCP_GITHUB_TOKEN and MCP_REGISTRY_URL.
36+
# If the CLI prefers envs, it will read MCP_REGISTRY_URL.
3837
"$(go env GOPATH)"/bin/publisher \
3938
publish \
40-
--mcp-file .mcp/server.json \
41-
--registry-url "$MCP_REGISTRY_URL" \
42-
--github-token "$MCP_GITHUB_TOKEN"
39+
--mcp-file server.json \
40+
--registry-url "$MCP_REGISTRY_URL"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ Makefile
105105
**/*.rdb
106106

107107
# private key
108-
key.pem
108+
mcp-key.pem
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
{
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3-
"name": "com.onkernel/kernel",
3+
"name": "com.onkernel/kernel-mcp-server",
44
"title": "Kernel MCP Server",
55
"description": "Access Kernel's cloud-based browsers and app actions via MCP (remote HTTP + OAuth).",
66
"status": "active",
7-
87
"homepage_url": "https://onkernel.com",
98
"documentation_url": "https://docs.onkernel.com/reference/mcp-server",
109
"repository": {
11-
"source": "github",
12-
"url": "https://github.com/onkernel/kernel-mcp-server"
10+
"url": "https://github.com/onkernel/kernel-mcp-server",
11+
"source": "github"
1312
},
1413
"license": "MIT",
15-
14+
"version": "1.0.0",
1615
"tags": ["browser", "automation", "actions", "cloud"],
1716
"categories": ["automation", "devtools"],
18-
19-
"remote": {
20-
"transport": "streamable-http",
21-
"url": "https://mcp.onkernel.com/mcp",
22-
"auth": { "type": "oauth2" }
23-
}
24-
}
17+
"remotes": [
18+
{
19+
"type": "streamable-http",
20+
"url": "https://mcp.onkernel.com/mcp"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)