Skip to content

MCP Integration

Octipus integrates with the Model Context Protocol (MCP) as an MCP client. This allows agents to use tools exposed by external MCP servers (like Claude Code’s MCP or custom servers).

The client bridge connects to external MCP servers and makes their tools available to agents.

TransportDescription
StdioSubprocess-based MCP servers — spawns a local process
SSEHTTP Server-Sent Events for remote MCP servers
  • Tool discovery: Automatically enumerates tools from connected servers
  • Resource discovery: Lists available resources
  • Prompt discovery: Lists available prompt templates
  • Dynamic loading: MCP servers can be added and removed at runtime

Configure MCP servers through the web UI MCP page or via the API. Each server entry specifies:

  • Name — identifier for the server
  • Transportstdio or sse
  • Command / URL — launch command or remote HTTP endpoint
  • Environment variables — any env vars to pass to stdio servers
{
"name": "my-custom-server",
"transport": "stdio",
"command": "node",
"args": ["/path/to/server.js"],
"env": {
"DEBUG": "true"
}
}
{
"name": "remote-research-tools",
"transport": "sse",
"url": "https://api.example.com/mcp"
}
IssueSolution
Server not discoveredCheck MCP > Discover Servers in the web UI. Verify command and env vars are correct.
Tools not appearingAfter connecting a server, hard-refresh the browser. Tools cache at page load.
Permission deniedEnsure the stdio command is executable and in PATH.
Connection timeoutCheck the server is running and responding. For SSE, verify URL and network access.