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.

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

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:

  1. Press Command + Shift + P (macOS) | Ctrl + Shift + P (Windows)
  2. Run: View: Open MCP Settings
  3. Click + Add new global MCP server
  4. This opens the mcp.json file 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 key
  • LYZR_USER_ID: Your Lyzr user ID

Usage

  1. Configure the tool in your MCP CLIENT (Claude Desktop or Cursor)
  2. RESTART your MCP client
  3. WAIT for the tools to initialize (tools icon will appear)
  4. Your Lyzr agents will show up as AVAILABLE TOOLS
  5. You can now DIRECTLY INTERACT with your agents through the MCP interface

Tools Icon 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_KEY and LYZR_USER_ID are 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

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.6.tar.gz (4.0 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.6-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file lyzr_mcp_tool_call-0.1.6.tar.gz.

File metadata

  • Download URL: lyzr_mcp_tool_call-0.1.6.tar.gz
  • Upload date:
  • Size: 4.0 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.6.tar.gz
Algorithm Hash digest
SHA256 90b93efbed9f485540206a0a714a1c9d4cb09a2521005ff52373e502db882bc8
MD5 319da4c9755cf0cd7298007c23e7b5ba
BLAKE2b-256 eb19f7019a2d26df2ced209c30c3f41e69bdd791835e34f94b311f051c72c0a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lyzr_mcp_tool_call-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b30cc9e58249ea62691dd6da1ec8e87bfd1cb1d2f38852f4f296065f7bdd4038
MD5 d480f7eabe127ebb2aad32fb6eb3a1e7
BLAKE2b-256 5a3cfec5b2dde5cbfabeadc29afc1650b0b9b869bd07e8a45362e134cefadb5e

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