Metadata-Version: 2.4
Name: llm-tools-mcp
Version: 0.1.0a2
Summary: MCP support for LLM CLI
Author: Michal Fudala
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/myhau/llm-tools-mcp
Project-URL: Changelog, https://github.com/myhau/llm-tools-mcp/releases
Project-URL: Issues, https://github.com/myhau/llm-tools-mcp/issues
Project-URL: CI, https://github.com/myhau/llm-tools-mcp/actions
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: llm
Requires-Dist: mcp[cli]>=1.9.1
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Dynamic: license-file

# llm-tools-mcp

> [!Warn]
> Work in progress!
> Only alpha version was released for now.

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

MCP support for LLM CLI tool.


## To do

- [x] Release alpha version
- [ ] Good test suite
- [ ] Redirect stdout/stderr from mcp sdk to file or some proper location
- [ ] Reuse stdio connections?
- [ ] Support non-stdio MCP servers
- [ ] Get feedback on `~/.llm-tools-mcp` directory name
- [ ] Better failure handling
    - [ ] When connection to MCP server fails
    - [ ] When `mcp.json` is invalid
- [ ] Better README.md
    - [ ] [Development](#development) section should mention uv (?)

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-tools-mcp
```
## Usage

Usage instructions go here.

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-tools-mcp
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
python -m pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```
