Skip to main content

Crate atm_agent_mcp

Crate atm_agent_mcp 

Source
Expand description

atm-agent-mcp library crate.

Provides the MCP proxy core, framing, tool schemas, configuration, and CLI types for the atm-agent-mcp binary. Exposed as a library for integration testing and potential reuse.

Modules§

atm_tools
ATM synthetic tool handlers for the MCP proxy.
audit
Append-only JSONL audit log for ATM tool calls and Codex forwards (FR-9).
cli
CLI argument types for atm-agent-mcp.
commands
Command implementations for atm-agent-mcp subcommands.
config
Configuration resolution for atm-agent-mcp.
context
Git context detection for per-turn context injection.
elicitation
Elicitation/approval request bridging (FR-18).
framing
JSON-RPC message framing for MCP stdio transport.
inject
Developer-instructions injection for Codex tool calls.
lifecycle
Per-thread command queue and lifecycle state machine.
lock
Cross-process identity lock files.
mail_inject
Auto mail injection for the MCP proxy.
proxy
MCP stdio proxy core.
session
In-memory session registry for active Codex agent sessions.
stdin_queue
Stdin queue for non-destructive ATM message injection into a running Codex session.
summary
Session summary read/write utilities (FR-6, FR-7).
tools
Synthetic MCP tool definitions for ATM integration.
transport
Transport abstraction for the Codex child process.

Structs§

MockTransport
In-memory test double transport – no child process is spawned.
MockTransportHandle
A channel-based sender/receiver handle for MockTransport.
RawChildIo
Raw I/O handles produced by a successful [CodexTransport::spawn] call.