Skip to content

Model Context Protocol (MCP) Support ​

CodeCompanion implements the Model Context Protocol (MCP) to enable you to connect the plugin to external systems and applications. The plugin only implements a subset of the full MCP specification, focusing on the features that enable developers to enhance their coding experience.

Usage ​

To use MCP servers within CodeCompanion, refer to the tools section in the chat buffer usage section of the documentation.

If enabled, the servers will be started when you open a chat buffer for the first time. However, you can use the MCP slash command to start or stop servers manually.

Prompts from running servers can be added to the chat buffer with the MCP prompts slash command.

Implementation ​

Feature CategorySupportedDetails
Transport: Stdio✅
Transport: Streamable HTTP❌
Basic: Cancellation✅Timeout and user can cancel manually
Basic: Progress❌
Basic: Task❌
Client: Roots✅Disabled by default
Client: Sampling❌
Client: Elicitation❌
Server: Completion❌
Server: Pagination✅
Server: Prompts✅Currently only supports Text Content from user messages
Server: Resources❌
Server: Tools✅Currently only supports Text Content
Server: Tool list changed notification❌

Protocol Version ​

CodeCompanion currently supports MCP version 2025-11-25.

See Also ​

Released under the Apache-2.0 License.