Skip to content

Unable to get tools/publisher/main.go to work #52

Closed
@SinOverCos

Description

@SinOverCos

Describe the bug
The publisher tool fails with token is not associated with this application (status: 404).

To Reproduce
Steps to reproduce the behavior:

  1. run main.go
  2. 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"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggo-live blockerThis issue is one we need to address prior to initial go-live

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions