> ## Documentation Index
> Fetch the complete documentation index at: https://docs.echophrase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server

> Let AI agents like Claude Code use Echophrase's voice tools

# MCP Server

MCP (Model Context Protocol) is an open standard that lets AI assistants,
like Claude Code, call small, well-defined tools on your machine instead of
guessing how to do something themselves. Echophrase's CLI can run as an MCP
server, exposing recording, status, transcoding, and transcription as tools
an agent can call directly, so an agent can capture your voice and get a
transcript back without you writing any glue code.

> [!WARNING]
>
> `transcribe` requires the Echophrase desktop app to be running, with the
> **MCP Server** toggle enabled in **Settings > MCP Server**. The toggle is
> off by default. The other four tools (`record`, `stop`, `status`,
> `transcode`) work standalone, with no app needed.

## Setup for Claude Code

Add Echophrase to your project's `.mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "echophrase": {
      "command": "echophrase-cli",
      "args": ["mcp"]
    }
  }
}
```

This works when `echophrase-cli` is on your `PATH` (see [CLI](https://docs.echophrase.com/cli.md) for how to
install it); otherwise use the absolute path to the `echophrase-cli` binary. Restart Claude Code (or reload MCP servers) after saving, and
the tools below become available.

## Tools

| Tool | Mirrors CLI command | Requirements |
| - | - | - |
| `record` | `echophrase-cli record` | None |
| `stop` | `echophrase-cli stop` | None |
| `status` | `echophrase-cli status` | None |
| `transcode` | `echophrase-cli transcode` | None |
| `transcribe` | `echophrase-cli transcribe` | Desktop app running, MCP Server toggle enabled |

Every tool shares the same session and audio logic as the CLI commands, so
behavior never drifts between using the terminal directly and having an
agent call the same actions through MCP.

## Enabling transcribe

To let an agent transcribe audio (not just record and transcode it):

1. Open the Echophrase desktop app and make sure it's running
2. Go to **Settings > MCP Server**
3. Enable the toggle

> [!NOTE]
>
> The desktop app owns the loaded transcription model, so it must stay running
> for the whole session. If it's closed, the `transcribe` tool returns a
> friendly error instead of a transcript.

> [card] [CLI reference](https://docs.echophrase.com/cli.md)
>
> See the full command overview if you'd rather drive Echophrase from a
> terminal directly.

For a precise, verified breakdown of the localhost binding, bearer token
lifecycle, and exactly what `transcribe` can and cannot access, see the
[security model](https://docs.echophrase.com/security.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.