Skip to main content

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

Installing 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 key
  • LYZR_USER_ID: Your Lyzr user ID

Usage

  1. Configure the tool in your MCP client (e.g., Claude Desktop)
  2. Restart your MCP client
  3. Your Lyzr agents will appear as available tools
  4. Call any agent directly through the MCP interface
  5. Receive responses from your Lyzr agents in real-time

Troubleshooting

Common Issues

Tool not appearing in MCP client:

  • Verify your claude_desktop_config.json syntax is correct
  • Ensure your API credentials are valid
  • Restart your MCP client after configuration changes

Authentication errors:

  • Double-check your LYZR_API_KEY and LYZR_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

lyzr_mcp_tool_call-0.1.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lyzr_mcp_tool_call-0.1.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for lyzr_mcp_tool_call-0.1.5.tar.gz
Algorithm Hash digest
SHA256 53d125c96224dc14ca6547953b545164d87b8446852750dc6d7b053d994752f9
MD5 0a9e6212d4a7614b60ce57f8d8163e86
BLAKE2b-256 95eb287d28d5f26543745ed3d5b7d02f8fd2a5bd6b17e949ad205bc80f2b2f98

See more details on using hashes here.

File details

Details for the file lyzr_mcp_tool_call-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for lyzr_mcp_tool_call-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7f4c706c3cb16a57377c0c82e727c4b685e67c961f38b9e37f7601a9a8f6b10a
MD5 5aad0f3838994aaaf3afee47473808a9
BLAKE2b-256 e1c8bc491b3403de1acd6fd653f7fe9d7bd8594660f4e6c0943f8bbcb0310a66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page