---
title: "tori mcp"
description: "serve Tori tools over MCP stdio"
---

serve Tori tools over MCP stdio

## Usage

```
npx tori.host mcp
```

Let an MCP-compatible coding agent deploy to Tori. The server uses stdio, so configure the agent to launch it rather than running it in an interactive terminal. For Claude Code:

  `claude mcp add tori -- npx -y tori.host mcp`

Authentication is shared with the CLI. Run tori login once, or set TORI_TOKEN in the MCP host&#39;s environment. TORI_API_URL overrides the API base URL.

## Options

None.


## Environment

- `TORI_TOKEN` — API token (overrides the config file; for CI)
- `TORI_API_URL` (default: https://api.tori.host) — API base URL

## Examples

### Add to Claude Code

```sh
claude mcp add tori -- npx -y tori.host mcp
```

This reference matches `tori.host@0.9.7`.

Download this page as [Markdown](/downloads/markdown/cli/mcp.md).
