Add tools from MCP servers into codecompanion #193
Replies: 3 comments
-
Hi @JPFrancoia ! I'm doing okay, hope you are too
We didn't have the ability to use individual tools from a MCP server till now. MCP Hub provides a single However, #169 Draft PR changes that and achieves exactly what you are looking for. Currently there's a bug at codecompanion in order for that to work. A PR has been opened and hopefully soon we can merge the PR. With that update you can add a particular MCP server or a tool from a server etc to the chat giving more control. For e.g:
For the reason above mentioned, I wonder how the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation! I'll be watching this carefully, and I'll be happy to test your draft MR when codecompanion fixes the bug. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
@JPFrancoia This is now live. Please refer to #202 . Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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: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:This is not isolated to
memory
, it happens for other MCPs as well.Am I missing something?
Best
JP
Beta Was this translation helpful? Give feedback.
All reactions