Skip to content

Commit 2f566d8

Browse files
committed
feat: add MCP Registry server.json and publish workflow
1 parent 3c8475d commit 2f566d8

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/publish-mcp.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish to MCP Registry
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
id-token: write
10+
contents: read
11+
steps:
12+
- uses: actions/checkout@v5
13+
14+
- name: Download MCP Publisher
15+
run: |
16+
curl -sL "https://github.com/modelcontextprotocol/registry/releases/download/v1.5.0/mcp-publisher_linux_amd64.tar.gz" | tar xz mcp-publisher
17+
chmod +x mcp-publisher
18+
19+
- name: Login via GitHub OIDC
20+
run: ./mcp-publisher login github-oidc
21+
22+
- name: Publish to MCP Registry
23+
run: ./mcp-publisher publish server.json

server.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3+
"name": "io.github.srotzin/hiveforge",
4+
"title": "HiveForge",
5+
"description": "Agent spawning, lifecycle management, and population control for AI economies",
6+
"version": "1.0.0",
7+
"websiteUrl": "https://www.hiveagentiq.com",
8+
"remotes": [
9+
{
10+
"url": "https://hiveforge-lhu4.onrender.com/mcp",
11+
"type": "streamable-http"
12+
}
13+
],
14+
"repository": {
15+
"url": "https://github.com/srotzin/hiveforge",
16+
"source": "github"
17+
}
18+
}

0 commit comments

Comments
 (0)