aeat.entrypoints.mcp package¶
MCP server entrypoint for the operator agent-harness.
Exposes the deterministic aeat CLI to an LLM operator as Model Context
Protocol tools, sourcing the tool list, output schemas, and mutability
annotations from the Layer 0 capability manifest (aeat app contract). The
human-in-the-loop confirmation tiers and the faithfulness check live here too.
The protocol runtime (the MCP SDK) is an optional dependency gated behind the
aeat-cli[agent] extra and imported lazily by main(); the tool-building,
annotation, HITL, faithfulness, and dispatch logic in this package is
SDK-independent and fully unit-tested. A bare-core invocation of the aeat-mcp
console script refuses with the install hint rather than crashing - the same
graceful-degradation contract every optional integration follows.
Live AEAT submission is permanently forbidden: no live-write tool is ever exposed (enforced by test), and the CLI rails remain the deterministic backstop.
- main()[source]¶
Console-script entry point for the
aeat-mcpserver.Lazily imports the MCP SDK runtime. If the
aeat-cli[agent]extra is not installed, it refuses with the install hint and a non-zero exit rather than raising a rawModuleNotFoundError.- Return type:
Submodules¶
- aeat.entrypoints.mcp._annotations module
- aeat.entrypoints.mcp._call_runtime module
- aeat.entrypoints.mcp._completions module
- aeat.entrypoints.mcp._corpus_tools module
- aeat.entrypoints.mcp._dispatch module
- aeat.entrypoints.mcp._elicitation module
- aeat.entrypoints.mcp._faithfulness module
- aeat.entrypoints.mcp._harness_tools module
- aeat.entrypoints.mcp._hitl module
- aeat.entrypoints.mcp._identity_gate module
- aeat.entrypoints.mcp._input_schema module
- aeat.entrypoints.mcp._meta_tools module
ToolRunnerMetaSearchResultMetaExecuteResultbuild_command_search_index()search_commands()MetaSearchResponsesearch_commands_response()MetaDescribeResultMetaDescribeResult.command_keyMetaDescribeResult.tool_nameMetaDescribeResult.descriptionMetaDescribeResult.input_schemaMetaDescribeResult.read_onlyMetaDescribeResult.destructiveMetaDescribeResult.idempotentMetaDescribeResult.open_worldMetaDescribeResult.confirmation_tierMetaDescribeResult.risk_destructiveMetaDescribeResult.risk_handoffMetaDescribeResult.risk_live_writeMetaDescribeResult.owning_toolsetMetaDescribeResult.reachable_personas
describe_command()gate_refusal()ToolsetActionToolsetManageResultmanage_toolsets()meta_execute()
- aeat.entrypoints.mcp._persona_scope module
- aeat.entrypoints.mcp._prompts module
- aeat.entrypoints.mcp._resources module
- aeat.entrypoints.mcp._server module
- aeat.entrypoints.mcp._surface module
- aeat.entrypoints.mcp._telemetry module
ToolCallTelemetryRecordToolCallTelemetryRecord.session_idToolCallTelemetryRecord.sequenceToolCallTelemetryRecord.tool_nameToolCallTelemetryRecord.command_keyToolCallTelemetryRecord.routeToolCallTelemetryRecord.is_errorToolCallTelemetryRecord.duration_msToolCallTelemetryRecord.arguments_sha256ToolCallTelemetryRecord.result_sha256
content_sha256()telemetry_dir()TelemetryRetentionprune_telemetry()SessionTelemetryWriterread_session_records()
- aeat.entrypoints.mcp._terminology_tools module
- aeat.entrypoints.mcp._tools module
- aeat.entrypoints.mcp._toolsets module