🔌 MCP (Model Context Protocol) Integration

Cryptographically verify and monitor MCP servers with AIM. Get complete visibility into which MCP servers your agents connect to, with automatic attestation and drift detection.

What You'll Get

  • ✅ Automatic discovery of MCP servers from Claude Desktop config
  • ✅ Cryptographic attestation of MCP server identity (Ed25519)
  • ✅ Capability drift detection
  • ✅ MCP trust scoring based on attestations
  • ✅ Complete audit trail of MCP connections

Auto-Discovery from Claude Desktop

AIM automatically discovers MCP servers configured in your Claude Desktop:

Config Location:

~/.claude/claude_desktop_config.json

AIM scans this file automatically to discover installed MCP servers like filesystem-mcp, postgres-mcp, github-mcp, etc.

Cryptographic Attestation

AIM cryptographically verifies every MCP server your agents connect to:

from aim_sdk import secure

agent = secure("my-agent")

# Attest MCP server
mcp_server = agent.attest_mcp(
    mcp_url="https://mcp.example.com",
    capabilities_found=["read_files", "execute_code"],
    connection_latency_ms=45
)

print(f"MCP Trust Score: {mcp_server.trust_score}/1.0")
print(f"Total Attestations: {mcp_server.attestation_count}")

What AIM Tracks

  • MCP Server Identity: Ed25519 public key verification
  • Capabilities: Which capabilities the MCP claims to have
  • Capability Drift: Detection when capabilities change unexpectedly
  • Connection Count: How many agents connect to this MCP
  • Trust Score: 8-factor weighted algorithm based on attestations and behavior
  • Last Verified: Timestamp of most recent attestation

Next Steps

💡 Need Help?