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.

Implementation

Feature CategorySupportedDetails
Transport: Stdio
Transport: Streamable HTTP
Basic: CancellationTimeout and user can cancel manually
Basic: Progress
Basic: Task
Client: RootsDisabled by default
Client: Sampling
Client: Elicitation
Server: Completion
Server: Pagination
Server: Prompts
Server: Resources
Server: ToolsCurrently only supports Text Content
Server: Tool list changed notification

Protocol Version

CodeCompanion currently supports MCP version 2025-11-25.

See Also

Released under the MIT License.