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

# MCP configuration

> Write MCP client config for your IDE with olira configure.

## `olira configure`

Write MCP client config.

| Flag     | Description              |
| -------- | ------------------------ |
| `client` | Target client (`cursor`) |

<Note>
  `olira configure cursor` writes your current token into `.cursor/mcp.json`.
  When the token expires, re-run `olira configure cursor` or replace the token
  with a long-lived API key.
</Note>

See the [MCP Patient State server](/mcp-server) for what the configured client can do
once connected.
