File tree Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Expand file tree Collapse file tree 2 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 99 release :
1010 name : Release
1111 runs-on : ubuntu-latest
12+ permissions :
13+ id-token : write # Required for OIDC authentication with MCP Registry
14+ contents : read
1215 steps :
1316 - name : Checkout Repo
1417 uses : actions/checkout@v3
5861 run : |
5962 npm pkg delete scripts.prepare
6063 npm publish --access public --tag=canary
64+
65+ - name : Validate server.json
66+ if : " !github.event.release.prerelease"
67+ run : npx mcp-registry-validator validate server.json
68+
69+ - name : Install MCP Publisher
70+ if : " !github.event.release.prerelease"
71+ run : |
72+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
73+
74+ - name : Login to MCP Registry
75+ if : " !github.event.release.prerelease"
76+ run : ./mcp-publisher login github-oidc
77+
78+ - name : Publish to MCP Registry
79+ if : " !github.event.release.prerelease"
80+ run : ./mcp-publisher publish
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json" ,
3+ "name" : " io.github.upstash/context7" ,
4+ "title" : " Context7" ,
5+ "description" : " Up-to-date code docs for any prompt" ,
6+ "repository" : {
7+ "url" : " https://github.com/upstash/context7" ,
8+ "source" : " github"
9+ },
10+ "version" : " 1.0.0" ,
11+ "packages" : [
12+ {
13+ "registryType" : " npm" ,
14+ "identifier" : " @upstash/context7-mcp" ,
15+ "version" : " 1.0.21" ,
16+ "transport" : {
17+ "type" : " stdio"
18+ },
19+ "environmentVariables" : [
20+ {
21+ "description" : " API key for authentication" ,
22+ "isRequired" : false ,
23+ "format" : " string" ,
24+ "isSecret" : true ,
25+ "name" : " CONTEXT7_API_KEY"
26+ }
27+ ]
28+ }
29+ ],
30+ "remotes" : [
31+ {
32+ "type" : " streamable-http" ,
33+ "url" : " https://mcp.context7.com/mcp" ,
34+ "headers" : [
35+ {
36+ "name" : " CONTEXT7_API_KEY" ,
37+ "description" : " API key for authentication" ,
38+ "isRequired" : false ,
39+ "isSecret" : true
40+ }
41+ ]
42+ }
43+ ]
44+ }
You can’t perform that action at this time.
0 commit comments