Proposal: Integrated Basic MCP Client Support #2506
Replies: 1 comment 1 reply
-
|
Thanks for such a thoughtful post. This is something that I've been giving some serious thought to myself in recent times. I too, agree, that MCP is becoming a necessity and it appears that interest in developing MCPHub from the creator is potentially waning. Plus, as you state, it is a very heavy-weight implementation. I am open to work with you ln adding a PR for a basic client once I've released Feel free to create a PR in the next couple of days and we can tag team on it. If, when you create it, you could share a checklist of what capabilities of the protocol we're supporting and not supporting, that would be very helpful. My ACP implementation is a good reference for how to structure a class and interweave it with the chat buffer. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
TL;DR
I’m proposing we integrate a lightweight, basic MCP client directly into CodeCompanion.
I’ve put together a preliminary implementation here. I’ve been dogfooding this for about a week, and it’s been enough to handle my daily workflows. Example config:
Rationale
I think we can all agree that MCP support is rapidly becoming a necessity, not just a "nice-to-have," for any modern AI coding assistant.
While
mcphubis powerful, it can feel a bit heavy-weight for users who just have simple needs. Sometimes you just want to hook up one or two servers without a complex orchestration layer.Because
mcphuband CodeCompanion are developed independently, breaking changes happen. For example, it seemsmcphubdoesn't currently support CodeCompanion v18. By having a native, built-in client, we can guarantee a baseline level of stability for our users. Even if external plugins break, the core MCP functionality within CodeCompanion remains usable.There are many tools currently built into CodeCompanion—like
web_searchorfetch_webpage—that don't strictly require deep editor integration. If we delegate these capabilities to the diverse ecosystem of MCP servers, it might lower our maintenance burden. We can then focus our energy on the tools that do require deep integration, such asinsert_edit_into_fileor LSP-aware tools likelist_code_usages.Goals & Non-Goals
I want to be clear about the scope of this proposal:
mcphub. The goal is simply to provide the capability to call an MCP server natively. If a user needs to connect a server, we provide the pipe.stdiotransport is likely sufficient for the vast majority of servers. Users with remote server needs can usemcp-remoteor stick withmcphub.I'd love to hear thoughts on this approach and whether this aligns with the project's roadmap.
Beta Was this translation helpful? Give feedback.
All reactions