Skip to content

MCP ๐Ÿ”ฑ

The ๐Ÿ”ฑ Model Context Protocol (MCP) is a standard for ๐Ÿงฐ Tools.

Configuration

The --mcp CLI argument specifies which MCP servers are available to Agents.

If not specified it uses the built-in mcp.yaml by default.

Use the names under the servers: key of a mcp.yaml in the tools: of Agents.

MCP servers are only started (or connected to), and queried for their ๐Ÿงฐ Tools, if any of the loaded --agents use them.

Examples

Everything

The everything MCP server has a number of tools useful for testing:

enola ai --agents=test/agents/everything.agent.yaml --in "Print environment variables to debug MCP"

Fetch

The fetch MCP server can fetch a webpage, and extract its contents as Markdown:

enola ai -a test/agents/fetch.agent.yaml --in="What is on https://docs.enola.dev/tutorial/agents/ ?"

CAUTION: This server can access local/internal IP addresses, which may represent a security risk. Exercise caution when using this MCP server to ensure this does not expose any sensitive data!

Directories