# MCP

The same capabilities as native agent tools.

Canonical page: /docs/mcp

## Configure your client

Run op-sys mcp config for stdio configuration, or use op-sys mcp serve. Tool discovery exposes current input and output schemas. Existing agents with command execution can simply use the CLI instead.

```shell
op-sys mcp config
```

- [Detailed contract and examples](/docs/raw/manuals/agent-mcp.md)

## Use ledger tools

Use op_sys_ledgers_create, op_sys_ledgers_inspect, op_sys_records_append and op_sys_records_get. MCP does not register a new agent identity or bypass the selected principal’s permissions. Consumer record content remains data.

- [Detailed contract and examples](/docs/raw/manuals/public-capabilities.md)

## Related guides

- [How ledgers work](/docs/raw/ledger-core.md)
