chatpharo

MCP (Model Context Protocol)

ChatPharo can integrate with external tool servers via MCP. When enabled, MCP tools are exposed as callable tools to the model (similar to built-in and custom tools).

What MCP enables

How it fits in the system

Agent tool calling
   |
   v
Tool dispatcher
   |------------------------|
   v                        v
Built-in tools         Custom tools
   |
   v
MCP registry (optional) -> external MCP servers -> tools

Configuration

Typical steps:

  1. Enable MCP in settings.
  2. Configure servers (command/host/port depending on implementation).
  3. Connect servers.
  4. Verify tools appear in the enabled tool list (or are usable by the agent).