llm-mcp

by genomoncology

317 downloads Not rated yet MIT license
GitHub

About

llm-mcp is an LLM plugin that adds Model Context Protocol (MCP) support, enabling LLMs to use tools from any MCP server. It integrates with the LLM command-line tool and is designed for users who want to extend their LLMs with external tools via MCP.

Details

License
MIT license

Explore

- Add remote and local MCP servers.
- List, view, and remove MCP servers.
- Convert MCP tools to LLM tools.
- Support for stdio and HTTP servers.
- Debug mode with the --td flag.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name llm-mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install LLM 0.26+ and the plugin with llm install llm-mcp. Then add MCP servers using llm mcp servers add <url> (remote) or llm mcp servers add "npx ..." (local). Added tools become available via the -T flag when running LLM models.

Once a server is added, its tools become available to use with any LLM model:

```bash

llm -T read_file "What is the secret word in secret.txt?"

llm -T search_llm_documentation -T fetch_generic_url_content \
"Find docs for how to specify a schema in llm project"

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "llm-mcp": {
            "llm-mcp": {
                "command": "uv",
                "args": [
                    "tool",
                    "install",
                    "llm"
                ]
            }
        }
    }
}

McpServers

{
    "llm-mcp": {
        "command": "uv",
        "args": [
            "tool",
            "install",
            "llm"
        ]
    }
}

Release
Build status

LLM plugin for Model Context Protocol (MCP) support, enabling LLMs to use tools from any MCP server.

Requirements

- LLM version 0.26 or higher (for tool support)
- Python 3.10+

Installation

First, install or upgrade LLM to version 0.26+:

```bash
uv tool install llm

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.