Llm Tools Mcp banner
VirtusLab VirtusLab

Llm Tools Mcp

AI community

Description

Connect to MCP servers right from your shell. Plugin for simonw/llm.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

`llm-tools-mcp`

![mcp-logo](https://github.com/user-attachments/assets/3e0e9850-6faf-439b-96c2-b672341c1ca5)

**Connect to MCP servers right from your shell. Plugin for [llm](https://github.com/simonw/llm) (by [@simonw](https://github.com/simonw)).**

[![PyPI](https://img.shields.io/pypi/v/llm-tools-mcp.svg)](https://pypi.org/project/llm-tools-mcp/) [![Changelog](https://img.shields.io/github/v/release/VirtusLab/llm-tools-mcp?include_prereleases&label=changelog)](https://github.com/VirtusLab/llm-tools-mcp/releases) [![Tests](https://github.com/VirtusLab/llm-tools-mcp/actions/workflows/test.yml/badge.svg)](https://github.com/VirtusLab/llm-tools-mcp/actions/workflows/test.yml) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/VirtusLab/llm-tools-mcp/blob/main/LICENSE)

[!Note] Current focus: [Authorization #4](https://github.com/VirtusLab/llm-tools-mcp/issues/4)

Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/):

llm install llm-tools-mcp

Usage

[!WARNING] It's recommended to use the `--ta` flag and approve each tool execution.

  1. Create `mcp.json` file in `~/.llm-tools-mcp`.

    Example file:

    {
      "mcpServers": {
        "filesystem": {
          "command": "npx",
          "args": [
            "-y",
            "@modelcontextprotocol/server-filesystem",
            "~/demo"
          ]
        }
      }
    }
  2. List available tools.

    [!WARNING] `llm tools` is not implemented for dynamic toolboxes ([see this](https://github.com/simonw/llm/issues/1111#issuecomment-2992280193)), so tools loaded as part of MCP won't be visible.

    llm tools list
  3. Run `llm` with tools.

    llm --ta -T MCP "what files are in the demo directory? show me contents of one of the files (any)"

Other examples

**Dynamically change your MCP config:**

llm --ta -