MCP Agent Health Reporter
Renamed (2026-07): Formerly
aos-agent-health-mcp/ CLIaos-health-mcp. Migrate withpip install mcp-agent-health==0.3.1and update your MCP configcommandtomcp-agent-health.
MCP server that validates agent health under AOS discipline and reports readiness scores. Use it to catch agents that silently fail in production — healthy locally, broken when deployed.
Install
pip install mcp-agent-health==0.3.1
# or editable from source:
# pip install -e ./packaging
MCP Client Configuration
Add to your mcp.json (Cursor / Claude Desktop):
{
"mcpServers": {
"mcp-agent-health": {
"command": "mcp-agent-health",
"args": [],
"env": {
"AOS_HEALTH_TARGET_DIR": "/path/to/your/agents"
}
}
}
}
Tool: aos_agent_health_scan
Request (non-default args — real signal):
{
"tool_id": "1066",
"target_dir": "/home/builder/my-agents",
"mock": false
}
Response:
{
"status": "success",
"aos_score": 62.5,
"certified": false,
"tool_id": "1066",
"target_dir": "/home/builder/my-agents",
"target_path": "/home/builder/my-agents/1066_AOS_Agent_Health_Reporter",
"sections": {
"manifest_declared": 12.5,
"systemd_runtime": 0.0,
"immune_loop": 0.0,
"physical_evidence": 25.0
},
"precedent_meta": {
"precedent_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"tool_id": "1066",
"created_date": "2026-06-14T12:00:00+00:00",
"source_signal_hash": "a1b2c3d4"
},
"scanned_at": "2026-06-14T12:00:00+00:00"
}
Tool: aos_agent_health_audit
Request:
{
"target_dir": "/home/builder/my-agents",
"mock": false
}
Response (excerpt):
{
"status": "success",
"total_tools": 3,
"avg_score": 54.2,
"target_dir": "/home/builder/my-agents",
"reports": []
}
Self-Test (G1 evidence)
python3 packaging/scripts/smoke_self_call.py
# Appends one line to ~/.aos_health_mcp/calls.jsonl
Canonical source sync (TASK B)
正本: core/ahr_scan_pure.py(直接編集はこちらのみ)
配布コピー: packaging/aos_health_mcp/_scan_pure.py(直接編集禁止 — 同期スクリプト経由)
python3 packaging/scripts/sync_scan_pure.py # copy + verify
python3 packaging/scripts/sync_scan_pure.py --check-only # CI gate
一致検証: pytest tests/test_logic.py::TestAosAgentHealthReporter::test_scan_pure_canonical_sync
G2 clean install (mock=false)
python3 -m venv /tmp/aos-g2-venv
/tmp/aos-g2-venv/bin/pip install -e packaging/
/tmp/aos-g2-venv/bin/python packaging/scripts/g2_clean_install_smoke.py
Environment Variables
| Variable | Description |
|---|---|
AOS_HEALTH_TARGET_DIR |
Default scan root (fallback: cwd) |
AOS_HEALTH_MCP_LOG |
JSONL log path (default: ~/.aos_health_mcp/calls.jsonl) |
AOS_HEALTH_MCP_TRANSPORT |
stdio (default) |
Metadata
Release files for mcp-agent-health 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_agent_health-0.3.1.tar.gz | 7.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_agent_health-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.3 kB
Release files / mcp_agent_health-0.3.1.tar.gz
| Download URL | mcp_agent_health-0.3.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1158b4615417174aeeb3308964c974f3a4a538eec7b8cba0b039a2b8b870b34
|
|
BLAKE2b-256 checksum How to use checksums |
ef3c1db8df93767ff77b6649e4eb955c80a715f1700976012c8354834f90468d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / mcp_agent_health-0.3.1-py3-none-any.whl
| Download URL | mcp_agent_health-0.3.1-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b7d99d3dcafab04d0ea59e9728c1ce7539aae4be22b464ac634aff603da0f40
|
|
BLAKE2b-256 checksum How to use checksums |
1d762483918a67c1dc4a0471486710c28659c7b247ccc6adf66fd34b4955506f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for mcp-agent-health 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.