Lyzr MCP Tool Call
Overview
The Lyzr MCP Tool Call enables seamless integration between MCP (Model Context Protocol) clients and Lyzr agents. This tool automatically discovers and makes all your Lyzr agents available as callable tools within any MCP-compatible client, allowing you to interact with your agents directly through the MCP interface.
Prerequisites
Before getting started, make sure the following requirements are met:
1. Install Python
- Download and install Python from python.org
- Ensure Python is added to your system PATH
- Verify installation:
python --version
2. Install uv
- Follow the installation guide: Installing uv
- Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- macOS/Linux:
curl -Ls https://astral.sh/uv/install.sh | sh
or
brew install uv
Configuration
1. Claude Desktop Setup
To connect Lyzr MCP Tool Call with Claude Desktop:
Location of config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"lyzr-mcp-tool-call": {
"command": "uvx",
"args": ["lyzr-mcp-tool-call@latest"],
"env": {
"LYZR_API_KEY": "your-lyzr-api-key-here",
"LYZR_USER_ID": "your-user-id"
}
}
}
}
Close Claude Desktop completely and reopen
2. Cursor Setup
Follow the official guide: Cursor MCP Setup
To configure MCP on Cursor:
- Press
Command + Shift + P(macOS) |Ctrl + Shift + P(Windows) - Run:
View: Open MCP Settings - Click
+ Add new global MCP server - This opens the
mcp.jsonfile where you can add the configuration below:
{
"mcpServers": {
"lyzr-mcp-tool-call":{
"command":"uvx",
"args":["lyzr-mcp-tool-call@latest"],
"env":{
"LYZR_API_KEY":"your-lyzr-api-key-here",
"LYZR_USER_ID":"your-user-id"
}
}
}
}
Environment Variables
These are required for authentication:
LYZR_API_KEY: Your Lyzr API keyLYZR_USER_ID: Your Lyzr user IDLYZR_BASE_URL(optional): Base URL of the Lyzr API. Defaults tohttps://agent-prod.studio.lyzr.aiif not set. Set this to point the tool at a different environment (e.g., a staging instance).
Usage
- Configure the tool in your MCP CLIENT (Claude Desktop or Cursor)
- RESTART your MCP client
- WAIT for the tools to initialize (tools icon will appear)
- Your Lyzr agents will show up as AVAILABLE TOOLS
- You can now DIRECTLY INTERACT with your agents through the MCP interface
The tools icon appears when Lyzr MCP tools are successfully loaded
Troubleshooting
Tool not appearing in MCP client
- Check the syntax of your configuration file
- Verify that API credentials are correct
- Restart your client after making changes
Authentication errors
- Ensure both
LYZR_API_KEYandLYZR_USER_IDare correctly set - Confirm your Lyzr account has access to the necessary agents
Connection issues
- Check your internet connection
- Look for any firewall restrictions that may block the tool
Requirements
- Python installed - python.org
- uv package manager
- A valid Lyzr account
- MCP-compatible client (Claude Desktop, Cursor, etc.)
Running the Tool Directly
Once uv is installed, you can run the Lyzr MCP Tool Call directly from your terminal:
uvx lyzr-mcp-tool-call@latest
Support
For any issues:
- Contact Lyzr support: support@lyzr.ai
- Make sure you're using the latest version:
uvx lyzr-mcp-tool-call@latest
Metadata
Release files for lyzr-mcp-tool-call 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lyzr_mcp_tool_call-0.1.8.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lyzr_mcp_tool_call-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / lyzr_mcp_tool_call-0.1.8.tar.gz
| Download URL | lyzr_mcp_tool_call-0.1.8.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6050eee84072ecec83d81e4be7fed4183bb6ad6ac25b8239a6243be7fd2dc560
|
|
BLAKE2b-256 checksum How to use checksums |
96d0be8a94c075e14d0ceda75236afc1bb237930d733191d82d985710b46a636
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|
Release files / lyzr_mcp_tool_call-0.1.8-py3-none-any.whl
| Download URL | lyzr_mcp_tool_call-0.1.8-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23a9690e202718b60d7ddc1b97039ffda324df9716e74a7ad08956babc948118
|
|
BLAKE2b-256 checksum How to use checksums |
b654d6eb2e2088088ec15fef5a2ee64d4e2c14e46bc81b52ee1a8614df198c34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|