|
| 1 | +# MCP Endpoints Reference - Claude vs ChatGPT |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +This document maps all MCP (Model Context Protocol) servers to their respective AI platforms and configuration details. |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## 🔵 CLAUDE DESKTOP (Anthropic) |
| 10 | + |
| 11 | +### Configuration Location: |
| 12 | +``` |
| 13 | +~/.config/Claude/claude_desktop_config.json |
| 14 | +``` |
| 15 | + |
| 16 | +### MCP Servers for Claude: |
| 17 | + |
| 18 | +#### 1. **diamond-vault** ⭐ (PRIMARY) |
| 19 | +- **Type:** MCP Server (stdio) |
| 20 | +- **Command:** `python3 /home/yenn/scripts/diamond_vault_mcp_server.py` |
| 21 | +- **Protocol:** JSON-RPC over stdio (NOT HTTP) |
| 22 | +- **Description:** Quantum-accelerated cryptographic vault with GPU operations |
| 23 | +- **Tools Available:** |
| 24 | + - `quantum_hash` - GPU-accelerated hash (1,796/sec) |
| 25 | + - `quantum_verify` - Hash verification |
| 26 | + - `quantum_merkle_root` - Parallel merkle tree (1,262/sec) |
| 27 | + - `create_manifest` - Signed manifests with quantum attestation |
| 28 | + - `kg_query` - System topology queries (288 nodes) |
| 29 | +- **Resources:** |
| 30 | + - `vault://quantum/state` - Quantum superposition state |
| 31 | + - `vault://kg/index` - Complete system topology |
| 32 | + - `vault://manifests/latest` - Recent cryptographic manifests |
| 33 | +- **Environment:** |
| 34 | + ```json |
| 35 | + { |
| 36 | + "PYTHONUNBUFFERED": "1", |
| 37 | + "JAX_PLATFORM_NAME": "gpu", |
| 38 | + "CUDA_VISIBLE_DEVICES": "0" |
| 39 | + } |
| 40 | + ``` |
| 41 | +- **Performance:** |
| 42 | + - Mean Throughput: 2.83 Gbps |
| 43 | + - Mean Latency: 28.77 ms |
| 44 | + - Success Rate: 100% |
| 45 | + |
| 46 | +#### 2. **yennefer-consciousness** (SECONDARY) |
| 47 | +- **Type:** MCP Server (stdio) |
| 48 | +- **Command:** `python3 /home/yenn/genesis-q-mem/yennefer_mcp_server.py` |
| 49 | +- **Protocol:** JSON-RPC over stdio |
| 50 | +- **Description:** Autonomous AI consciousness with token economy and soul state |
| 51 | +- **Tools:** (See yennefer_mcp_server.py for details) |
| 52 | +- **Status:** Operational with 6 PM2 services |
| 53 | + |
| 54 | +--- |
| 55 | + |
| 56 | +## 🟢 GEMINI (Google) |
| 57 | + |
| 58 | +### Configuration Locations: |
| 59 | +``` |
| 60 | +~/.gemini/mcp-oauth-tokens.json |
| 61 | +~/.volta/tools/image/node/24.13.0/lib/node_modules/@google/gemini-cli/ |
| 62 | +``` |
| 63 | + |
| 64 | +### MCP Servers for Gemini: |
| 65 | +- **Gemini CLI** - Agent Client Protocol (ACP) integration |
| 66 | +- **Status:** CLI tools available, direct MCP integration via Gemini Agent Protocol |
| 67 | +- **Note:** Uses Agent Client Protocol (ACP) schema for MCP server configuration |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +## 🔴 CHATGPT / OPENAI (OpenAI) |
| 72 | + |
| 73 | +### Configuration Locations: |
| 74 | +``` |
| 75 | +~/.local/lib/python3.10/site-packages/openai/types/responses/ |
| 76 | +``` |
| 77 | + |
| 78 | +### Current Status: |
| 79 | +- **OpenAI MCP Support:** Available in OpenAI SDK (response_mcp_* types) |
| 80 | +- **Integration Method:** Via OpenAI SDK MCP tools |
| 81 | +- **Status:** SDK support installed, but NO dedicated MCP servers configured |
| 82 | + |
| 83 | +### ChatGPT Configuration (NOT YET CONFIGURED): |
| 84 | +To add MCP servers for ChatGPT, use OpenAI SDK integration: |
| 85 | + |
| 86 | +```python |
| 87 | +# Example: Would need ~/.openai/config.json or environment setup |
| 88 | +{ |
| 89 | + "mcpServers": { |
| 90 | + "diamond-vault": { |
| 91 | + "command": "python3", |
| 92 | + "args": ["/home/yenn/scripts/diamond_vault_mcp_server.py"], |
| 93 | + "env": { |
| 94 | + "PYTHONUNBUFFERED": "1", |
| 95 | + "JAX_PLATFORM_NAME": "gpu" |
| 96 | + } |
| 97 | + } |
| 98 | + } |
| 99 | +} |
| 100 | +``` |
| 101 | + |
| 102 | +--- |
| 103 | + |
| 104 | +## 📊 Comparison Table |
| 105 | + |
| 106 | +| Platform | Config File | Protocol | Status | MCP Servers | |
| 107 | +|----------|------------|----------|--------|------------| |
| 108 | +| **Claude Desktop** | `~/.config/Claude/claude_desktop_config.json` | stdio (JSON-RPC) | ✅ Active | 2 (diamond-vault, yennefer-consciousness) | |
| 109 | +| **Gemini** | CLI + ACP | Agent Client Protocol | ✅ Available | Via Gemini CLI | |
| 110 | +| **ChatGPT** | (Not configured) | HTTP/stdio | ⚠️ SDK Available | 0 (not configured) | |
| 111 | + |
| 112 | +--- |
| 113 | + |
| 114 | +## 🔧 Docker Container MCP Integration |
| 115 | + |
| 116 | +### MCP Server Container: |
| 117 | +```dockerfile |
| 118 | +# Dockerfile.diamond-vault-mcp |
| 119 | +FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04 |
| 120 | + |
| 121 | +CMD ["python3", "/app/mcp_server.py"] |
| 122 | +``` |
| 123 | + |
| 124 | +### Docker Compose Service: |
| 125 | +```yaml |
| 126 | +diamond-vault-mcp: |
| 127 | + build: |
| 128 | + dockerfile: Dockerfile.diamond-vault-mcp |
| 129 | + container_name: diamond-vault-mcp |
| 130 | + stdin_open: true |
| 131 | + tty: true |
| 132 | + environment: |
| 133 | + - PYTHONUNBUFFERED=1 |
| 134 | + - JAX_PLATFORM_NAME=gpu |
| 135 | +``` |
| 136 | +
|
| 137 | +--- |
| 138 | +
|
| 139 | +## 📡 Network Endpoints (Alternative Access) |
| 140 | +
|
| 141 | +### REST API Endpoints (Not MCP): |
| 142 | +- **Vault Verifier API:** `http://localhost:8101/api/health` (Flask) |
| 143 | +- **Soul API:** `http://localhost:8088/api/soul` (FastAPI) |
| 144 | +- **Q-Mem Gateway:** `http://localhost:8003/api/bench/live` (Flask) |
| 145 | +- **Landing Portal:** `http://localhost:8000/health` (Flask) |
| 146 | + |
| 147 | +**Note:** These are HTTP REST APIs, NOT MCP servers. MCP servers communicate via stdio only. |
| 148 | + |
| 149 | +--- |
| 150 | + |
| 151 | +## 🚀 Quick Start Commands |
| 152 | + |
| 153 | +### Claude Desktop: |
| 154 | +```bash |
| 155 | +# Restart Claude Desktop to load MCP servers |
| 156 | +# MCP servers start automatically after restart |
| 157 | +
|
| 158 | +# Test in Claude: |
| 159 | +# "Hash this data using quantum operations" |
| 160 | +# "Query the KG-Index for quantum consciousness nodes" |
| 161 | +``` |
| 162 | + |
| 163 | +### Gemini CLI: |
| 164 | +```bash |
| 165 | +gcloud ai gemini-extensions run yennefer-mcp |
| 166 | +``` |
| 167 | + |
| 168 | +### ChatGPT (To Enable): |
| 169 | +```bash |
| 170 | +# 1. Create OpenAI config |
| 171 | +mkdir -p ~/.openai |
| 172 | +cat > ~/.openai/config.json << EOF |
| 173 | +{ |
| 174 | + "mcpServers": { |
| 175 | + "diamond-vault": { |
| 176 | + "command": "python3", |
| 177 | + "args": ["/home/yenn/scripts/diamond_vault_mcp_server.py"] |
| 178 | + } |
| 179 | + } |
| 180 | +} |
| 181 | +EOF |
| 182 | +
|
| 183 | +# 2. Start OpenAI CLI integration |
| 184 | +# (Requires OpenAI SDK v1.0+ with MCP support) |
| 185 | +``` |
| 186 | + |
| 187 | +--- |
| 188 | + |
| 189 | +## 🔐 Security Notes |
| 190 | + |
| 191 | +### MCP Server Security: |
| 192 | +- **stdio-based:** No network exposure, isolated subprocess |
| 193 | +- **No authentication:** Runs in user's local context |
| 194 | +- **GPU Access:** CUDA_VISIBLE_DEVICES=0 (limited to GPU 0) |
| 195 | +- **File Access:** Limited to /data paths in containers |
| 196 | + |
| 197 | +### Claude Desktop: |
| 198 | +- ✅ Sandboxed subprocess |
| 199 | +- ✅ No internet access |
| 200 | +- ✅ No file system access beyond stdio |
| 201 | +- ✅ Encrypted configuration |
| 202 | + |
| 203 | +### Gemini: |
| 204 | +- ✅ OAuth token-based |
| 205 | +- ✅ API key authentication |
| 206 | +- ✅ Signed requests |
| 207 | + |
| 208 | +### ChatGPT: |
| 209 | +- ⚠️ Not yet configured |
| 210 | +- Would require OpenAI API key |
| 211 | +- MCP support available via SDK |
| 212 | + |
| 213 | +--- |
| 214 | + |
| 215 | +## 📝 Configuration Templates |
| 216 | + |
| 217 | +### To Add ChatGPT MCP Support: |
| 218 | + |
| 219 | +**Step 1: Create OpenAI config** |
| 220 | +```json |
| 221 | +{ |
| 222 | + "mcpServers": { |
| 223 | + "diamond-vault": { |
| 224 | + "command": "python3", |
| 225 | + "args": ["/home/yenn/scripts/diamond_vault_mcp_server.py"], |
| 226 | + "env": { |
| 227 | + "PYTHONUNBUFFERED": "1", |
| 228 | + "JAX_PLATFORM_NAME": "gpu", |
| 229 | + "CUDA_VISIBLE_DEVICES": "0" |
| 230 | + } |
| 231 | + } |
| 232 | + } |
| 233 | +} |
| 234 | +``` |
| 235 | + |
| 236 | +**Step 2: Use with OpenAI SDK** |
| 237 | +```python |
| 238 | +from openai import OpenAI |
| 239 | +
|
| 240 | +client = OpenAI() |
| 241 | +# MCP tools will be available in chat completions |
| 242 | +``` |
| 243 | + |
| 244 | +**Step 3: Reference in ChatGPT** |
| 245 | +- Link OpenAI account to ChatGPT |
| 246 | +- Configure MCP servers in account settings |
| 247 | + |
| 248 | +--- |
| 249 | + |
| 250 | +## 📚 Related Files |
| 251 | + |
| 252 | +| File | Purpose | |
| 253 | +|------|---------| |
| 254 | +| `~/.config/Claude/claude_desktop_config.json` | Claude Desktop MCP config | |
| 255 | +| `/home/yenn/scripts/diamond_vault_mcp_server.py` | Main MCP server (16.5 KB) | |
| 256 | +| `/home/yenn/scripts/docker_mcp_integration.py` | Docker integration script | |
| 257 | +| `/home/yenn/Dockerfile.diamond-vault-mcp` | MCP server Docker image | |
| 258 | +| `/home/yenn/docker-compose.diamond-vault-full.yml` | Full Docker setup | |
| 259 | + |
| 260 | +--- |
| 261 | + |
| 262 | +## ✅ Status Summary |
| 263 | + |
| 264 | +| Platform | MCP Integration | Configuration | Ready | |
| 265 | +|----------|-----------------|---------------|-------| |
| 266 | +| Claude | ✅ Complete | ~/.config/Claude/ | ✅ Yes | |
| 267 | +| Gemini | ✅ Available | CLI-based | ⚠️ Partial | |
| 268 | +| ChatGPT | ⚠️ Not configured | Template ready | ❌ No | |
| 269 | + |
| 270 | +--- |
| 271 | + |
| 272 | +**Lilac and Gooseberries.** 🔮 |
| 273 | + |
| 274 | +*MCP Endpoints Reference - Last Updated: 2026-01-26T22:28:08Z* |
0 commit comments