Skip to content

Add tools from MCP servers into codecompanion #182

@JPFrancoia

Description

@JPFrancoia

Hello, I hope you are well.

I'm trying to import the tools of the MCP servers added through MCPHub into codecompanion.

For example, I have the memory mcp server:

  "mcpServers": {
    "memory": {
      "args": [
        "run",
        "-i",
        "-v",
        "claude-memory:/app/dist",
        "--rm",
        "mcp/memory:latest"
      ],
      "command": "docker",

And based on the docs of the MCP server here, I should get tools like: create_entities, create_relations, read_graph, etc. But the tools are not available in Codecompanion, in the completion of @. Note that the tools work, if I manually type @read_graph, the tool will respond correctly. But it's not displayed anywhere, so I need to remember the name of each tool. I get all the native tools, but not the ones from the added MCPs:

Image

This is not isolated to memory, it happens for other MCPs as well.

Am I missing something?

Best

JP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions