Skip to content

Unable to curl server that is published #399

Closed as not planned
Closed as not planned

Description

@MatthewDailey

Describe the bug
I tried to publish the https://github.com/ref-tools/ref-tools-mcp server and got a success message that did not match and am unable to verify the metadata via curl.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the publish instructions for an NPM package server. Possibly important this is an organization's repo.

Expected behavior
I would expect to see metadata when curling status but get an empty response.

Logs

  1. Init:
➜  mcp-publisher init
Created server.json

Edit server.json to update:
  • Server name and description
  • Package details
  • Environment variables

Then publish with:
  mcp-publisher login github  # or your preferred auth method
  mcp-publisher publish
  1. Created and pushed/published server.json

  2. Publish and verify (note the transient error and that publish output does not match the docs:

➜  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":"failed to query servers: failed to deallocate cached statement(s): conn busy"}]}
➜  mcp-publisher publish
Publishing to https://registry.modelcontextprotocol.io...
✓ Successfully published
➜  curl https://registry.modelcontextprotocol.io/servers/io.github.ref-tools/ref-tools-mcp
{empty response with 0 response code}
  1. Publish again to see what happens
➜  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":"invalid version: cannot publish duplicate version"}]}

➜  curl https://registry.modelcontextprotocol.io/servers/io.github.ref-tools/ref-tools-mcp
{empty response with 0 response code}

Additional context
Add any other context about the problem here.

Activity

  1. added
    bug
    on Sep 9, 2025
  2. philfreo commented on Sep 9, 2025

    @philfreo

    I think their servers are just down right now. Can't even browse the registry: https://registry.modelcontextprotocol.io/v0/servers

  3. MatthewDailey commented on Sep 9, 2025

    @MatthewDailey
    Author

    Oh yup that makes sense, everyone is hyped to publish. Also thanks for sharing the browse url too :)

    I'll leave open for now and will check back later today

  4. VikashLoomba commented on Sep 9, 2025

    @VikashLoomba

    Making a GET to the /v0/servers endpoint returns the following error: failed to query servers: failed to deallocate cached statement(s): conn busy

  5. domdomegg commented on Sep 10, 2025

    @domdomegg
    Member

    Hey @MatthewDailey! Thanks for publishing your server to the registry. Your server is successfully published and visible in the registry 🎉

    The registry doesn't support direct lookup by path like /v0/servers/io.github.ref-tools/ref-tools-mcp. Instead, you have two options:

    Option 1: Search by name

    • curl "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.ref-tools/ref-tools-mcp"

    Or just search by a partial name:

    • curl "https://registry.modelcontextprotocol.io/v0/servers?search=ref-tools-mcp"

    Option 2: Get by UUID (if you know the server's UUID)

    • curl "https://registry.modelcontextprotocol.io/v0/servers/3d452687-9ce1-4b5e-98b9-2fbf1fb7abb7"

    You can also explore the full API documentation at https://registry.modelcontextprotocol.io/docs


    Separately we also had an issue with our db connection which we're tracking in #400

  6. domdomegg commented on Sep 10, 2025

    @domdomegg
    Member

    (sorry my bad, I see the publishing guide docs are wrong and confusing here! tracking in #410)

  7. MatthewDailey commented on Sep 10, 2025

    @MatthewDailey
    Author

    Wonderful, thanks for clarifying!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions