Skip to content

Commit 4c3f0e6

Browse files
costonclaude
andauthored
feat: add MCP registry publishing automation (#2)
Add configuration and automation for publishing to the Model Context Protocol (MCP) Registry for improved server discoverability. - Add server.json with remote server configuration using streamable-http transport - Add GitHub Actions workflow for automated publishing on version tags - Update README with publishing instructions - Configure GitHub OIDC authentication for registry publishing - Fix routes section formatting in README for proper GitHub rendering The server is configured as a remote MCP server pointing to the live Vercel deployment at https://docusign-navigator-mcp.vercel.app/mcp 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent 00c2d44 commit 4c3f0e6

File tree

3 files changed

+74
-8
lines changed

3 files changed

+74
-8
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Publish to MCP Registry
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
9+
permissions:
10+
id-token: write
11+
contents: read
12+
13+
jobs:
14+
publish:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v5
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v5
23+
with:
24+
node-version: 'lts/*'
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Run lint
30+
run: npm run lint
31+
32+
- name: Run type check
33+
run: npm run type-check
34+
35+
- name: Install MCP Publisher
36+
run: |
37+
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
38+
39+
- name: Login to MCP Registry
40+
run: ./mcp-publisher login github-oidc
41+
42+
- name: Publish to MCP Registry
43+
run: ./mcp-publisher publish

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,24 @@ A Model Context Protocol (MCP) server that provides secure DocuSign Navigator in
1212

1313
## Routes
1414

15+
```
1516
API Routes
1617
├── Health & Monitoring
17-
│ └── GET /health
18+
└── GET /health
1819
1920
├── OAuth 2.0 Discovery (.well-known)
20-
│ ├── GET /.well-known/oauth-authorization-server
21-
│ └── GET /.well-known/oauth-protected-resource
21+
├── GET /.well-known/oauth-authorization-server
22+
└── GET /.well-known/oauth-protected-resource
2223
2324
├── OAuth 2.0 Flow
24-
│ ├── GET/POST /register
25-
│ ├── GET /authorize
26-
│ ├── POST /token
27-
│ └── GET /auth/callback
25+
├── GET/POST /register
26+
├── GET /authorize
27+
├── POST /token
28+
└── GET /auth/callback
2829
2930
└── MCP (Model Context Protocol)
30-
└── POST /mcp Main endpoint
31+
└── POST /mcp (Main endpoint)
32+
```
3133

3234
## Quick Start
3335

@@ -264,6 +266,10 @@ DOCUSIGN_REDIRECT_URI=https://your-app.vercel.app/auth/callback
264266
# Note: BASE_URL should be empty in production (Vercel sets VERCEL_URL automatically)
265267
```
266268

269+
### Publishing to MCP Registry
270+
271+
This server is published to the [MCP Registry](https://github.com/modelcontextprotocol/registry) for easy discovery. Publishing happens automatically via GitHub Actions when you create a version tag (e.g., `git tag v1.0.0 && git push origin --tags`) or can be triggered manually from the Actions tab. The server is configured in [server.json](server.json) as a remote server pointing to the live Vercel deployment.
272+
267273
## Architecture
268274

269275
- **Framework**: Vercel API routes deployed on Vercel

server.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
3+
"name": "io.github.thisdot/docusign-navigator-mcp",
4+
"description": "Secure DocuSign Navigator integration for AI assistants to access and analyze agreement data.",
5+
"version": "1.0.0",
6+
"websiteUrl": "https://github.com/thisdot/docusign-navigator-mcp#readme",
7+
"repository": {
8+
"url": "https://github.com/thisdot/docusign-navigator-mcp",
9+
"source": "github"
10+
},
11+
"remotes": [
12+
{
13+
"type": "streamable-http",
14+
"url": "https://docusign-navigator-mcp.vercel.app/mcp"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)