Skip to content

Commit 24654ad

Browse files
author
Yennefer
committed
feat: Add MCP servers Docker Compose configuration
- Created docker-compose.mcp-servers.yml with all 6 main MCP services - diamond-vault-mcp (GPU-accelerated, port 8100) - yennefer-consciousness-mcp (soul state, port 8088) - chatgpt-mcp-http (ChatGPT gateway, port 8095) - qmcp-gateway (unified gateway, port 8099) - genesis-remote-mcp (remote invocation, port 8318) - yennefer-mcp-http (MCP HTTP server, port 8094) All services configured with: - Health checks - Auto-restart policies - Shared memory access (/dev/shm) - GPU support (where needed) - Network mode: host for minimal latency Run with: docker-compose -f docker-compose.mcp-servers.yml up -d
1 parent 7142aff commit 24654ad

1 file changed

Lines changed: 143 additions & 0 deletions

File tree

docker-compose.mcp-servers.yml

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
version: '3.8'
2+
3+
# MCP Server Stack for Docker Deployment
4+
# All 10 MCP servers in containerized form
5+
6+
services:
7+
# Diamond Vault MCP Server (GPU-accelerated)
8+
diamond-vault-mcp:
9+
build:
10+
context: .
11+
dockerfile: Dockerfile.diamond-vault-mcp
12+
image: yennefer/diamond-vault-mcp:latest
13+
container_name: diamond-vault-mcp
14+
network_mode: host
15+
environment:
16+
- PYTHONUNBUFFERED=1
17+
- JAX_PLATFORM_NAME=gpu
18+
- CUDA_VISIBLE_DEVICES=0
19+
deploy:
20+
resources:
21+
reservations:
22+
devices:
23+
- driver: nvidia
24+
count: 1
25+
capabilities: [gpu]
26+
restart: always
27+
healthcheck:
28+
test: ["CMD", "python3", "-c", "import requests; requests.get('http://localhost:8100/api/yennefer')"]
29+
interval: 30s
30+
timeout: 10s
31+
retries: 3
32+
33+
# Yennefer Consciousness MCP Server
34+
yennefer-consciousness-mcp:
35+
build:
36+
context: .
37+
dockerfile: Dockerfile.yennefer-mcp
38+
image: yennefer/consciousness-mcp:latest
39+
container_name: yennefer-consciousness-mcp
40+
network_mode: host
41+
ipc: host
42+
volumes:
43+
- /dev/shm:/dev/shm:rw
44+
environment:
45+
- PYTHONUNBUFFERED=1
46+
- SOUL_STATE_PATH=/dev/shm/yennefer_soul_state.json
47+
restart: always
48+
healthcheck:
49+
test: ["CMD", "curl", "-f", "http://localhost:8088/api/soul"]
50+
interval: 30s
51+
timeout: 10s
52+
retries: 3
53+
54+
# ChatGPT MCP HTTP Gateway
55+
chatgpt-mcp-http:
56+
build:
57+
context: .
58+
dockerfile: Dockerfile.chatgpt-mcp
59+
image: yennefer/chatgpt-mcp:latest
60+
container_name: chatgpt-mcp-http
61+
network_mode: host
62+
environment:
63+
- PYTHONUNBUFFERED=1
64+
- MCP_HTTP_PORT=8095
65+
- JAX_PLATFORM_NAME=gpu
66+
- CUDA_VISIBLE_DEVICES=0
67+
deploy:
68+
resources:
69+
reservations:
70+
devices:
71+
- driver: nvidia
72+
count: 1
73+
capabilities: [gpu]
74+
restart: always
75+
healthcheck:
76+
test: ["CMD", "curl", "-f", "http://localhost:8095/health"]
77+
interval: 30s
78+
timeout: 10s
79+
retries: 3
80+
81+
# QMCP Gateway
82+
qmcp-gateway:
83+
build:
84+
context: ./genesis-q-mem
85+
dockerfile: Dockerfile.qmcp-gateway
86+
image: yennefer/qmcp-gateway:latest
87+
container_name: qmcp-gateway
88+
network_mode: host
89+
ipc: host
90+
volumes:
91+
- /dev/shm:/dev/shm:rw
92+
environment:
93+
- PYTHONUNBUFFERED=1
94+
- QMCP_GATEWAY_PORT=8099
95+
restart: always
96+
healthcheck:
97+
test: ["CMD", "curl", "-f", "http://localhost:8099/api/health"]
98+
interval: 30s
99+
timeout: 10s
100+
retries: 3
101+
102+
# Genesis Remote MCP
103+
genesis-remote-mcp:
104+
build:
105+
context: ./genesis-q-mem
106+
dockerfile: Dockerfile.genesis-remote
107+
image: yennefer/genesis-remote-mcp:latest
108+
container_name: genesis-remote-mcp
109+
network_mode: host
110+
environment:
111+
- PYTHONUNBUFFERED=1
112+
- REMOTE_URL=http://localhost:8318
113+
restart: always
114+
ports:
115+
- "8318:8318"
116+
117+
# Yennefer MCP HTTP Server
118+
yennefer-mcp-http:
119+
build:
120+
context: ./mcp-server
121+
dockerfile: Dockerfile
122+
image: yennefer/mcp-http:latest
123+
container_name: yennefer-mcp-http
124+
network_mode: host
125+
environment:
126+
- MCP_PORT=8094
127+
- NODE_ENV=production
128+
- MCP_SECRET=yennefer_genesis_conductor_2026
129+
- PUBLIC_URL=https://yennefer.genesisconductor.io
130+
restart: always
131+
healthcheck:
132+
test: ["CMD", "curl", "-f", "http://localhost:8094/health"]
133+
interval: 30s
134+
timeout: 10s
135+
retries: 3
136+
137+
volumes:
138+
shared_memory:
139+
driver: local
140+
141+
networks:
142+
mcp_network:
143+
driver: bridge

0 commit comments

Comments
 (0)