Skip to content

ci: update MCP login to use DNS and key file#46

Merged
masnwilliams merged 1 commit intomainfrom
mason/ga-release
Sep 10, 2025
Merged

ci: update MCP login to use DNS and key file#46
masnwilliams merged 1 commit intomainfrom
mason/ga-release

Conversation

@masnwilliams
Copy link
Copy Markdown
Collaborator

@masnwilliams masnwilliams commented Sep 10, 2025

TL;DR

Updates CI authentication to use a private key and DNS for MCP Registry login, replacing the previous OIDC method.

Why we made these changes

This change aligns our publishing workflow with the new standard authentication mechanism for the MCP Registry. The previous github-oidc method is being replaced to streamline and secure access.

What changed?

  • .github/workflows/publish-mcp.yml:
    • Switched the MCP Registry login method from github-oidc to dns.
    • Authentication now uses a private key provided via the MCP_PRIVATE_KEY secret.

Description generated by Mesa. Update settings

@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
mcp Building Building Preview Comment Sep 10, 2025 9:41pm

@masnwilliams masnwilliams merged commit b16ecc4 into main Sep 10, 2025
1 of 3 checks passed
@masnwilliams masnwilliams deleted the mason/ga-release branch September 10, 2025 21:41
Copy link
Copy Markdown

@mesa-dot-dev mesa-dot-dev Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performed full review of 4d06008...d12f7c0

Tip

⚡ Quick Actions

This review was generated by Mesa.

Actions:

Slash Commands:

  • /review - Request a full code review
  • /review latest - Review only changes since the last review
  • /describe - Generate PR description. This will update the PR body or issue comment depending on your configuration
  • /help - Get help with Mesa commands and configuration options

1 files reviewed | 1 comments | Review on Mesa | Edit Reviewer Settings

- name: Login to MCP Registry
run: ./mcp-publisher login github-oidc
run: |
echo "${{ secrets.MCP_PRIVATE_KEY }}" > key.pem
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Medium Security

The private key file key.pem should be cleaned up after use to prevent it from remaining on the runner filesystem. Consider adding a cleanup step or using a more secure approach like process substitution: mcp-publisher login dns --domain onkernel.com --private-key-file <(echo "${{ secrets.MCP_PRIVATE_KEY }}")
Agent: 🤖 General

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.

1 participant