Skip to main content

arifOS AAA MCP Server

Registry ID: io.github.ariffazil/arifos-mcp Live base URL: https://arifosmcp.arif-fazil.com Runtime module: arifos_aaa_mcp Version: 2026.2.27

If you're wondering what an "MCP Server" is: It's the bridge that connects an AI (like Claude or Cursor) to arifOS.

The Model Context Protocol (MCP) is a standard that lets AI models securely use external tools. arifOS runs its own MCP server so that any AI can connect to it and instantly be bound by the 13 constitutional floors.

Runtime profileโ€‹

  • Production transport: Streamable HTTP (/mcp) โ€” Current MCP standard
  • Local transport: stdio โ€” For Claude Desktop, Cursor IDE
  • Constitutional envelope: 333 axioms + 13 laws + APEX dials
  • Port: 8080 (default)
  • Current protocol version: 2025-11-25
  • Supported protocol versions: 2025-11-25, 2025-03-26

Version negotiationโ€‹

Protocol version is negotiated during initialize and fixed per session. If a client sends an unsupported version, the server returns a JSON-RPC error and no session is created.

Launch commands (How to run it)โ€‹

Depending on where you are running the AI, you start the server differently:

# Local stdio (for Claude Desktop, Cursor)
python -m arifos_aaa_mcp stdio

# Streamable HTTP (production - recommended)
HOST=0.0.0.0 PORT=8080 python -m arifos_aaa_mcp http

Why streamable HTTP for production? Instead of complicated two-way communication channels, streamable HTTP means the AI and the server can talk securely over a standard web connection, which is much easier to scale in the cloud and protects against firewall blocks.

Canonical MCP surfaceโ€‹

Tools (13)โ€‹

ToolPurpose
anchor_session000 INIT: Start governed session
reason_mind333 REASON: AGI cognition
recall_memory444 EVIDENCE: Memory retrieval
simulate_heart555 EMPATHY: Impact analysis
critique_thought666 ALIGN: 7-model critique
apex_judge777/888 APEX: Constitutional verdict
eureka_forge888 FORGE: Execute with gates
seal_vault999 SEAL: Commit to ledger
search_realityWeb evidence discovery
fetch_contentFetch raw content
inspect_fileFilesystem inspection
audit_rulesRule compliance check
check_vitalSystem health metrics

Test live: curl https://arifosmcp.arif-fazil.com/health

Resources (2)โ€‹

  • arifos://aaa/schemas
  • arifos://aaa/full-context-pack

Prompt (1)โ€‹

  • arifos.prompt.aaa_chain

Deployment files to keep alignedโ€‹

  • Dockerfile
  • start-trinity.sh
  • docker-compose.yml
  • deployment/docker-compose.vps.yml
  • .github/workflows/deploy.yml
  • server.json

Required secrets (minimum)โ€‹

  • ARIF_SECRET or ARIF_JWT_SECRET
  • DATABASE_URL
  • REDIS_URL

Optional web grounding:

  • PPLX_API_KEY (preferred) or PERPLEXITY_API_KEY
  • PPLX_MODEL (default sonar-pro)
  • BRAVE_API_KEY (fallback)