# diagrid mcp serve

Run the Catalyst MCP server on stdin/stdout

### Description

Runs the Catalyst MCP server over stdio, for an assistant that launches it as a
subprocess. It is not meant to be run by hand — the output is JSON-RPC.

Register it with Claude Code:

claude mcp add catalyst -- diagrid mcp serve

Credentials come from your existing `diagrid login` and are re-read for every
call, so a session outlives the token it started with.

```
diagrid mcp serve [flags]
```

### Options

```
      --data-sharing string          How much of a response may be shared. full includes workflow input, output and custom status, which is what makes a failed run diagnosable — and which sends those payloads to your assistant's model provider. metadata withholds them. (default "full")
  -h, --help                         help for serve
      --management-base-url string   Catalyst Management API base URL. Defaults to production; required when logged in anywhere else, because this host is not published per environment
```

### SEE ALSO

- [diagrid mcp](./mcp.md)	 - Serve Catalyst's tools to an AI coding assistant
