Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. ArifOS β€” Constitutional AI Governance
A
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:28:00 AM

ArifOS β€” Constitutional AI Governance

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View RepositoryVisit Website

Constitutional AI governance: 11 mega-tools, 13 floors, VAULT999 ledger. Human-in-loop by design.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "arifos-constitutional-ai-governance": {
      "command": "npx",
      "args": [
        "-y",
        "arifos-constitutional-ai-governance"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

arifosmcp β€” Constitutional MCP Server Implementation

DITEMPA BUKAN DIBERI β€” Forged, Not Given [ΔΩΨ | ARIF]

VERSION: 2026.03.28-SEALED | STATUS: SOVEREIGNLY SEALED | AUTHORITY: 888_JUDGE


πŸ”— CANONICAL LINKS (Source of Truth)

Live Services

ServiceURLPurpose
MCP Endpointhttps://arifosmcp.arif-fazil.com/mcpMain API
Health + Toolshttps://arifosmcp.arif-fazil.com/healthCapability map
Tool Explorerhttps://arifosmcp.arif-fazil.com/toolsInteractive browser

GitHub Repositories

RepoURL
arifOS (parent)https://github.com/ariffazil/arifOS
arifosmcp (this)https://github.com/ariffazil/arifOS/tree/main/arifosmcp

πŸ“‹ CANONICAL DOCUMENTS (Architecture Reference)

DocumentPathPurpose
arifOS README../README.mdVision, architecture, snapshot of truth
000_CONSTITUTION.md../000/000_CONSTITUTION.mdThe 13 Floors β€” F1-F13
K_FORGE.md../000/ROOT/K_FORGE.mdPre-deployment evolution
K_FOUNDATIONS.md../000/ROOT/K_FOUNDATIONS.md99-domain math
AGENTS.md../AGENTS.mdAI agent behavior rules
philosophy_atlas.json../data/philosophy_atlas.json27-zone quotes

🎯 SNAPSHOT OF TRUTH

What is arifosmcp?

arifosmcp is the implementation of the arifOS constitutional intelligence kernel β€” the actual code that enforces the 13 Floors, runs the 000-999 pipeline, and delivers the 11 mega-tools.

The Parent vs. This Document:

arifOS READMEarifosmcp README (this)
WHY β€” Vision, philosophy, strategic architectureHOW β€” Implementation, code, deployment mechanics
What it meansHow it works
Strategic contextTechnical specification
Human readableHuman + AI readable

Core Function:

mermaid
graph LR
    A["User Request"] --> B["MCP Protocol"]
    B --> C["Constitutional Filter<br/>(F1-F13)"]
    C --> D["Tool Execution"]
    D --> E["Audit Log"]
    
    style A fill:#1a1a2e,color:#fff
    style B fill:#16213e,color:#fff
    style C fill:#0f3460,color:#fff
    style D fill:#1a1a2e,color:#fff
    style E fill:#16213e,color:#fff

πŸ—οΈ ARCHITECTURE OVERVIEW

Entry Points

mermaid
graph TB
    A["server.py<br/>Universal Entry"] --> B{"FastMCP Version?"}
    B -->|"2.x"| C["server_horizon.py<br/>Proxy Mode<br/>8 tools"]
    B -->|"3.x"| D["runtime/server.py<br/>Full Kernel<br/>11 tools"]
    
    style A fill:#1a1a2e,color:#fff
    style C fill:#16213e,color:#fff
    style D fill:#0f3460,color:#fff

Server Modes

ModeToolsFeaturesEntrypoint
Horizon (Cloud)8Proxied to VPSserver_horizon.py
VPS (Sovereign)12Full kernel, local Ollamaruntime/server.py

🚦 LIVE MCP CONTRACT STATUS

SubsystemConstitutionalOperationalProductionStability
Anchoringβœ… Verifiedβœ… Stableβœ… ReadyA
Registryβœ… Verifiedβœ… Stableβœ… ReadyA
Reasoningβœ… Verifiedβœ… Hardenedβœ… ReadyB
Vitalsβœ… Verifiedβœ… Correctedβœ… ReadyB
Diagnosticβœ… Verifiedβœ… Newβœ… ReadyB

πŸ”§ TOOL INVENTORY (12 Mega-Tools)

Tool Reference Table

ToolBandStageConstitutional RoleModes
init_anchor000_INIT000Session anchoring, Ξ©β‚€, philosophyinit, state, status, revoke, refresh
arifOS_kernel444_ROUT444Primary metabolic orchestrationkernel, status
apex_soul888_JUDGE888Sovereign verdict and defensejudge, rules, validate, armor, probe
vault_ledger999_SEAL999Immutable ledger (Merkle chain)seal, verify, resolve
agi_mind333_MIND333Constitutional reasoning and synthesisreason, reflect, forge
asi_heart666_HEART666Safety critique, impact simulationcritique, simulate
engineering_memory555_MEM555Governed engineering and contextengineer, write, vector_query
physics_reality111_SENSE111Environmental grounding and timesearch, ingest, atlas, time
math_estimator444_ROUT444Thermodynamic health and vitalscost, health, vitals
code_engineM-3_EXECM-3Sandboxed execution and observationfs, process, net, replay
architect_registryM-4_ARCHM-4Tool discovery and schema cataloglist, read, register
compat_probeM-5_COMPM-5Interoperability and enum auditaudit, probe, ping

πŸ“ TOOL SPECIFICATIONS

init_anchor (000_INIT)

Purpose: Initialize constitutional session.

server.ts
async def init_anchor(
    actor_id: str,
    declared_name: str,
    mode: Literal["init", "seal", "status"] = "init",
    thermodynamic_budget: dict = None,
    architect_registry: dict = None
) -> dict

Returns:

JSON Config
{
    "session_id": str,               # UUID
    "omega_0": float,                # Baseline uncertainty ∈ [0.03, 0.05]
    "delta_s": float,                # Baseline entropy
    "telos_manifold": dict,          # Telos vector weights
    "godel_lock": dict,              # GΓΆdel lock status
    "constitutional_context": str,    # AI system prompt
    "philosophy": str,                # Selected quote from atlas
    "vitality_index": float,         # Ξ¨ score
    "verdict_range": str             # "000_SEAL" | "101-499" | "500-899" | "999_VOID"
}

architect_registry (000_INIT)

Purpose: Discover tools and constitutional constraints.

server.ts
async def architect_registry() -> dict

Returns:

JSON Config
{
    "tools": [
        {
            "name": str,
            "band": str,
            "stage": int,
            "constitutional_constraints": ["F1", "F2", ...],
            "input_schema": dict,
            "output_schema": dict
        }
    ],
    "total_count": int,
    "catalog_hash": str               # SHA-256 integrity
}

physics_reality (111_SENSE)

Purpose: Ground queries in real-world data. Prevents hallucinations.

server.ts
async def physics_reality(
    query: str,
    mode: Literal["time", "search", "reality_check"] = "search",
    time_data: dict = None
) -> dict

Constitutional Filter: F2 (Truth) β€” all factual claims require citation.


agi_mind (333_MIND)

Purpose: Constitutional reasoning with three-phase Ollama pipeline.

mermaid
graph TB
    A["Query"] --> B["Phase 1: FAST<br/>Quick pattern match"]
    B --> C["Phase 2: REFLECT<br/>Deep reasoning"]
    C --> D["Phase 3: DECIDE<br/>Action selection"]
    
    B -->|"F4 Clarity<br/>Ξ”S ≀ 0"| E["Pass/Fail"]
    C -->|"F2 Truth<br/>F3 Tri-Witness"| E
    D -->|"Constitutional<br/>Prefix"| E
    
    style A fill:#1a1a2e,color:#fff
    style B fill:#16213e,color:#fff
    style C fill:#0f3460,color:#fff
    style D fill:#1a1a2e,color:#fff
server.ts
async def agi_mind(
    query: str,
    context: dict,
    mode: Literal["think", "reflect", "decide"] = "think"
) -> dict

Three Phases:

PhaseFocusFloors
Phase 1 (FAST)Quick pattern matchF4 Clarity
Phase 2 (REFLECT)Deep reasoningF2 Truth, F3 Tri-Witness
Phase 3 (DECIDE)Action selectionConstitutional prefix

Constitutional Prefix:

Code
CONSTITUTIONAL FRAMEWORK (ΔΩΨ | ARIF):
- Ξ” CLARITY: Reduce entropy. Ξ”S ≀ 0.
- Ω HUMILITY: Stay in bounds. Ω ∈ [0.03, 0.05].
- Ξ¨ VITALITY: Every action witnessed.

FLOORS ACTIVE: [F1-F13]

arifOS_kernel (444_ROUT)

Purpose: Primary conductor β€” orchestrates full 000β†’888 pipeline.

mermaid
graph LR
    A["Query"] --> B["1. Parse Intent<br/>111_SENSE"]
    B --> C["2. Ground Reality<br/>physics_reality"]
    C --> D["3. Reason<br/>agi_mind"]
    D --> E["4. Route Action<br/>444_ROUT"]
    E --> F["5. Safety Critique<br/>asi_heart"]
    F --> G["6. Estimate Cost<br/>math_estimator"]
    G --> H["7. Issue Verdict<br/>apex_soul"]
    
    style A fill:#1a1a2e,color:#fff
    style B fill:#16213e,color:#fff
    style C fill:#0f3460,color:#fff
    style D fill:#1a1a2e,color:#fff
    style E fill:#16213e,color:#fff
    style F fill:#0f3460,color:#fff
    style G fill:#1a1a2e,color:#fff
    style H fill:#16213e,color:#fff
server.ts
async def arifOS_kernel(
    query: str,
    tools: list[str],
    context: dict
) -> dict

asi_heart (666_HEART)

Purpose: Safety critique β€” F5 PeaceΒ², F9 Ethics, harm potential.

server.ts
async def asi_heart(
    action_plan: dict
) -> dict

Returns:

JSON Config
{
    "peace_squared": float,          # Must be β‰₯ 1.0 (F5)
    "c_dark": float,                 # Must be < 0.30 (F9)
    "harm_potential": str,           # "NONE" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"
    "f5_pass": bool,
    "f9_pass": bool,
    "recommendations": list[str]
}

math_estimator (777_OPS)

Purpose: Thermodynamic cost estimation.

server.ts
async def math_estimator(
    operation: str,
    inputs: dict
) -> dict

Returns:

JSON Config
{
    "landauer_limit_pJ": float,       # Minimum thermodynamic cost
    "entropy_change": float,         # Ξ”S (must be ≀ 0 for F4)
    "coherence_score": float,         # System coherence [0, 1]
    "estimated_energy_J": float,      # Total energy estimate
    "shannon_entropy_bits": float     # Information entropy
}

apex_soul (888_JUDGE)

Purpose: Final constitutional judgment.

server.ts
async def apex_soul(
    evidence: dict,
    context: dict
) -> dict

Returns:

JSON Config
{
    "verdict": str,                   # "000_SEAL" | "101-499" | "500-899" | "999_VOID"
    "floor_scores": {
        "F1": {"passed": bool, "score": float},
        "F2": {"passed": bool, "score": float},
        # ... F3-F13
    },
    "genius_index": float,            # G = A Γ— P Γ— X Γ— EΒ² (β‰₯ 0.80)
    "vitality_index": float,           # Ξ¨ (β‰₯ 1.0 for healthy)
    "witness_cube": float,            # WΒ³ (β‰₯ 0.95)
    "override_available": bool         # 888_JUDGE can always override
}

vault_ledger (999_SEAL)

Purpose: Immutable audit storage with Merkle sealing.

server.ts
async def vault_ledger(
    data: dict,
    tier: Literal["constitutional", "standard", "transient"] = "standard"
) -> dict

Tiers:

TierComplianceRetention
constitutionalFull F1-F13Permanent
standardStandard auditImmutable
transientEphemeralAuto-purged

engineering_memory (555_MEM)

Purpose: Redis-backed session memory.

server.ts
async def engineering_memory(
    key: str,
    operation: Literal["get", "set", "delete", "list"],
    value: any = None,
    ttl: int = 3600
) -> dict

code_engine (β€”)

Purpose: Constrained Python execution for tool actions.

server.ts
async def code_engine(
    code: str,
    language: Literal["python", "javascript"] = "python",
    constraints: dict = None
) -> dict

Safety Constraints:

  • No filesystem access
  • No network access
  • No subprocess creation
  • Memory limit: 128MB
  • Timeout: 30s

🌐 API ENDPOINTS

HTTP Endpoints

EndpointMethodPurpose
/healthGETHealth check + capability map
/toolsGETTool registry
/mcpPOSTMCP protocol handler
/webmcpPOSTWebMCP (W3C standard)
/a2aPOSTA2A (Google protocol)
/.well-known/agent.jsonGETAgent card

MCP Protocol Examples

bash
# List tools
curl -X POST https://arifosmcp.arif-fazil.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# Call init_anchor
curl -X POST https://arifosmcp.arif-fazil.com/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"2.0","id":2,"method":"tools/call",
    "params":{
      "name":"init_anchor",
      "arguments":{
        "actor_id":"test",
        "declared_name":"TestAgent"
      }
    }
  }'

βš™οΈ CONFIGURATION

Environment Variables

VariableDefaultDescription
PORT8080Server port
OLLAMA_URLhttp://ollama:11434Ollama endpoint
OLLAMA_MODELllama3.2:latestDefault model
REDIS_URLredis://redis:6379/0Redis connection
DATABASE_URLβ€”PostgreSQL (optional)
QDRANT_URLhttp://qdrant:6333Vector DB (optional)
PYTHONPATH/usr/src/appPackage path
AAA_MCP_TRANSPORThttpMCP transport type

Docker Compose

yaml
services:
  arifosmcp:
    build:
      context: .
      dockerfile: Dockerfile
    environment:
      - OLLAMA_URL=http://ollama_engine:11434
      - REDIS_URL=redis://redis:6379/0
      - DATABASE_URL=postgresql://user:pass@postgres:5432/arifos_vault
      - QDRANT_URL=http://qdrant:6333
    ports:
      - "127.0.0.1:8080:8080"

πŸ“ CODE ARCHITECTURE

Directory Structure

Code
arifosmcp/
β”œβ”€β”€ README.md                      # ← This file
β”œβ”€β”€ server.py                      # Universal entry
β”œβ”€β”€ server_horizon.py              # Horizon proxy (FastMCP 2.x)
β”œβ”€β”€ pyproject.toml                 # Dependencies
β”œβ”€β”€ requirements.txt               # Pip dependencies
β”‚
β”œβ”€β”€ runtime/
β”‚   β”œβ”€β”€ server.py                  # Full kernel (FastMCP 3.x)
β”‚   β”œβ”€β”€ philosophy.py              # 27-zone atlas
β”‚   β”œβ”€β”€ init_anchor_hardened.py    # Session anchoring
β”‚   β”œβ”€β”€ tools_hardened_dispatch.py # Tool routing
β”‚   β”œβ”€β”€ tools_hardened_v2.py       # Mega-tools
β”‚   β”œβ”€β”€ tools_internal.py          # Internal utils
β”‚   └── thermo_estimator.py        # Thermodynamic math
β”‚
β”œβ”€β”€ core/
β”‚   β”œβ”€β”€ governance_kernel.py       # Main orchestrator
β”‚   β”œβ”€β”€ pipeline.py                 # Execution pipeline
β”‚   └── organs/
β”‚       β”œβ”€β”€ _1_agi.py             # Mind (333_MIND)
β”‚       β”œβ”€β”€ _2_asi.py             # Heart (666_HEART)
β”‚       └── _3_apex.py            # Soul (888_JUDGE)
β”‚
β”œβ”€β”€ intelligence/
β”‚   └── tools/
β”‚       β”œβ”€β”€ thermo_estimator.py   # Cost estimation
β”‚       └── wisdom_quotes.py       # Quote integration
β”‚
β”œβ”€β”€ aaa_mcp/                       # FastMCP tool definitions
β”œβ”€β”€ transport/                     # Protocol transport
β”œβ”€β”€ shared/                        # Shared utilities
└── enforcement/                   # Constitutional enforcement

πŸ›‘οΈ CONSTITUTIONAL ENFORCEMENT

Floor Compliance Matrix

FloorEnforcementViolation Response
F1 AmanahReversibility checkRequire human approval
F2 TruthCitation requiredFlag as "Estimate Only"
F3 Tri-WitnessWΒ³ computationBlock below 0.95
F4 ClarityEntropy measurementReject if Ξ”S > 0
F5 PeaceΒ²Harm potentialReject if < 1.0
F6 EmpathyRASA scoringWarn below 0.7
F7 HumilityΞ© boundsReject outside [0.03, 0.05]
F8 GeniusG computationAlert below 0.80
F9 EthicsC_dark measurementReject β‰₯ 0.30
F10 ConscienceClaim detectionReject consciousness claims
F11 AuditLog verificationRequire log presence
F12 ResilienceGraceful degradationCatch all exceptions
F13 AdaptabilityTest suiteRequire test pass

Kill Switch Conditions

mermaid
graph RL
    A["KILL SWITCH"] --> B1["F1 Amanah = 0"]
    A --> B2["F9 C_dark β‰₯ 0.50"]
    A --> B3["F10 + F2 Violation"]
    A --> B4["Ξ¨ < 0.20"]
    A --> B5["Human Override"]
    
    B1 -.->|VOID| K["999_SEAL<br/>HALT"]
    B2 -.->|VOID| K
    B3 -.->|VOID| K
    B4 -.->|VOID| K
    B5 -.->|VOID| K
    
    style A fill:#ff0000,color:#fff
    style K fill:#8b0000,color:#fff
python
KILL_SWITCH_CONDITIONS = [
    ("F1_AMANAH", lambda s: s["amanah"] == 0),
    ("F9_ETHICS", lambda s: s["c_dark"] >= 0.50),
    ("F10_CONSCIENCE", lambda s: s["f10_violation"] and s["f2_violation"]),
    ("PSI_COLLAPSE", lambda s: s["vitality_index"] < 0.20),
    ("HUMAN_OVERRIDE", lambda s: s.get("judge_override", False)),
]

πŸ”¬ IMPLEMENTATION DETAILS

Philosophy Selection Algorithm

python
# 1. Compute session coordinates: (S, G, Ξ©)
S = +1 if delta_s <= 0 else -1
G = g_score  # 0/0.5/1
Omega = f7_band  # High/Med/Low

# 2. Compute 3D Euclidean distance to each of 27 zones
distances = [
    euclidean((S, G, Omega), zone.coords)
    for zone in philosophy_atlas.zones
]

# 3. Select nearest zone's quote
nearest_zone = min(distances, key=lambda d: d.distance)

# 4. INIT/SEAL sessions: motto + Z01 (Humble Sovereign)
if session_type in ("init", "seal"):
    return "DITEMPA BUKAN DIBERI." + nearest_zone.quote

Goodhart Resistance

python
# Measure entropy reduction
S_before = shannon_entropy(user_state)
S_after = shannon_entropy(model_output)

if S_after > S_before:
    raise FLOOR_VIOLATION("F4_CLARITY")

Landauer Limit Check

python
LANDACKER_pJ_per_bit = 2.87  # at room temperature

bits_erased = estimate_bits_erased(operation)
cost_pJ = bits_erased * LANDACKER_pJ_per_bit

if cost_pJ > thermodynamic_budget:
    raise CONSTRAINT_VIOLATION("F8_ENERGY")

Explorer/Conservator Dual-Process

mermaid
graph LR
    subgraph EXPLORER["EXPLORER"]
        E1["Proposes mutations"]
        E2["Searches aggressively"]
        E3["Optimizes capability"]
        E4["Score: G (Genius)"]
    end
    
    subgraph CONSERVATOR["CONSERVATOR"]
        C1["Protects stability"]
        C2["Rejects risky changes"]
        C3["Monitors drift"]
        C4["Score: Ξ¨ (Vitality)"]
    end
    
    E1 -->|"TENSION"| EQ["EQUILIBRIUM"]
    C1 -->|"TENSION"| EQ
    
    style EXPLORER fill:#1a4d1a,color:#fff
    style CONSERVATOR fill:#4d1a1a,color:#fff
    style EQ fill:#1a1a2e,color:#fff

Both must agree for evolution to proceed.


πŸ§ͺ TESTING

Constitutional Compliance Test

Terminal
docker compose exec -T arifosmcp python3 /dev/stdin << 'PYEOF'
import sys
sys.path.insert(0, '/usr/src/app')

from arifosmcp.runtime.init_anchor_hardened import init_anchor_hardened
import asyncio

async def test():
    result = await init_anchor_hardened(
        mode='status',
        thermodynamic_budget={'enthalpy': 100, 'entropy': 50},
        architect_registry={'resources': [], 'agents': []}
    )
    print('philosophy:', result.get('philosophy')[:100] if result.get('philosophy') else None)
    print('telos_manifold:', result.get('telos_manifold'))
    print('godel_lock:', result.get('godel_lock'))
    print('constitutional_context present:', result.get('constitutional_context') is not None)

asyncio.run(test())
PYEOF

Health Check

Terminal
curl -s https://arifosmcp.arif-fazil.com/health | python3 -m json.tool

πŸ“Š MONITORING

Prometheus Metrics

MetricTypeDescription
arifos_floor_violations_totalCounterF1-F13 violation count
arifos_genius_indexGaugeCurrent G score
arifos_vitality_indexGaugeCurrent Ξ¨ score
arifos_omega_boundsGaugeCurrent Ξ© uncertainty
arifos_tool_calls_totalCounterTool invocation count
arifos_pipeline_duration_secondsHistogramPipeline latency

Grafana Dashboard

URL: https://monitor.arifosmcp.arif-fazil.com

Dashboards:

  • Constitutional Health (F1-F13 compliance)
  • Tool Usage Statistics
  • Pipeline Latency
  • Memory Usage

πŸ”§ TROUBLESHOOTING

Issue: "Module file points to site-packages"

Symptom: import arifosmcp loads /usr/local/lib/python3.12/site-packages/

Cause: pip install in Dockerfile creates conflicting package

Fix: Rebuild image or ensure volume mounts are correct

Issue: "philosophy returns null"

Symptom: init_anchor returns null philosophy

Cause: Old site-packages version loaded

Fix: Rebuild container, clear Python cache

Issue: "OLLAMA connection failed"

Symptom: agi_mind returns connection error

Fix: docker compose restart ollama && docker compose logs --tail=20 ollama


πŸ“¦ DEPENDENCIES

Core

PackageVersionPurpose
fastmcpβ‰₯3.0MCP protocol
fastapiβ‰₯0.115HTTP server
uvicornlatestASGI server
redislatestSession memory
psycopg2latestPostgreSQL (optional)
qdrant-clientlatestVector DB (optional)
sentence-transformerslatestSemantic embeddings
ollamalatestLLM inference

Philosophy Atlas

PackageVersionPurpose
numpylatest3D distance calculations
scipylatestStatistical functions

πŸš€ DEPLOYMENT

Build

Terminal
docker build --no-cache -t arifos/arifosmcp:latest -f Dockerfile .

Run

Terminal
docker compose up -d arifosmcp

Rebuild (after code changes)

Terminal
docker compose up -d --force-recreate --no-deps arifosmcp

Full Reforge

Terminal
docker compose build --no-cache arifosmcp && docker compose up -d arifosmcp

πŸ“œ API REFERENCE SUMMARY

init_anchor

config.json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "init_anchor",
    "arguments": {
      "actor_id": "string",
      "declared_name": "string",
      "mode": "init|seal|status"
    }
  }
}

