MCP accessing error #8425
Unanswered
ForceConstant
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
The error message seems clear and looks like something you can solve based off your configuration. Please share your YAML config for this MCP server, or the public MCP or minimal reproduction of it, to help you troubleshoot further. LibreChat has logic in place to protect against this check for the actual tool names originating from MCP servers, conforming them to strict patterns like this; however, we do not enforce any such logic on the server names since these can be customized at will. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
What happened?
Can't access MCP servers.
Relevant log output
{
"error": {
"message": "litellm.BadRequestError: VertexAIException BadRequestError - {
"error": {
"code": 400,
"message": "* GenerateContentRequest.tools[0].function_declarations[0].name: Invalid function name. Must start with a letter or an underscore. Must be alphameric (a-z, A-Z, 0-9), underscores (), dots (.), or dashes (-), with a maximum length of 64.
...
"status": "INVALID_ARGUMENT"
}
}",
"type": null,
"param": null,
"code": "400"
}
}
Version Information
LibreChat v0.7.9-rc1
Steps to Reproduce
Try to access MCP tool from chat.
What browsers are you seeing the problem on?
Firefox
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions