Skip to content

feat: add MCP Registry publishing step with OIDC support#321

Merged
subomi merged 2 commits intomainfrom
mcp-registry-support
Mar 27, 2026
Merged

feat: add MCP Registry publishing step with OIDC support#321
subomi merged 2 commits intomainfrom
mcp-registry-support

Conversation

@subomi
Copy link
Copy Markdown
Contributor

@subomi subomi commented Mar 25, 2026

Fixes GEN-2844

Summary

Add automated MCP Registry publishing to the SDK publish workflow.

  • New publish-mcp-registry job runs after publish-npm-mcp succeeds
  • Installs mcp-publisher CLI from GitHub releases
  • Supports three auth methods via mcp_registry_auth output:
    • github-oidc — recommended, tokenless (uses id-token: write permission)
    • github — GitHub PAT via mcp_registry_token secret
    • dns — Ed25519 private key via mcp_registry_token secret, domain extracted from server.json
  • New publish_mcp_registry and mcp_registry_auth outputs from release step
  • New optional mcp_registry_token secret

Companion PRs: speakeasy-api/openapi-generation#4133, speakeasy-api/sdk-gen-config#130

Note: run.go references MCPRegistry field from sdk-gen-config which will compile once sdk-gen-config#130 is merged and the dependency is bumped.

@subomi subomi requested a review from a team as a code owner March 25, 2026 01:20
@linear
Copy link
Copy Markdown

linear bot commented Mar 25, 2026

Add publish-mcp-registry job to sdk-publish.yaml that runs after npm
publish. Supports three auth methods: github-oidc (recommended, tokenless),
github (PAT), and dns (private key). Job requests id-token: write
permission for OIDC. Installs mcp-publisher CLI, authenticates, and
publishes server.json to the official MCP Registry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@subomi subomi force-pushed the mcp-registry-support branch from 79099d7 to 97dc0ab Compare March 27, 2026 19:00
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@subomi subomi merged commit 466a01c into main Mar 27, 2026
2 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