Response Schema

config.json
{
  "session_id": "uuid",
  "omega_0": 0.03-0.05,
  "delta_s": "float",
  "telos_manifold": {},
  "godel_lock": {},
  "constitutional_context": "string",
  "philosophy": "string",
  "vitality_index": "float",
  "verdict_range": "000_SEAL|101-499|500-899|999_VOID"
}

πŸ“‹ FOR AI AGENTS (AGENTS.md Reference)

All AI agents operating in this repository MUST follow the rules in ../AGENTS.md:

  • RULE 1 DRY_RUN: Dry-run outputs labeled "Estimate Only / Simulated"
  • RULE 2 DOMAIN_GATE: Cannot-compute domains return exact phrase
  • RULE 3 VERDICT_SCOPE: Only DOMAIN_SEAL authorizes factual claims
  • RULE 4 ANCHOR_VOID: init_anchor returns void β†’ session BLOCKED

βš–οΈ Truth Hierarchy

The arifOS verdict system follows a strict Truth Hierarchy where higher-priority verdicts override lower ones:

PriorityVerdictMeaningAction
1 (P0)VOIDHard constitutional violationImmediate termination
2 (P1)HOLD_888Sovereign veto / human requiredBlock until ratified
3 (P2)SABARInsufficient grounding (F7/F9)Pause, cool down, re-ground
4 (P3)PARTIALData incomplete / conditionalProceed with modifications
5 (P4)SEALConstitutional alignment confirmedProceed

