Claude Desktop Setup
Connect Claude Desktop to arifOS for constitutional AI governance with full MCP integration.
Prerequisites
- Claude Desktop installed
- macOS, Windows, or Linux
Configuration
Step 1: Locate Config File
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:
%APPDATA%\Claude\claude_desktop_config.json
Linux:
~/.config/claude/claude_desktop_config.json
Step 2: Add arifOS Server
Open the config file and add:
{
"mcpServers": {
"arifOS": {
"url": "https://arifos.arif-fazil.com/sse"
}
}
}
Step 3: Restart Claude Desktop
Completely quit and reopen Claude Desktop. The arifOS tools should now appear.
Verify Connection
After restarting, you should see 5 new tools available:
| Tool | Icon | Purpose |
|---|---|---|
init_000 | 🚪 | Initialize session |
agi_genius | 🧠 | Truth & reasoning |
asi_act | ❤️ | Empathy & safety |
apex_judge | ⚖️ | Final verdict |
vault_999 | 🔒 | Seal decision |
Usage Example
Once connected, Claude will automatically use arifOS tools when appropriate. Try:
"Use the arifOS tools to verify: What is the capital of France?"
Claude will:
- Call
init_000to initialize - Call
agi_geniusto verify truth - Call
asi_actto check empathy - Call
apex_judgefor verdict - Call
vault_999to seal
Local Server Option
For lower latency or offline use, run arifOS locally:
Step 1: Install arifOS
pip install arifos
Step 2: Update Config
{
"mcpServers": {
"arifOS": {
"command": "python",
"args": ["-m", "arifos.mcp"]
}
}
}
Step 3: Restart Claude Desktop
The local server will start automatically when Claude Desktop launches.
Troubleshooting
Tools Not Appearing
- Check JSON syntax — Use a JSON validator
- Check file location — Must be in the exact path for your OS
- Restart completely — Quit Claude Desktop fully, then reopen
Connection Refused
- Check server status: Visit https://arifos.arif-fazil.com/health
- Check firewall: Ensure outbound HTTPS is allowed
- Try local server: Use the local installation method above
Tool Calls Failing
Check the response for floor violations:
{
"verdict": "VOID",
"reason": "F2 (Truth) failed",
"floor_summary": {
"failed": ["F2"]
}
}
This means the governance system is working correctly!
Advanced Configuration
Multiple MCP Servers
{
"mcpServers": {
"arifOS": {
"url": "https://arifos.arif-fazil.com/sse"
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
}
}
}
Custom Timeout
{
"mcpServers": {
"arifOS": {
"url": "https://arifos.arif-fazil.com/sse",
"timeout": 30000
}
}
}
Next Steps
- Claude Code Setup — Terminal-based Claude
- Python Integration — Programmatic access
- MCP Examples — Request/response examples