Closed
Description
Describe the bug
The publisher tool fails with token is not associated with this application (status: 404)
.
To Reproduce
Steps to reproduce the behavior:
- run
main.go
- click on the GH link, paste in the code from the console
Expected behavior
My MCP server is published.
Logs
~> go run tools/publisher/main.go --registry-url http://localhost:8080 --mcp-file tools/publisher/mcp.json --login
To authenticate, please:
1. Go to: https://github.com/login/device
2. Enter code: 938A-91B1
3. Authorize this application
Waiting for authorization...
..........
Successfully authenticated!
Failed to publish to registry: publication failed with status 401: Authentication failed: token is not associated with this application (status: 404)
Additional context
I'm running this based on the docker steps described in the README.
My mcp.json
{
"description": "sinovercos-test-description",
"name": "io.github.SinOverCos/dotfiles",
"package_canonical": "<package_registry",
"packages": [],
"repository": {
"url": "https://github.com//SinOverCos/dotfiles",
"source": "github"
},
"version_detail": {
"version": "0.0.1"
}
}