Derived Verdicts (not primary):

  • ALIVE β€” Session initialized, not yet grounded
  • PROVISIONAL β€” Exploratory result, needs confirmation

πŸ—ΊοΈ Tool Categories

arifOS tools are organized into 5 constitutional bands:

BandRangePurposeExamples
KERNEL000–099Session anchoring, constitutional initinit_anchor
SENSE100–199Environmental grounding (F2/F4)physics_reality, math_estimator
BRIDGE300–399Hardened routing and dispatcharifOS_kernel
MIND333Constitutional reasoning (F2/F4/F7/F8)agi_mind
HEART666Safety critique and impact prediction (F5/F6/F9)asi_heart
VAULT900–999Immutable ledger and seal (F1/F13)vault_ledger
APEX888Sovereign verdict and defense (F3/F12/F13)apex_soul

πŸ—‚οΈ Contract Truth Table

ToolF1F2F3F4F5F6F7F8F9F10F11F12F13
init_anchorβ€”β€”β€”β€”β€”β€”β€”β€”β€”β€”βœ…β€”β€”
physics_realityβ€”βœ…β€”βœ…β€”β€”β€”β€”β€”β€”β€”β€”β€”
agi_mindβ€”βœ…β€”βœ…β€”β€”βœ…βœ…β€”β€”β€”β€”β€”
asi_heartβ€”β€”β€”β€”βœ…βœ…β€”β€”βœ…β€”β€”β€”β€”
apex_soulβ€”β€”βœ…β€”β€”β€”β€”β€”β€”β€”β€”βœ…βœ…
vault_ledgerβœ…β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”βœ…

