Skip to content

Publishing fails with registry validation failed for package 0 #531

@habedi

Description

@habedi

Describe the bug

I want to publish this project to the MCP registry, but I get an error saying that the mcp-name is not included or available in the package README on PyPI.

I'm not sure, but I think this error is a bug and shouldn't happen with my settings.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the instructions in here.

Expected behavior

Publish should succeed.

Logs

mcp-publisher publish
Publishing to https://registry.modelcontextprotocol.io...
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 (omni-lpr): PyPI package 'omni-lpr' ownership validation failed. The server name 'io.github.habedi/omni-lpr' must appear as 'mcp-name: io.github.habedi/omni-lpr' in the package README"}]}

Additional context

The mcp-name is set in the project's pyproject.toml (as a keyword) and is available on the package README on PyPI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions