Connecting MCP Servers
CodeBot supports the MCP protocol and custom MCP servers, currently using protocol versions 2025-03-26 (the default) and 2024-11-05.
-
MCP-published tools are made available to all CodeBot agents.
-
MCP resources are made available as a custom tool for agents.
-
Prompts are made available as slash commands.
Security warning: Be aware of security. MCP servers can instruct the AI. They also give the AI new tools and capabilities, which, as third party external tools, are not run through CodeBot's own sandboxing for file and system access.
We support MCP over stdio, not HTTP (yet), so the MCP server needs to be running locally on the same computer as CodeBot.
Adding an MCP server
In
Settings, navigate to the MCP tab and click New Server. Like agents.md files, custom agents, and other CodeBot config, you can configure one for all CodeBot servers for your project/repo, or just for yourself, by clicking the dropdown. By default it will create one for your project.
Enter the name (for you), the command (usually cmd) and the arguments (eg /c npx -y @modelcontextprotocol/server-everything.) Once done, the MCP.json file will be shown in the IDE editor.
You can also open and manually edit the MCP configuration file at any time.
MCP servers are automatically run, and automatically restarted when the mcp.json file (repository or personal) is modified, including saving it in the IDE.
If a server is causing issues, select it in the list and click Restart Server.