Legend: βœ… = mandatory floor for this tool


πŸ“‘ Horizon vs VPS Exposure Matrix

ToolHorizon (External)VPS (Internal)Notes
search_toolβœ…β€”External web search
reality_compassβœ…β€”Routing/external calls
vault_ledgerβ€”βœ…Internal Merkle chain
agi_mindβ€”βœ…Internal reasoning
architect_registryβœ…βœ…Both interfaces exposed

⚠️ Known Misalignments and Limitations

  1. apex_judge alias: The tool is canonically named apex_soul in code but exposed as apex_judge via MCP. This is a public alias documented here β€” do not rename canonical code without completing the full migration.

  2. physics_reality field name: Uses input field instead of query β€” historical inconsistency from legacy API.

  3. check_vital, audit_rules: Internal lifecycle tools in server_horizon.py bootstrap β€” NOT callable via MCP.

  4. agi_mind nested verdicts: When agi_mind returns verdict: "SEAL" at top-level but coherence.verdict: "SABAR" inside, the worst verdict wins (truth before speed).

  5. search_tool, vault_ledger, reality_compass: These "naked" tools return raw data without verdict wrapper. Wrap in RuntimeEnvelope with verdict_wrapper.forge_verdict() β€” empty results produce PARTIAL, not VOID.

  6. VerdictCode vs Verdict: Two separate enum classes exist β€” VerdictCode (SEAL/SABAR/PARTIAL/VOID) for verdict_wrapper and Verdict (includes HOLD/ALIVE/PROVISIONAL) for stage contracts. Keep separate to avoid breaking existing code.


