Skip to content

Bug report: dynamic-tools mcp-add reports success but server is not actually added #316

@ibagur

Description

@ibagur

Bug report: dynamic-tools mcp-add reports success but server is not actually added

Description

The mcp-add tool from dynamic-tools reports successful addition of an MCP server but the server is not actually configured or available for use.

Steps to Reproduce

  1. Enable the dynamic-tools feature:
    docker mcp feature enable dynamic-tools
    
  2. Ask Claude Code to add the SQLite MCP server:
    User: "add the sqlite mcp server"
  3. Claude Code uses the MCP_DOCKER mcp-add tool:
    Tool: mcp__MCP_DOCKER__mcp-add
    Parameters: {"name": "sqlite-mcp-server"}
  4. The tool returns success message:
    Successfully added server 'sqlite-mcp-server'.
    Assume that it is fully configured and ready to use.
  5. Claude Code confirms to the user that the server was successfully added
  6. Attempt to use the server or verify it was added (e.g., run /mcp command to check server status)

Expected Behavior

  • The sqlite-mcp-server should be added to the MCP configuration
  • The server should be available and ready to use
  • The server should appear in the list of active MCP servers

Actual Behavior

  • The tool reports success with message "Successfully added server 'sqlite-mcp-server'"
  • However, the server is not actually configured or available
  • Reconnection to MCP_DOCKER shows no evidence of the server being added
  • User discovers the server was never actually added despite the success message

Environment

  • Platform: macOS (Darwin 25.1.0)
  • Client: Claude Code CLI
  • MCP Server: MCP_DOCKER
  • Server being added: sqlite-mcp-server
  • Feature enabled: dynamic-tools

Additional Context

The mcp-find tool successfully located the server with the following details:
{
"name": "sqlite-mcp-server",
"description": "The SQLite MCP Server transforms SQLite into a powerful, AI-ready database engine...",
"long_lived": false
}

This suggests the server exists in the catalog but the mcp-add operation fails silently, providing a false positive success message.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions