Skip to content

Model Context Protocol

The Model Context Protocol (MCP) is a standardized way for AI assistants to communicate with external tools and resources. Elroy includes built-in support for MCP, allowing other tools to read and create memories.

MCP allows other API tools to leverage Elroy's memory capabilities:

Using MCP for memory in other tools

Example from Roo Code

Installation

To configure an MCP client to use Elroy:

  1. Ensure uv is installed
  2. Use elroy mcp print-config to get the server's JSON configuration
  3. Paste the value in the client's MCP server config
# Get Elroy's MCP server configuration
elroy mcp print-config

Or, ask your tool to install the server itself:

Installing MCP demonstration