πŸ›°οΈ MCP Call Schema Examples

init_anchor

config.json
{
  "tool": "init_anchor",
  "arguments": {
    "actor_id": "user-123",
    "declared_name": "Arif",
    "mode": "init"
  }
}

agi_mind (reason mode)

config.json
{
  "tool": "agi_mind",
  "arguments": {
    "mode": "reason",
    "query": "Why does entropy matter?",
    "constitutional_context": {
      "stage": "MIND_333",
      "floors_active": ["F2", "F4", "F7", "F8"]
    }
  }
}

vault_ledger (seal mode)

config.json
{
  "tool": "vault_ledger",
  "arguments": {
    "mode": "seal",
    "data": {
      "content": "Verified fact",
      "metadata": {"source": "arifOS"}
    }
  }
}

apex_soul (judge mode)

config.json
{
  "tool": "apex_soul",
  "arguments": {
    "mode": "judge",
    "action": "seal_vault",
    "stakes": "HIGH"
  }
}

πŸ” Stability Tiers

TierDescriptionVerdict Expected
AVerified, stable, ready for productionSEAL
BVerified, hardened, minor issues resolvedSEAL or PARTIAL
CVerified, known limitations documentedPARTIAL or SABAR
DExperimental, breaking changes possibleAny
INTERNALNot exposed via MCPN/A

