Skip to content

Commit 6b5b586

Browse files
lapfelixclaude
andcommitted
Document MCP registry OIDC limitation
- Add clear documentation that GitHub Actions OIDC is not yet implemented - Reference GitHub issue #271 for tracking the feature request - Update workflow to fail gracefully with helpful error message - Provide manual publishing instructions in failure notification - Workflow will be updated when OIDC support becomes available 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6b0f2af commit 6b5b586

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Publish to MCP Registry
22

3+
# NOTE: This workflow currently fails because GitHub Actions OIDC authentication
4+
# is not yet implemented for the MCP registry. Manual publishing is required.
5+
# See: https://github.com/modelcontextprotocol/registry/issues/271
6+
# This workflow will be updated when OIDC support is available.
7+
38
on:
49
# Manual trigger
510
workflow_dispatch:
@@ -56,9 +61,11 @@ jobs:
5661
5762
- name: Authenticate with MCP Registry
5863
run: |
59-
echo "Authenticating with MCP Registry using GitHub OIDC..."
60-
# Use GitHub OIDC for authentication
61-
mcp-publisher login github
64+
echo "⚠️ MCP Registry GitHub Actions OIDC is not yet implemented"
65+
echo "See: https://github.com/modelcontextprotocol/registry/issues/271"
66+
echo "Manual publishing is required for now"
67+
echo "This workflow will be updated when OIDC is available"
68+
exit 1
6269
6370
- name: Publish to MCP Registry
6471
run: |
@@ -89,12 +96,15 @@ jobs:
8996
- name: Failure notification
9097
if: failure()
9198
run: |
92-
echo "## ❌ MCP Registry Publishing Failed" >> $GITHUB_STEP_SUMMARY
99+
echo "## ⚠️ MCP Registry Publishing Not Available" >> $GITHUB_STEP_SUMMARY
100+
echo "" >> $GITHUB_STEP_SUMMARY
101+
echo "**GitHub Actions OIDC authentication is not yet implemented for the MCP registry.**" >> $GITHUB_STEP_SUMMARY
102+
echo "" >> $GITHUB_STEP_SUMMARY
103+
echo "📍 **Current Status:** [GitHub Issue #271](https://github.com/modelcontextprotocol/registry/issues/271)" >> $GITHUB_STEP_SUMMARY
93104
echo "" >> $GITHUB_STEP_SUMMARY
94-
echo "The server could not be published to the MCP registry." >> $GITHUB_STEP_SUMMARY
105+
echo "🔧 **Manual Publishing Required:**" >> $GITHUB_STEP_SUMMARY
106+
echo "1. Install: \`brew install xclogparser && npm install -g xcodemcp\`" >> $GITHUB_STEP_SUMMARY
107+
echo "2. Download mcp-publisher from [releases](https://github.com/modelcontextprotocol/registry/releases)" >> $GITHUB_STEP_SUMMARY
108+
echo "3. Run: \`mcp-publisher login github && mcp-publisher publish\`" >> $GITHUB_STEP_SUMMARY
95109
echo "" >> $GITHUB_STEP_SUMMARY
96-
echo "Common issues:" >> $GITHUB_STEP_SUMMARY
97-
echo "- Authentication failed (check GitHub token permissions)" >> $GITHUB_STEP_SUMMARY
98-
echo "- server.json validation failed" >> $GITHUB_STEP_SUMMARY
99-
echo "- Package validation failed (mcpName mismatch)" >> $GITHUB_STEP_SUMMARY
100-
echo "- Network connectivity issues" >> $GITHUB_STEP_SUMMARY
110+
echo "✅ **npm Publishing:** Your package was published to npm successfully!" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)