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

# graph mcp serve

> Serve graph's plans and authoring commands to an agent over MCP (stdio)

## Options

**--dir** `string`

Project directory to serve from — the one holding `.graph/`. MCP clients launch servers with an arbitrary working directory, so without this the plan catalog resolves against wherever the client happened to be

Format: `PATH`.

## Global options

**-v, --verbose** `integer`

Increase log verbosity (-v info, -vv debug, -vvv trace)

```bash Usage theme={null}
graph mcp serve [OPTIONS]
```

```bash Example theme={null}
graph mcp serve --dir ~/code/my-project
```


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