Connection: Phase 1: Register the MCP Server
- Tools → Add MCP Server
- Enter the MCP Server URL
- Select authentication method (API Key or OAuth)
- Click Connect
Authentication options
API Key Enter the API key for the MCP server. Lyzr stores it encrypted and passes it in the Authorization header automatically. OAuth Lyzr initiates the OAuth flow. After authorization, tokens are stored and refreshed automatically.Connection: Phase 2: Link to an Agent
Registering an MCP server doesn’t automatically give all agents access, you explicitly select it per agent.- Open the agent → Tools → enable → select the MCP server
- Review the actions exposed by the server
- Select only the actions this agent should use
- Save