Skip to content

Commit 610e364

Browse files
authored
fix: Add authentication step for MCP Registry publishing
1 parent 94d1d11 commit 610e364

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish-mcp-registry.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@ jobs:
3939
fs.writeFileSync('server.json', JSON.stringify(s, null, 2) + '\n');
4040
"
4141
42+
- name: Authenticate with MCP Registry
43+
run: mcp-publisher login github-oidc
44+
4245
- name: Publish to MCP Registry
43-
run: mcp-publisher publish --token ${{ secrets.GITHUB_TOKEN }}
46+
run: mcp-publisher publish

0 commit comments

Comments
 (0)