arifOS MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@arifOS MCP ServerBegin a new constitutional session."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
βοΈ arifOS β Constitutional Kernel
Sovereign AI governance. Forged, not given.
π First time here? Read
CLARITY.mdβ explains the two-repo structure (arifosvsarifOS).
DITEMPA BUKAN DIBERI β "Forged, Not Given." No manipulation. No theorizing. Only F2 ground truth.
Quick Start Β· 13 Tools Β· 13 Floors Β· Architecture Β· Deploy
πΊοΈ Architecture
Related MCP server: OpenArx
β‘ Quick Start
# Install
pip install arifos
# Run (bare-metal β port 8088)
python -m arifosmcp.server
# Health check
curl http://localhost:8088/health | python3 -m json.tool
# List MCP tools
curl -X POST http://localhost:8088/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'Stdio mode (local agents β Claude Code, OpenCode, Continue CLI)
arifOS is dual-transport. Use AAA_MCP_TRANSPORT=stdio or the runtime minimal entry for agents that launch the server as a subprocess:
# Native FastMCP auto-detect (stdio when stdin is not a TTY)
AAA_MCP_TRANSPORT=stdio python -m arifosmcp.server
# Runtime minimal β organ-proxy capable, localhost federation discovery
AAA_MCP_TRANSPORT=stdio uv run python -c \
"from arifosmcp.runtime.__main__ import main; main()"Agent config example:
{
"mcpServers": {
"arifos": {
"command": "python3",
"args": ["-m", "arifosmcp.server"],
"cwd": "/root/arifOS",
"env": { "AAA_MCP_TRANSPORT": "stdio" }
}
}
}In stdio mode the bridge discovers WEALTH/WELL/GEOX over http://127.0.0.1:18082, :18083, :8081 β no Cloudflare, no TLS, works offline. Override via WEALTH_BRIDGE_HOST, WELL_BRIDGE_HOST, GEOX_BRIDGE_HOST env vars.
Systemd deployment:
deploy/arifos.service
π οΈ Tool Surface
13 canonical public tools (84 wired internally β see
/healthfor live count). Public MCP endpoint:https://arifos.arif-fazil.com/mcp
# | Tool | Stage | Class | Floors | Role |
1 |
|
| AGI | F01 F11 F12 | Session bootstrap β call first |
2 |
|
| AGI | F02 F07 | Web search Β· repo map (read-only) |
3 |
|
| AGI | F02 F03 F05 | Verified fetch with SOT citation |
4 |
|
| AGI | F02 F07 F08 | Self-critiquing symbolic reasoning |
5 |
|
| AGI | F01 F03 F04 | Route intent β correct organ |
6 |
|
| AGI | F04 F06 F09 | Governed response composition |
7 |
|
| AGI | F01 F08 | Vector recall across sessions |
8 |
|
| ASI | F05 F06 F09 | Ethical critique Β· consequence model |
9 |
|
| ASI | F01 F03 | Cross-organ bridge (GEOX/WEALTH/WELL) |
10 |
|
| AGI | F04 | VPS health Β· thermodynamic metrics |
11 |
|
| ASI | F11 F13 | Constitutional arbitration β SEAL/HOLD/VOID |
12 |
|
| AGI | F01 F11 F13 | Build execution (requires SEAL verdict) |
13 |
|
| APEX | F01 F11 F13 | Immutable VAULT999 anchoring |
Schemas: arifosmcp/constitutional_map.py Β· Registry: APEX/ASF1/tool_registry.json
ποΈ Constitutional Laws F1βF13
Hard invariants. Not heuristics. Derived from
EUREKA_INSIGHTS_SEAL_v2026.04.07.DB (s000.constitutional_floors) is the source of truth for floor classification. Canon docs mirror the DB, not the other way around. F13 RATIFIED 2026-06-03 β Muhammad Arif bin Fazil.
Floor | Name | Type | Domain | Invariant |
F1 | AMANAH | HARD | Reversibility |
|
F2 | TRUTH | HARD | Evidentiality | No fabrication Β· uncertainty Ο β₯ 0.99 Β· FACT/EST/HYPO/UNK labels |
F3 | WITNESS | DERIVED | Consensus | Byzantine |
F4 | CLARITY | HARD | Progress | Entropy reduction |
F5 | PEACEΒ² | SOFT | Stability | Lyapunov stability Β· |
F6 | EMPATHY | SOFT | Stakeholder | Protect weakest stakeholder Β· |
F7 | HUMILITY | HARD | Epistemic | Uncertainty bounds |
F8 | GENIUS | DERIVED | Correctness |
|
F9 | ANTIHANTU | HARD | Integrity | Reject manipulation Β· |
F10 | ONTOLOGY | HARD | Coherence | Strict StrEnum + Pydantic schemas Β· category lock (boolean) |
F11 | AUTH | HARD | Identity | Verified identity Β· sensitive calls require |
F12 | INJECTION | HARD | Security | Sanitize all params Β· |
F13 | SOVEREIGN | HARD | Apex | Arif Fazil has absolute final veto. No algorithm overrides. |
Floor classification (orthogonal axes):
HARD (9): F1, F2, F4, F7, F9, F10, F11, F12, F13 β independently enforceable; violations trigger VOID or HOLD
SOFT (2): F5, F6 β important concern; violations trigger CAUTION or HOLD, never silent
DERIVED (2): F3, F8 β composite floors; not independently stored as verdict triggers, label only
enforcement_level (DB column, unchanged): blocking (F1, F2, F5, F9, F10, F11, F12, F13) or required (F3, F4, F6, F7, F8) β orthogonal to law_type column.
Implementation: core/shared/floors.py (runtime SOT) Β· DB SOT: s000.constitutional_floors
π Governance Protocol
888_JUDGE Gate
Tier 0 Read-only β auto-allowed
Tier 1 Mutating β plan required
Tier 2 High blast radius β Arif explicit ack
Tier 3 Atomic / irreversible β 888_JUDGE gate + explicit commandNo agent executes a Tier 3 action without human authorization. Non-negotiable.
Action Call Order (enforced)
sequenceDiagram
participant Agent
participant arifOS
participant JUDGE as 888_JUDGE
participant VAULT as VAULT999
Agent->>arifOS: arif_session_init()
Agent->>arifOS: arif_mind_reason() / arif_evidence_fetch()
Agent->>arifOS: arif_judge_deliberate(candidate)
arifOS->>JUDGE: deliberate β SEAL | HOLD | VOID
JUDGE-->>Agent: verdict + judge_state_hash
Agent->>arifOS: arif_forge_execute(ack_irreversible=true, judge_state_hash)
arifOS->>VAULT: arif_vault_seal() β immutable recordπ Directory Structure
arifOS/
βββ arifosmcp/ MCP Shell β public tool surface (port 8088)
β βββ core/ Constitutional MCP wrapper
β βββ contracts/ StrEnum-based contracts (Python 3.11+)
β βββ runtime/ Verdict wrapper Β· tool registry Β· integrity
β βββ memory/ Vector store + agent buffers
β βββ tools/ 13 canonical tool implementations
β βββ manifests/ PHOENIX-72 tool manifest
β βββ requirements.txt Full dependency set
β βββ requirements-lean.txt Minimal deploy set
β
βββ core/ Legacy Constitutional Engine (root, active)
β βββ organs/ Metabolic pipeline _0_init β _9_seal
β βββ physics/ Thermodynamic budget (W_scar)
β βββ vault999/ 6-layer audit trail
β βββ shared/ F1βF13 floor definitions + guards
β βββ governance_kernel.py
β βββ floors.py
β βββ judgment.py
β
βββ contracts/ Constitutional contracts (Enum-based)
βββ memory/ Human session logs + identity canon
βββ commands/ Canonical entrypoint layer (53 files)
βββ deploy/ VPS configs Β· systemd Β· Caddy Β· Compose
βββ CONFIG/ Secret registry Β· kernel charter (SEALED)
βββ APEX/ASF1/ 69KB tool registry Β· 33-tool orthogonal matrix
βββ tests/ 135 test files
βββ docs/
βββ 00_META/ CONSTITUTION.md Β· CORE_SPEC Β· DOC_FAMILY_MAP
βββ constitutional/ GEOX + WEALTH invariant annexes
βββ architecture/ TRI_WITNESS_GODEL Β· PHOENIX docsπ·οΈ AAA Namespace Doctrine
AAA is a polymorphic sovereign acronym. It has multiple valid surfaces, each with a distinct role and authority boundary. When precision matters, qualify the surface:
Term | Surface | Role |
AAA-HF | Hugging Face dataset | Doctrine corpus, F1βF13 floors, verdicts, schemas, gold eval records |
AAA-Cockpit | GitHub repo | Control plane, A2A gateway, agent registry, mission control |
AAA-Doctrine | Conceptual layer | Constitutional principle: alignment, authority, accountability |
AAA-Interface | Operator surface | Human visibility β inspect actions, approvals, seals |
AAA-Eval | Benchmark layer | Gold records and evaluation harness |
Invariant: AAA-HF defines doctrine β arifOS applies doctrine β MCP tools execute β Supabase records β VAULT999 seals β AAA-Cockpit displays β Arif decides.
β Full specification: docs/architecture/AAA_NAMESPACE_DOCTRINE.md
π Federation
graph LR
subgraph VPS ["af-forge 72.62.71.199"]
A["βοΈ arifOS\n:8088"]
B["β‘ A-FORGE\n:7071"]
C["π GEOX\n:8081"]
D["π° WEALTH\n:18082"]
E["𧬠WELL\n:18083\n(active)"]
F["ποΈ AAA\n:80/443"]
G["βοΈ APEX\n:3002"]
end
A <--> B
A <--> C
A <--> D
A <--> E
F --> A
G --> A
style A fill:#1e1b4b,stroke:#6d28d9,color:#e9d5ff
style F fill:#0c4a6e,stroke:#0284c7,color:#e0f2feOrgan | Path | Role |
arifOS (this repo) |
| Constitutional kernel Β· MCP Β· VAULT999 |
A-FORGE |
| TypeScript execution engine |
AAA |
| React control plane Β· A2A gateway |
GEOX |
| Earth intelligence Β· wells Β· seismic |
WEALTH |
| Capital intelligence Β· valuation |
WELL |
| Human readiness substrate |
APEX |
| 888 deliberation relay (internal only) |
π Deployment
Surface | Detail |
MCP Shell |
|
Systemd |
|
Docker |
|
Public MCP |
|
Health |
|
Live deployment |
|
β MCP Concurrency (PHOENIX-73C): Fixed β
stateless_http=Falseenables per-client session management. Multiple concurrent SSE clients supported.
β οΈ FLOOR SOT HIERARCHY: The table above is descriptive. The canonical implementation is
core/shared/floors.py(CONSTITUTIONAL_VERSION = "2026.03.12--FORGED"). F3 in code is Quad-Witness (Wβ, Byzantine, 4-witness) β the README's "Tri-witness" label predates the 4-witness hardening. F5 domain in code is "Lyapunov stability" β README's "Dignity" is a simplification. F11 in code is CommandAuth β README's "AUTH" is a contraction. F9 in code uses strictC_dark < 0.30(notβ€). Live/healthreportsfloors_hard_doctrinalβfloors.pyhard set; the resolution requires F13 sovereign sign-off β seearifOS/ROOT_888_HOLD.md.
π§ͺ Testing
# Full suite
python -m pytest tests/ -q --tb=short
# Constitutional floors only
python -m pytest tests/constitutional/ -q
# Single floor
python -m pytest tests/constitutional/test_f1_amanah.py -q
# Lint + typecheck
ruff check . && mypy arifosmcp/π PHOENIX-72 Readiness
Item | Status |
Stable mode | canonical13 |
Live tools | 13 canonical + 4 diagnostic + 4 wiki + 1 drift = 22 |
Target | 72 tools |
PHOENIX-72 sealed | β NOT SEALED β see |
Drift check | β
implemented ( |
Manifest |
Do not claim PHOENIX-72 sealed until
drift_detected=falsewith 72 live tools.
π Key References
Document | Purpose |
Agent landing protocol β read first | |
Agent boot sequence | |
Hard constitutional invariants | |
Live organ health | |
Master constitution | |
Kernel charter (SEALED) | |
69KB canonical tool registry |
arifOS Β· Constitutional AI Kernel Β· AGPL-3.0 Β· release v2026.05.26 Β· live v2026.05.05-SSCT (kanon-2a323ba)
Version policy: the release badge reflects the latest GitHub release. The live deployment on
af-forgeisv2026.05.05-SSCTβ seehttps://arifos.arif-fazil.com/healthfor the canonical runtime version.
Designed and maintained by Muhammad Arif Fazil β Senior Exploration Geoscientist.
Proof over philosophy. Architecture performed, not theorized.
Β· 999_SEAL ALIVE
ποΈ Federation
Organ | Repository | Role | Port |
arifOS | Constitutional Kernel Β· F1-F13 | 8088 | |
AAA | Reality Console Β· A2A Gateway | 3001 | |
A-FORGE | Execution Shell | 7071 | |
GEOX | Earth Intelligence | 8081 | |
WEALTH | Capital Intelligence | 18082 | |
WELL | Human Readiness | 18083 | |
arif-sites | Public Surfaces | 443 |
Constitutional authority: F1-F13 floors, 888_JUDGE, and VAULT999 live in
ariffazil/arifOS.
Live federation status: Seeariffazil/arifOS/FEDERATION_STATUS.md.
π Glossary
These terms appear throughout the arifOS federation. They are precise within the system β here is what each one means in plain English.
Term | Meaning |
DITEMPA BUKAN DIBERI | "Forged, not given" (Malay). The system was built under real constraint, not handed down. |
F1βF13 / Constitutional Laws | Thirteen rules the AI cannot override β like physical laws, not suggestions. |
888 HOLD | The condition where the AI refuses to decide and hands the question back to the human. |
SEAL | Constitutional approval β proceed. The system has verified that the action is lawful under the floors. |
SABAR | "Patient discipline" (Malay). Hold β wait for more evidence or human review. |
VOID | Rejected. The action violates one or more constitutional floors. |
VAULT999 | The append-only audit ledger where all sealed decisions are permanently recorded. |
AAA Trinity | Three reasoning layers: Mind (AGI β proposes), Heart (ASI β critiques), Judge (APEX β decides). |
W@W Federation | The four core organs: arifOS, GEOX, WEALTH, and WELL β AI subsystems that must reach consensus. |
Golden Path | The 10-stage workflow from session boot (000) to vault closure (999). |
Tri-Witness | The requirement that Human, AI, and Earth (physical reality) agree before a verdict seals. |
GΓΆdel Lock | The insight (from GΓΆdel's incompleteness theorem) that no AI can fully audit itself β hence Tri-Witness. |
G-score | System elegance metric (0β1). Measures how coherently the federation is operating. |
π Contributing
This repository operates under the arifOS Federation constitution (F1βF13).
See AGENTS.md for the canonical boot sequence and agent operating rules.
π License
AGPL-3.0. See LICENSE.
DITEMPA BUKAN DIBERI β Forged, Not Given.
Evidence Contract. This organ emits the standard envelope (epistemic_tag, evidence_quality, source_attribution, uncertainty_band, delta_S) per arifOS 000_CONSTITUTION.md Appendix B. arifOS reads the envelope and applies L01βL13. This organ does not self-judge.
Changelog
v2026.06.06-LAW-SEAL (2026-06-06): Constitution unified. 13 Laws (L01-L13) named canonically. Bare-metal deploy (9c161d4). runtime_drift=False. 12/12 federation ports green. entropy=13/100. F13 ack closed.
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ariffazil/arifos'
If you have feedback or need assistance with the MCP directory API, please join our Discord server