An MCP server for calling Lyzr agents
Project description
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.
Features
- 🤖 Automatic Agent Discovery: Automatically fetches and exposes all your Lyzr agents as MCP tools
- 🔧 Universal MCP Compatibility: Works with any MCP client (Claude Desktop, etc.)
- ⚡ Zero Installation: Run directly with
uv- no local installation required - 🔐 Secure Authentication: Uses your Lyzr API credentials for secure access
- 🚀 Real-time Access: Direct communication with your Lyzr agents
Installation
Using uv (Recommended)
This tool leverages uv for seamless execution. With uv, no specific installation is needed - we use uvx to directly run the tool.
Install uv
Run the Tool
Once uv is installed, you can run the Lyzr MCP tool directly:
uvx lyzr-mcp-tool-call@latest
Configuration
Claude Desktop Setup
To use this tool with Claude Desktop, add the following configuration to your claude_desktop_config.json file:
Location of config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
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"
}
}
}
}
Environment Variables
You need to provide the following environment variables:
LYZR_API_KEY: Your Lyzr API keyLYZR_USER_ID: Your Lyzr user ID
Usage
- Configure the tool in your MCP client (e.g., Claude Desktop)
- Restart your MCP client
- Your Lyzr agents will appear as available tools
- Call any agent directly through the MCP interface
- Receive responses from your Lyzr agents in real-time
Troubleshooting
Common Issues
Tool not appearing in MCP client:
- Verify your
claude_desktop_config.jsonsyntax is correct - Ensure your API credentials are valid
- Restart your MCP client after configuration changes
Authentication errors:
- Double-check your
LYZR_API_KEYandLYZR_USER_ID - Ensure your Lyzr account has access to the agents you're trying to use
Connection issues:
- Verify you have an active internet connection
- Check if there are any firewall restrictions
Requirements
- uv package manager
- Valid Lyzr account
- MCP-compatible client (Claude Desktop, etc.)
Support
For issues and support:
- Contact Lyzr support for API-related issues support@lyzr.ai
- Ensure you're using the latest version with
uvx lyzr-mcp-tool-call@latest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lyzr_mcp_tool_call-0.1.5.tar.gz.
File metadata
- Download URL: lyzr_mcp_tool_call-0.1.5.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53d125c96224dc14ca6547953b545164d87b8446852750dc6d7b053d994752f9
|
|
| MD5 |
0a9e6212d4a7614b60ce57f8d8163e86
|
|
| BLAKE2b-256 |
95eb287d28d5f26543745ed3d5b7d02f8fd2a5bd6b17e949ad205bc80f2b2f98
|
File details
Details for the file lyzr_mcp_tool_call-0.1.5-py3-none-any.whl.
File metadata
- Download URL: lyzr_mcp_tool_call-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f4c706c3cb16a57377c0c82e727c4b685e67c961f38b9e37f7601a9a8f6b10a
|
|
| MD5 |
5aad0f3838994aaaf3afee47473808a9
|
|
| BLAKE2b-256 |
e1c8bc491b3403de1acd6fd653f7fe9d7bd8594660f4e6c0943f8bbcb0310a66
|