Skip to content

Commit 66e26ed

Browse files
authored
Merge pull request #41 from onkernel/mason/mcp-registry
ci: add MCP publish workflow and server.json
2 parents 092b14e + 4b883ad commit 66e26ed

File tree

3 files changed

+67
-1
lines changed

3 files changed

+67
-1
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Publish MCP server.json
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
workflow_dispatch: {}
7+
8+
permissions:
9+
contents: read
10+
id-token: write
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version: "1.22"
24+
25+
- name: Install MCP Registry Publisher
26+
run: go install github.com/modelcontextprotocol/registry/tools/publisher@latest
27+
28+
- name: Publish to MCP Registry
29+
env:
30+
MCP_REGISTRY_URL: https://registry.modelcontextprotocol.io
31+
run: |
32+
# Fail early if the file is missing
33+
test -f server.json
34+
35+
# Publish. The CLI defaults may evolve; these flags keep it explicit.
36+
# If the CLI prefers envs, it will read MCP_REGISTRY_URL.
37+
"$(go env GOPATH)"/bin/publisher \
38+
publish \
39+
--mcp-file server.json \
40+
--registry-url "$MCP_REGISTRY_URL"

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,7 @@ temp/
102102
Makefile
103103

104104
# Redis
105-
**/*.rdb
105+
**/*.rdb
106+
107+
# private key
108+
mcp-key.pem

server.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
3+
"name": "com.onkernel/kernel-mcp-server",
4+
"title": "Kernel MCP Server",
5+
"description": "Access Kernel's cloud-based browsers and app actions via MCP (remote HTTP + OAuth).",
6+
"status": "active",
7+
"homepage_url": "https://onkernel.com",
8+
"documentation_url": "https://docs.onkernel.com/reference/mcp-server",
9+
"repository": {
10+
"url": "https://github.com/onkernel/kernel-mcp-server",
11+
"source": "github"
12+
},
13+
"license": "MIT",
14+
"version": "1.0.0",
15+
"tags": ["browser", "automation", "actions", "cloud"],
16+
"categories": ["automation", "devtools"],
17+
"remotes": [
18+
{
19+
"type": "streamable-http",
20+
"url": "https://mcp.onkernel.com/mcp"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)