πŸ›οΈ LICENSE

Runtime: AGPL-3.0 (must release modifications) Theory: CC0 (public domain)


Version: 2026.03.28-SEALED Maintainer: Muhammad Arif bin Fazil Constitutional Authority: 888_JUDGE

Ditempa Bukan Diberi β€” Forged, Not Given [ΔΩΨ | ARIF]


Code
β–ˆβ–ˆβ•—      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—
β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•
β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—     β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• 
β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•     β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘  β•šβ–ˆβ–ˆβ•”β•  
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘       β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•   β•šβ•β•       β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•β•šβ•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•šβ•β•  β•šβ•β•    β•šβ•β•   

Related MCP Servers

View all in Developer Tools View all alternatives
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    πŸ’» Developer Tools0 views
    Compare vs Ai Netcafe β†’
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    πŸ’» Developer Tools7 views
    Compare vs Claude Task Master β†’
  • W
    Windows MCP

    An MCP Server for computer-use in Windows OS

    πŸ’» Developer Tools1 views
    Compare vs Windows MCP β†’
  • Shadcn Ui Mcp Server logoShadcn Ui Mcp Server

    MCP server that gives AI assistants seamless access to shadcn/ui v4 components, blocks, demos, and metadata.

    πŸ’» Developer Tools2 views
    Compare vs Shadcn Ui Mcp Server β†’

Frequently Asked Questions about ArifOS β€” Constitutional AI Governance

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "arifos-constitutional-ai-governance": { "command": "npx", "args": ["-y", "arifOS β€” Constitutional AI Governance"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewArifOS β€” Constitutional AI Governance AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/arifos-constitutional-ai-governance?style=directory)](https://allmcps.com/mcp/arifos-constitutional-ai-governance)
HTML Embed
<a href="https://allmcps.com/mcp/arifos-constitutional-ai-governance"><img src="https://allmcps.com/api/badge/arifos-constitutional-ai-governance?style=directory" alt="ArifOS β€” Constitutional AI Governance on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
0/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to ArifOS β€” Constitutional AI Governance β†’Install in Claude DesktopInstall in CursorInstall in VS Code