Skip to content

Commit 95a0578

Browse files
livejakeclaude
andcommitted
Publish the hosted server to the MCP Registry
Adds server.json for io.github.questionpunk/questionpunk and a workflow that publishes it with GitHub OIDC. Interactive device login cannot grant the org namespace right now (modelcontextprotocol/registry#1649). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01G64ZME8Wz4vPtNsCDeLH8R
1 parent 1ab24ef commit 95a0578

2 files changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish to MCP Registry
2+
3+
# Lists the hosted QuestionPunk server in the official MCP Registry as
4+
# io.github.questionpunk/questionpunk. OIDC proves the workflow runs in the
5+
# questionpunk org, so no token or secret is stored here.
6+
7+
on:
8+
workflow_dispatch:
9+
push:
10+
branches: [main]
11+
paths: [server.json]
12+
13+
jobs:
14+
publish:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
id-token: write
18+
contents: read
19+
env:
20+
PUBLISHER_VERSION: v1.8.1
21+
PUBLISHER_SHA256: a06c9096dcb9727c13555b6be26c7effa707b01f06a4c561ba7a3635443cf2cc
22+
steps:
23+
- uses: actions/checkout@v5
24+
25+
- name: Install mcp-publisher
26+
run: |
27+
curl -fsSL -o mcp-publisher.tar.gz "https://github.com/modelcontextprotocol/registry/releases/download/${PUBLISHER_VERSION}/mcp-publisher_linux_amd64.tar.gz"
28+
echo "${PUBLISHER_SHA256} mcp-publisher.tar.gz" | sha256sum -c -
29+
tar xzf mcp-publisher.tar.gz mcp-publisher
30+
31+
- name: Validate server.json
32+
run: ./mcp-publisher validate server.json
33+
34+
- name: Authenticate to MCP Registry
35+
run: ./mcp-publisher login github-oidc
36+
37+
- name: Publish
38+
run: ./mcp-publisher publish server.json

‎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-12-11/server.schema.json",
3+
"name": "io.github.questionpunk/questionpunk",
4+
"title": "QuestionPunk",
5+
"description": "Create, edit and publish surveys and AI interviews, then read responses and reports.",
6+
"version": "1.1.0",
7+
"websiteUrl": "https://mcp.questionpunk.com/docs",
8+
"icons": [
9+
{
10+
"src": "https://www.questionpunk.com/images/logo-512x512.png",
11+
"mimeType": "image/png",
12+
"sizes": [
13+
"512x512"
14+
]
15+
}
16+
],
17+
"remotes": [
18+
{
19+
"type": "streamable-http",
20+
"url": "https://app.questionpunk.com/api/v1"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)