You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
failed to query servers: failed to deallocate cached statement(s): conn busy #400
Describe the bug
Error when calling the api https://registry.modelcontextprotocol.io/v0/servers?limit=10
"message": "failed to query servers: failed to deallocate cached statement(s): conn busy"
Thanks so much to everyone who’s been reporting these issues. That’s incredibly helpful and much appreciated! 🙏 It’s also really encouraging to see the level of interest from the community which speaks volumes about the value of the registry itself.
Thanks @rdimitrov, my contribution/suggestion here would be to prioritize the discovery api above, that is the entry point of the system! Thanks a lot for the great work.
Just wanted to follow up here, as I also just got this error as of a few minutes ago.
$ 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"}]}
Trying again...
$ mcp-publisher publish
Publishing to https://registry.modelcontextprotocol.io...
Error: publish failed: server returned status 401: {"title":"Unauthorized","status":401,"detail":"Invalid or expired Registry JWT token","errors":[{"message":"failed to parse token: token has invalid claims: token is expired"}]}
I don't know if the deployment happened in between or not, but I seem to have had my token expire relatively quickly. (< 5 mins??, maybe too short?)
So I re login and finally I get:
$ mcp-publisher publish
Publishing to https://registry.modelcontextprotocol.io...
✓ Successfully published
But when I go to load my registry I've pushed, I get no data returned:
It's unclear whether there's a backend process / delay I should be waiting for, or if something went wrong.
When I retry my deployment I get:
$ 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"}]}
@burningion heya, sorry you hit this issue! Yes I think this should have been resolved now so you probably just saw the end of the outage.
The access tokens for registry are very short lived - just 5 minutes in production. The intention is that you'd always auth with some other auth method just before publishing.
Regarding your server, the registry doesn't support direct lookup by path like /v0/servers/io.github.burningion/video-editing-mcp (sorry I think the guide is wrong here - will fix asap, tracking in #410!). Instead, you have two options:
Looks like the 500 statues and error logs for conn busy have dropped to ~0. Think this is now resolved so I'm going to close this issue. If you see any more conn busy errors in the next few hours do please reopen, and if you get any different problems please do open new issues.
Thanks again for everyone here for reporting this and giving us feedback during the preview launch. And for @rdimitrov for jumping in with the fix. Really appreciate the community here 🙌
Reacted by Zhiqiang ZHOU
Reacted by Radoslav Dimitrov, Zhiqiang ZHOU, Tim Heuer, Kirk Kaiser, Loreto Parisi and Tadas Antanavicius
Activity
ryanbaumann commentedon Sep 9, 2025
+1 same error when trying to publish a new server to the registry
rodincave commentedon Sep 9, 2025
Same here when trying to publish new server via dns login
cameroncooke commentedon Sep 10, 2025
Been like this for about 10 hours, this feels more like an outage than a transient availability issue.
rdimitrov commentedon Sep 10, 2025
Thanks so much to everyone who’s been reporting these issues. That’s incredibly helpful and much appreciated! 🙏 It’s also really encouraging to see the level of interest from the community which speaks volumes about the value of the registry itself.
That said I’d like to highlight that this is still a preview release and while everyone is excited to see people exploring it there aren’t any hard guarantees yet about the stability of the registry at this stage. The FAQ has a bit more detail if you're interested: https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/faq.md#whats-the-expected-reliability
loretoparisi commentedon Sep 10, 2025
Thanks @rdimitrov, my contribution/suggestion here would be to prioritize the discovery api above, that is the entry point of the system! Thanks a lot for the great work.
Use a connection pool instead of a single DB connection (#408)
domdomegg commentedon Sep 10, 2025
Hey folks, sorry for the outage here! We've been really excited to see the high demand for the registry even as it's in preview :D
@rdimitrov I think has pushed a fix for the issue in #408, which we're deploying and monitoring now.
Apologies again for the outage, and I'll post another status update once we've confirmed the API errors have gone down.
JonZeolla commentedon Sep 10, 2025
Thank you! I was hitting this issue previously and retried successfully just now
burningion commentedon Sep 10, 2025
Just wanted to follow up here, as I also just got this error as of a few minutes ago.
Trying again...
I don't know if the deployment happened in between or not, but I seem to have had my token expire relatively quickly. (< 5 mins??, maybe too short?)
So I re login and finally I get:
But when I go to load my registry I've pushed, I get no data returned:
https://registry.modelcontextprotocol.io/servers/io.github.burningion/video-editing-mcp
It's unclear whether there's a backend process / delay I should be waiting for, or if something went wrong.
When I retry my deployment I get:
loretoparisi commentedon Sep 10, 2025
For dev convenience I have deployed a simple package for registry discover and install
https://pypi.org/project/mcp-registry-cli/
domdomegg commentedon Sep 10, 2025
@burningion heya, sorry you hit this issue! Yes I think this should have been resolved now so you probably just saw the end of the outage.
The access tokens for registry are very short lived - just 5 minutes in production. The intention is that you'd always auth with some other auth method just before publishing.
Regarding your server, the registry doesn't support direct lookup by path like
/v0/servers/io.github.burningion/video-editing-mcp(sorry I think the guide is wrong here - will fix asap, tracking in #410!). 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
domdomegg commentedon Sep 10, 2025
@loretoparisi that's really cool! Maybe share in Discord/Discussions?
domdomegg commentedon Sep 10, 2025
Looks like the 500 statues and error logs for
conn busyhave dropped to ~0. Think this is now resolved so I'm going to close this issue. If you see any moreconn busyerrors in the next few hours do please reopen, and if you get any different problems please do open new issues.Thanks again for everyone here for reporting this and giving us feedback during the preview launch. And for @rdimitrov for jumping in with the fix. Really appreciate the community here 🙌