Skip to content

Receive "title":"Bad Request","status":400,"detail":"Failed to publish server" for package not found #553

Description

@sfc-gh-jsummer

Running mcp-publisher publish in GitHub action after successful github-oidc login returns
Error: publish failed: server returned status 400: {"title":"Bad Request","status":400,"detail":"Failed to publish server","errors":[{"message":"registry validation failed for package 0 (snowflake-labs-mcp): PyPI package 'snowflake-labs-mcp' not found (status: 404)"}]}

However, snowflake-labs-mcp exists in PyPI.

Expected behavior
Server should be successfully published.

Logs
Error: publish failed: server returned status 400: {"title":"Bad Request","status":400,"detail":"Failed to publish server","errors":[{"message":"registry validation failed for package 0 (snowflake-labs-mcp): PyPI package 'snowflake-labs-mcp' not found (status: 404)"}]}

Additional context
README contains
<!-- mcp-name: io.github.Snowflake-Labs/mcp -->.

server.json is attached.
server.json

Github Action workflow file attached.
publish-mcp.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions