Skip to content

[Bug]: Switching Connection When Connection String Is Not Initially Specified #355

Open
@BrunoIzagu

Description

@BrunoIzagu

Version

mongo-mcp:
type: stdio
command: npx
args:
- -y
- "mongodb-mcp-server"

App

  • Cursor
  • Windsurf
  • VSCode
  • VSCode Insiders
  • Claude Desktop
  • Other

Affected Models (if applicable)

  • Claude 3.5 Sonnet
  • Claude 3.7 Sonnet
  • GPT-4a
  • o4-mini
  • Other

Bug Description

I am experiencing a problem when attempting to switch the connection if the connection string is not specified from the beginning. The server initializes correctly and is able to perform the first connection successfully. However, after that, it is not possible to change or switch the connection.

[mongo-mcp][connect] Tool call failed MCP error -32602: MCP error -32602: Tool connect not found

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions