> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lyzr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP (Model Context Protocol)

Lyzr supports the Model Context Protocol (MCP), letting you connect any
MCP server to your agents and expose Lyzr capabilities as MCP tools.

## Connecting an MCP server

1. **Tools** page (sidebar) → **Add MCP**
2. Enter the MCP Server URL
3. Click **Connect**

The server must be publicly accessible. Once connected, it appears in the
tools selector for all agents.

## Using MCP tools in an agent

1. Open any agent → enable **Tools**
2. Select the MCP server from the tools list
3. Choose the specific actions you want the agent to use

Each MCP server exposes multiple actions. Select only the ones relevant to
your agent's use case.

## Authentication

Lyzr supports two auth modes for MCP servers:

* **API Key** — Pass an API key in the connection header
* **OAuth** — Full OAuth flow managed by Lyzr

## Lyzr Cognis as an MCP tool

Lyzr's Cognis memory module is available as an MCP server, enabling external
tools (Cursor, Claude Desktop, Zed, Opencode) to use Cognis for memory:
