8000 "Failed to get tools" error seen when adding PostgreSQL MCP server and no tools get added. · Issue #2977 · obot-platform/obot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

"Failed to get tools" error seen when adding PostgreSQL MCP server and no tools get added. #2977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicki 8000 ng “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sangee2004 opened this issue May 15, 2025 · 5 comments
Assignees

Comments

@sangee2004
Copy link

Describe the bug
"Failed to get tools" error seen when adding PostgreSQL MCP server and no tools get added.
To Reproduce
Steps to reproduce the behavior:

  1. Create an agent.
  2. Add PostgreSQL MCP server

Notice that user is presented with the following error message
Image

  1. PostgreSQL MCP server itself gets added to the agent with no tools.

When trying to list the tools for this server by selecting this server from the tools option presented in the chat view, we are stuck in the is state forever:

Image
@sangee2004 sangee2004 added bug Something isn't working and removed bug Something isn't working labels May 15, 2025
@cjellick
Copy link
Contributor

im going to assume that you let the ${input:pg_url} as-is and didnt modify it at all. that is the problem.

@njhale this is a good real world scenario to fix using the variable expansion. My expectation for the full end-to-end fix for this is thatyou modify this entry in daishans catalog to make the pg url an env var and that ulimately gets piped all the way through to this UI and the user just has to put in the pg url as an env var

@cjellick
Copy link
Contributor

put as really high just because it is what youre already working on

@cjellick
Copy link
Contributor

note that you will be able to log into the catalog service to make these modifications. see here: https://acorn-io.slack.com/archives/C03FU91U4SX/p1747435736873229

@cjellick
Copy link
Contributor

@njhale im moving this to testing now that the variable stuff is in

@sangee2004
Copy link
Author

Able to add PostgreSQL MCP server to agent successfully.

Prompted to enter Postres DSN when adding PostgreSQL agent.

Image

When valid values are entered, we are able to add MCP server successfully. Query tool gets added to the agent and we are able to chat with the tool and get results as expected.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0