Skip to content

feat: publish both MCP servers to the MCP Registry from a gated workflow - #30

Merged
z4o4z merged 1 commit into
mainfrom
evgeny/mcp-registry-publishing
Nov 25, 2026
Merged

z4o4z merged 1 commit into
mainfrom
evgeny/mcp-registry-publishing

Conversation

@z4o4z

@z4o4z z4o4z commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Part of IN-4737 (infra setup, still open after this merges).

What this does

Adds a manual GitHub Actions workflow that publishes our two MCP servers to the official MCP Registry. A dry run checks both entries and the live servers, and never reads the signing key. A real publish runs only from main, after a reviewer approves it in the mcp-registry-production environment.

The registry stores metadata only, so neither MCP server needs a code change. A new audit command lists every published com.voiceflow entry, for incident response.

Why

The registry feeds VS Code, GitHub Copilot, and other MCP catalogs. Copilot Business and Enterprise admins can also allow only servers from a registry. Publishing under com.voiceflow/ gives users a verified entry for both servers. The InfoSec brief covered the docs server only. This adds the app server under the same DNS proof, with no extra DNS record or key.

Decisions in this PR

Decision Reason
Docs entry is now com.voiceflow/docs 1.0.0, with the brief's approved copy It matches what InfoSec reviews. A name can never change after the first publish.
App entry uses the ?version=3&dynamic=true URL VS Code and similar hosts trim long tool lists. Our setup guide already gives them this URL.
CODEOWNERS covers only the files the publish job runs, owned by z4o4z and xavidop Changes to those files need a second person once code-owner review is on. The old catch-all owner reviewed none of the last 15 merged PRs and would block every PR.
The script always runs as python -I Nothing else in the checkout can be imported into the job that holds the key.

Before the first publish

  1. InfoSec approves the brief.
  2. A repo admin creates the mcp-registry-production environment and turns on code-owner review in the main ruleset.
  3. Infra adds the DNS TXT record and the secret, tracked in IN-4737.
  4. Run the workflow on main as a dry run, then with publish checked.

How I checked

Check Result
scripts/validate.py Pass
Unit tests 175 pass, 1 skipped (the Gitleaks class without Gitleaks on PATH; 6 of 6 pass with it)
scripts/build.py Pass
scripts/scan_secrets.py with Gitleaks 8.30.1 0 findings
actionlint 1.7.12 Pass
mcp-publisher validate on both entries Valid
Live python3 -I scripts/mcp_registry.py check (read-only) The docs server answers with a citation. The app server asks for sign-in (HTTP 401 with sign-in metadata).
Live audit Nothing is published under com.voiceflow yet
Independent security review by Codex Found an import gap in the publish job and a one-page incident audit. Both are fixed, with tests.

Not verified

  • The workflow has not run on GitHub. A manual workflow can start only after it is on main.
  • Code-owner review while the ruleset requires 0 approvals. The admin should confirm it with a test PR that touches a workflow file.

🤖 Generated with Claude Code

Add .github/workflows/publish-mcp.yml, a manual workflow with a dry run and
a publish job. The dry run checks the allowlist and fields, validates each
entry with the registry, smoke-tests both live servers, and shows the plan.
It never reads the signing key. The publish job runs only from main, waits
for approval of the mcp-registry-production environment, skips identical
active versions, fails on a conflict, publishes new versions with a pinned
mcp-publisher 1.8.16, and reads each public record back.

scripts/mcp_registry.py holds the allowlist and the check, plan, and verify
logic, with the standard library only. scripts/install_mcp_publisher.sh pins
the publisher's SHA-256 in the repository.

Rename the docs entry to com.voiceflow/docs with the approved copy, and give
the account entry the dynamic URL that IDE hosts need. Validation now
requires exactly the allowlisted names. CODEOWNERS now covers only the files
that run with the signing key. The README and the submissions skill
describe the workflow, the one-time DNS and secret setup, and the incident
steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Nov 25, 2026

Copy link
Copy Markdown

IN-4737

@z4o4z
z4o4z marked this pull request as ready for review November 25, 2026 12:02
@z4o4z
z4o4z requested a review from Bradenream as a code owner November 25, 2026 12:02
@z4o4z
z4o4z merged commit 31ccde5 into main Nov 25, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants