# Connect a coding agent

Source: https://usecns.dev/axon-guide-connect-a-coding-agent/

[Start here](https://usecns.dev/manual-axon/)
[CLI commands](https://usecns.dev/commands-axon/)
[Configuration & integration](https://usecns.dev/axon-topics/)

A trusted coding-agent client can launch `axon --corpus <repository> mcp` to use the index over stdio JSON-RPC. Ask `tools/list` for schemas rather than translating CLI flags mechanically; see [MCP tools and access controls](https://usecns.dev/axon-topic-connect-a-coding-agent-with-mcp/).

Run the server with least-privilege filesystem access. Its `get_file` accepts absolute paths and does not enforce corpus containment: `--corpus` is not a filesystem sandbox. Query tools may create an index, and `rebuild_index` writes it. Do not expose the process as an unauthenticated network service.

For every command, option and exit distinction, use the [command reference](https://usecns.dev/commands-axon/).