Metadata-Version: 2.4
Name: matimo-cli
Version: 0.1.0
Summary: Matimo CLI — tool package manager & MCP server launcher
Author: Matimo
License: MIT
Keywords: ai-tools,cli,matimo,mcp
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Requires-Dist: matimo-core[mcp]<0.2.0,>=0.1.0a14.post1
Requires-Dist: mcp>=1.0
Requires-Dist: pyyaml>=6.0
Description-Content-Type: text/markdown

# matimo-cli

> Command-line interface for [Matimo](https://matimo.dev) — tool package manager & MCP server launcher.

[![PyPI](https://img.shields.io/pypi/v/matimo-cli)](https://pypi.org/project/matimo-cli/)
[![Docs](https://img.shields.io/badge/docs-matimo.dev-blue)](https://matimo.dev/docs)

---

## Installation

```bash
pip install matimo-cli
# or with uv
uv add matimo-cli
```

---

## Commands

### `matimo install` — Install provider packages

```bash
matimo install slack github gmail         # install specific providers
matimo install slack --upgrade            # upgrade an existing provider
```

### `matimo list` — List available tools

```bash
matimo list                               # all loaded tools
matimo list --provider slack             # filter by provider
matimo list --format json                # JSON output
```

### `matimo search` — Search for tools

```bash
matimo search email                       # text search over tool names + descriptions
matimo search "send message"
```

### `matimo mcp` — Start MCP server

Serve all loaded tools over the [Model Context Protocol](https://matimo.dev/docs/MCP) so Claude Desktop, Cursor, or any MCP client can access them.

```bash
matimo mcp                                # start on stdio (default)
matimo mcp --transport http --port 3000   # start as HTTP server
matimo mcp --name "my-agent"              # set server name
```

**Claude Desktop `claude_desktop_config.json`:**
```json
{
  "mcpServers": {
    "matimo": {
      "command": "matimo",
      "args": ["mcp"]
    }
  }
}
```

### `matimo doctor` — Diagnose your setup

```bash
matimo doctor                             # check config, installed providers, connectivity
matimo doctor --fix                       # attempt auto-repair
```

### `matimo review` — Review agent-created tool definitions

```bash
matimo review ./agent-tools/              # interactive review of draft tools
```

---

## Configuration

The CLI reads Matimo configuration from the environment or a `.matimo.yaml` file in the project root:

```yaml
# .matimo.yaml
toolPaths:
  - ./tools
  - ./agent-tools
logLevel: info
```

Environment variables:

```bash
export MATIMO_LOG_LEVEL=info        # silent | error | warn | info | debug
export MATIMO_LOG_FORMAT=json       # json | simple
export MATIMO_AUTO_APPROVE=true     # auto-approve tool approval prompts (CI/CD)
```

---

## Documentation

- [CLI Guide](https://matimo.dev/docs/user-guide/)
- [MCP Guide](https://matimo.dev/docs/MCP)
- [Getting Started](https://matimo.dev/docs/getting-started/QUICK_START)

---

## Links

- **PyPI:** https://pypi.org/project/matimo-cli/
- **Docs:** https://matimo.dev/docs
- **GitHub:** https://github.com/tallclub/matimo

