snow-flow 1.1.76 → 1.1.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/.claude-flow/queen/queen-memory.db +0 -0
  2. package/CLAUDE.md +34 -5
  3. package/README.md +256 -384
  4. package/dist/agents/base-agent.d.ts +92 -0
  5. package/dist/agents/base-agent.d.ts.map +1 -0
  6. package/dist/agents/base-agent.js +228 -0
  7. package/dist/agents/base-agent.js.map +1 -0
  8. package/dist/agents/coordinator.d.ts +200 -0
  9. package/dist/agents/coordinator.d.ts.map +1 -0
  10. package/dist/agents/coordinator.js +775 -0
  11. package/dist/agents/coordinator.js.map +1 -0
  12. package/dist/agents/flow-builder-agent.d.ts +18 -0
  13. package/dist/agents/flow-builder-agent.d.ts.map +1 -0
  14. package/dist/agents/flow-builder-agent.js +536 -0
  15. package/dist/agents/flow-builder-agent.js.map +1 -0
  16. package/dist/agents/index.d.ts +18 -0
  17. package/dist/agents/index.d.ts.map +1 -0
  18. package/dist/agents/index.js +61 -0
  19. package/dist/agents/index.js.map +1 -0
  20. package/dist/agents/queen-agent-example.d.ts +23 -0
  21. package/dist/agents/queen-agent-example.d.ts.map +1 -0
  22. package/dist/agents/queen-agent-example.js +241 -0
  23. package/dist/agents/queen-agent-example.js.map +1 -0
  24. package/dist/agents/queen-agent.d.ts +180 -0
  25. package/dist/agents/queen-agent.d.ts.map +1 -0
  26. package/dist/agents/queen-agent.js +909 -0
  27. package/dist/agents/queen-agent.js.map +1 -0
  28. package/dist/agents/queen-agent.test.d.ts +6 -0
  29. package/dist/agents/queen-agent.test.d.ts.map +1 -0
  30. package/dist/agents/queen-agent.test.js.map +1 -0
  31. package/dist/agents/script-writer-agent.d.ts +22 -0
  32. package/dist/agents/script-writer-agent.d.ts.map +1 -0
  33. package/dist/agents/script-writer-agent.js +695 -0
  34. package/dist/agents/script-writer-agent.js.map +1 -0
  35. package/dist/agents/security-agent.d.ts +23 -0
  36. package/dist/agents/security-agent.d.ts.map +1 -0
  37. package/dist/agents/security-agent.js +619 -0
  38. package/dist/agents/security-agent.js.map +1 -0
  39. package/dist/agents/test-agent.d.ts +26 -0
  40. package/dist/agents/test-agent.d.ts.map +1 -0
  41. package/dist/agents/test-agent.js +735 -0
  42. package/dist/agents/test-agent.js.map +1 -0
  43. package/dist/agents/test-agents.d.ts +7 -0
  44. package/dist/agents/test-agents.d.ts.map +1 -0
  45. package/dist/agents/test-agents.js +65 -0
  46. package/dist/agents/test-agents.js.map +1 -0
  47. package/dist/agents/widget-creator-agent.d.ts +18 -0
  48. package/dist/agents/widget-creator-agent.d.ts.map +1 -0
  49. package/dist/agents/widget-creator-agent.js +440 -0
  50. package/dist/agents/widget-creator-agent.js.map +1 -0
  51. package/dist/cli/snow-flow-cli-integration.d.ts +30 -0
  52. package/dist/cli/snow-flow-cli-integration.d.ts.map +1 -0
  53. package/dist/cli/snow-flow-cli-integration.js +385 -0
  54. package/dist/cli/snow-flow-cli-integration.js.map +1 -0
  55. package/dist/cli.js +466 -150
  56. package/dist/cli.js.map +1 -1
  57. package/dist/config/snow-flow-config.d.ts +1454 -0
  58. package/dist/config/snow-flow-config.d.ts.map +1 -0
  59. package/dist/config/snow-flow-config.js +403 -0
  60. package/dist/config/snow-flow-config.js.map +1 -0
  61. package/dist/health/system-health.d.ts +123 -0
  62. package/dist/health/system-health.d.ts.map +1 -0
  63. package/dist/health/system-health.js +580 -0
  64. package/dist/health/system-health.js.map +1 -0
  65. package/dist/index.d.ts +12 -1
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +19 -3
  68. package/dist/index.js.map +1 -1
  69. package/dist/mcp/servicenow-deployment-mcp-refactored.d.ts +58 -0
  70. package/dist/mcp/servicenow-deployment-mcp-refactored.d.ts.map +1 -0
  71. package/dist/mcp/servicenow-deployment-mcp-refactored.js +651 -0
  72. package/dist/mcp/servicenow-deployment-mcp-refactored.js.map +1 -0
  73. package/dist/mcp/servicenow-intelligent-mcp-refactored.d.ts +43 -0
  74. package/dist/mcp/servicenow-intelligent-mcp-refactored.d.ts.map +1 -0
  75. package/dist/mcp/servicenow-intelligent-mcp-refactored.js +576 -0
  76. package/dist/mcp/servicenow-intelligent-mcp-refactored.js.map +1 -0
  77. package/dist/mcp/servicenow-intelligent-mcp.d.ts +102 -1
  78. package/dist/mcp/servicenow-intelligent-mcp.d.ts.map +1 -1
  79. package/dist/mcp/servicenow-intelligent-mcp.js +2 -0
  80. package/dist/mcp/servicenow-intelligent-mcp.js.map +1 -1
  81. package/dist/mcp/shared/agent-context-provider.d.ts +77 -0
  82. package/dist/mcp/shared/agent-context-provider.d.ts.map +1 -0
  83. package/dist/mcp/shared/agent-context-provider.js +292 -0
  84. package/dist/mcp/shared/agent-context-provider.js.map +1 -0
  85. package/dist/mcp/shared/base-mcp-server.d.ts +97 -0
  86. package/dist/mcp/shared/base-mcp-server.d.ts.map +1 -0
  87. package/dist/mcp/shared/base-mcp-server.js +216 -0
  88. package/dist/mcp/shared/base-mcp-server.js.map +1 -0
  89. package/dist/mcp/shared/mcp-memory-manager.d.ts +87 -0
  90. package/dist/mcp/shared/mcp-memory-manager.d.ts.map +1 -0
  91. package/dist/mcp/shared/mcp-memory-manager.js +423 -0
  92. package/dist/mcp/shared/mcp-memory-manager.js.map +1 -0
  93. package/dist/memory/index.d.ts +9 -0
  94. package/dist/memory/index.d.ts.map +1 -0
  95. package/dist/memory/index.js +20 -0
  96. package/dist/memory/index.js.map +1 -0
  97. package/dist/memory/mcp-integration-example.d.ts +6 -0
  98. package/dist/memory/mcp-integration-example.d.ts.map +1 -0
  99. package/dist/memory/mcp-integration-example.js +282 -0
  100. package/dist/memory/mcp-integration-example.js.map +1 -0
  101. package/dist/memory/memory-client.d.ts +184 -0
  102. package/dist/memory/memory-client.d.ts.map +1 -0
  103. package/dist/memory/memory-client.js +325 -0
  104. package/dist/memory/memory-client.js.map +1 -0
  105. package/dist/memory/memory-operations.d.ts +170 -0
  106. package/dist/memory/memory-operations.d.ts.map +1 -0
  107. package/dist/memory/memory-operations.js +639 -0
  108. package/dist/memory/memory-operations.js.map +1 -0
  109. package/dist/memory/memory-system.d.ts +118 -0
  110. package/dist/memory/memory-system.d.ts.map +1 -0
  111. package/dist/memory/memory-system.js +477 -0
  112. package/dist/memory/memory-system.js.map +1 -0
  113. package/dist/memory/memory-test.d.ts +6 -0
  114. package/dist/memory/memory-test.d.ts.map +1 -0
  115. package/dist/memory/memory-test.js +162 -0
  116. package/dist/memory/memory-test.js.map +1 -0
  117. package/dist/memory/swarm-memory.d.ts +135 -0
  118. package/dist/memory/swarm-memory.d.ts.map +1 -0
  119. package/dist/memory/swarm-memory.js +378 -0
  120. package/dist/memory/swarm-memory.js.map +1 -0
  121. package/dist/monitoring/performance-tracker.d.ts +157 -0
  122. package/dist/monitoring/performance-tracker.d.ts.map +1 -0
  123. package/dist/monitoring/performance-tracker.js +571 -0
  124. package/dist/monitoring/performance-tracker.js.map +1 -0
  125. package/dist/queen/agent-factory.d.ts +3 -0
  126. package/dist/queen/agent-factory.d.ts.map +1 -1
  127. package/dist/queen/agent-factory.js +52 -0
  128. package/dist/queen/agent-factory.js.map +1 -1
  129. package/dist/queen/queen-memory.d.ts +8 -2
  130. package/dist/queen/queen-memory.d.ts.map +1 -1
  131. package/dist/queen/queen-memory.js +46 -4
  132. package/dist/queen/queen-memory.js.map +1 -1
  133. package/dist/snow-flow-system.d.ts +132 -0
  134. package/dist/snow-flow-system.d.ts.map +1 -0
  135. package/dist/snow-flow-system.js +396 -0
  136. package/dist/snow-flow-system.js.map +1 -0
  137. package/dist/types/todo.types.d.ts +61 -0
  138. package/dist/types/todo.types.d.ts.map +1 -0
  139. package/dist/types/todo.types.js +7 -0
  140. package/dist/types/todo.types.js.map +1 -0
  141. package/dist/utils/error-recovery.d.ts +101 -0
  142. package/dist/utils/error-recovery.d.ts.map +1 -0
  143. package/dist/utils/error-recovery.js +548 -0
  144. package/dist/utils/error-recovery.js.map +1 -0
  145. package/dist/version.d.ts +1 -1
  146. package/dist/version.js +1 -1
  147. package/package.json +7 -2
  148. package/deploy.sh +0 -366
  149. package/docker/base/Dockerfile.base +0 -45
  150. package/docker/generate-services.js +0 -244
  151. package/docker/nginx/Dockerfile +0 -71
  152. package/docker/nginx/consul-template.hcl +0 -64
  153. package/docker/nginx/healthcheck.sh +0 -178
  154. package/docker/nginx/nginx.conf +0 -210
  155. package/docker/nginx/supervisord.conf +0 -57
  156. package/docker/nginx/templates/upstreams.conf.tpl +0 -48
  157. package/docker/services/automation-mcp/Dockerfile +0 -32
  158. package/docker/services/automation-mcp/config/service.json +0 -28
  159. package/docker/services/automation-mcp/entrypoint.js +0 -51
  160. package/docker/services/deployment-mcp/Dockerfile +0 -32
  161. package/docker/services/deployment-mcp/entrypoint.js +0 -51
  162. package/docker/services/flow-composer-mcp/Dockerfile +0 -32
  163. package/docker/services/flow-composer-mcp/config/service.json +0 -28
  164. package/docker/services/flow-composer-mcp/entrypoint.js +0 -51
  165. package/docker/services/graph-memory-mcp/Dockerfile +0 -32
  166. package/docker/services/graph-memory-mcp/config/service.json +0 -28
  167. package/docker/services/graph-memory-mcp/entrypoint.js +0 -51
  168. package/docker/services/integration-mcp/Dockerfile +0 -32
  169. package/docker/services/integration-mcp/config/service.json +0 -28
  170. package/docker/services/integration-mcp/entrypoint.js +0 -51
  171. package/docker/services/intelligent-mcp/Dockerfile +0 -32
  172. package/docker/services/intelligent-mcp/config/service.json +0 -28
  173. package/docker/services/intelligent-mcp/entrypoint.js +0 -51
  174. package/docker/services/operations-mcp/Dockerfile +0 -32
  175. package/docker/services/operations-mcp/config/service.json +0 -28
  176. package/docker/services/operations-mcp/entrypoint.js +0 -51
  177. package/docker/services/platform-development-mcp/Dockerfile +0 -32
  178. package/docker/services/platform-development-mcp/config/service.json +0 -28
  179. package/docker/services/platform-development-mcp/entrypoint.js +0 -51
  180. package/docker/services/reporting-analytics-mcp/Dockerfile +0 -32
  181. package/docker/services/reporting-analytics-mcp/config/service.json +0 -28
  182. package/docker/services/reporting-analytics-mcp/entrypoint.js +0 -51
  183. package/docker/services/security-compliance-mcp/Dockerfile +0 -32
  184. package/docker/services/security-compliance-mcp/config/service.json +0 -28
  185. package/docker/services/security-compliance-mcp/entrypoint.js +0 -51
  186. package/docker/services/update-set-mcp/Dockerfile +0 -32
  187. package/docker/services/update-set-mcp/config/service.json +0 -28
  188. package/docker/services/update-set-mcp/entrypoint.js +0 -51
  189. package/docker-compose.override.yml +0 -132
  190. package/docker-compose.prod.yml +0 -340
  191. package/docker-compose.yml +0 -579
  192. package/k8s/automation-mcp.yaml +0 -232
  193. package/k8s/configmap.yaml +0 -237
  194. package/k8s/deployment-mcp.yaml +0 -232
  195. package/k8s/flow-composer-mcp.yaml +0 -232
  196. package/k8s/generate-k8s-manifests.js +0 -453
  197. package/k8s/graph-memory-mcp.yaml +0 -232
  198. package/k8s/infrastructure.yaml +0 -456
  199. package/k8s/ingress.yaml +0 -361
  200. package/k8s/integration-mcp.yaml +0 -232
  201. package/k8s/intelligent-mcp.yaml +0 -232
  202. package/k8s/kustomization.yaml +0 -111
  203. package/k8s/mcp-services.yaml +0 -2552
  204. package/k8s/monitoring.yaml +0 -515
  205. package/k8s/namespace.yaml +0 -80
  206. package/k8s/operations-mcp.yaml +0 -232
  207. package/k8s/platform-development-mcp.yaml +0 -232
  208. package/k8s/rbac.yaml +0 -140
  209. package/k8s/reporting-analytics-mcp.yaml +0 -232
  210. package/k8s/security-compliance-mcp.yaml +0 -232
  211. package/k8s/update-set-mcp.yaml +0 -232
  212. package/test-clean-install/.claude/config.json +0 -12
  213. package/test-clean-install/.env.example +0 -49
  214. package/test-clean-install/CLAUDE.md +0 -26
  215. package/test-clean-install/README.md +0 -23
  216. package/test-global-install/.claude/config.json +0 -12
  217. package/test-global-install/CLAUDE.md +0 -26
  218. package/test-global-install/README.md +0 -23
  219. package/test-global-install/test-global-install/.claude/config.json +0 -12
  220. package/test-global-install/test-global-install/CLAUDE.md +0 -26
  221. package/test-global-install/test-global-install/README.md +0 -23
  222. package/test-global-install/test-global-install/test-global-install/.claude/config.json +0 -12
  223. package/test-global-install/test-global-install/test-global-install/.env.example +0 -49
  224. package/test-global-install/test-global-install/test-global-install/CLAUDE.md +0 -26
  225. package/test-global-install/test-global-install/test-global-install/README.md +0 -23
  226. package/test-init-debug/.claude/config.json +0 -12
  227. package/test-init-debug/CLAUDE.md +0 -693
  228. package/test-init-debug/README.md +0 -392
  229. package/test-init-real/.claude/config.json +0 -12
  230. package/test-init-real/.claude/mcp-config.json +0 -128
  231. package/test-init-real/.claude/settings.json +0 -37
  232. package/test-init-real/CLAUDE.md +0 -693
  233. package/test-init-real/README.md +0 -392
  234. package/test-init-real/activate-mcp.sh +0 -15
@@ -1,579 +0,0 @@
1
- # ServiceNow Multi-Agent MCP Services Docker Compose Configuration
2
- version: '3.8'
3
-
4
- networks:
5
- mcp-network:
6
- driver: bridge
7
- ipam:
8
- config:
9
- - subnet: 172.20.0.0/16
10
-
11
- volumes:
12
- consul-data:
13
- neo4j-data:
14
- redis-data:
15
- prometheus-data:
16
- grafana-data:
17
- nginx-logs:
18
-
19
- services:
20
- # ===========================================
21
- # Infrastructure Services
22
- # ===========================================
23
-
24
- consul:
25
- image: hashicorp/consul:1.16
26
- hostname: consul
27
- networks:
28
- mcp-network:
29
- ipv4_address: 172.20.0.10
30
- ports:
31
- - "8500:8500"
32
- - "8600:8600/udp"
33
- volumes:
34
- - consul-data:/consul/data
35
- - ./docker/consul:/consul/config
36
- environment:
37
- - CONSUL_BIND_INTERFACE=eth0
38
- command: >
39
- consul agent
40
- -server
41
- -bootstrap-expect=1
42
- -data-dir=/consul/data
43
- -config-dir=/consul/config
44
- -ui-content-path=/ui
45
- -bind=172.20.0.10
46
- -client=0.0.0.0
47
- healthcheck:
48
- test: ["CMD", "curl", "-f", "http://localhost:8500/v1/status/leader"]
49
- interval: 30s
50
- timeout: 10s
51
- retries: 5
52
- start_period: 30s
53
- restart: unless-stopped
54
-
55
- redis:
56
- image: redis:7-alpine
57
- hostname: redis
58
- networks:
59
- mcp-network:
60
- ipv4_address: 172.20.0.11
61
- ports:
62
- - "6379:6379"
63
- volumes:
64
- - redis-data:/data
65
- command: redis-server --appendonly yes
66
- healthcheck:
67
- test: ["CMD", "redis-cli", "ping"]
68
- interval: 30s
69
- timeout: 10s
70
- retries: 5
71
- restart: unless-stopped
72
-
73
- neo4j:
74
- image: neo4j:5-community
75
- hostname: neo4j
76
- networks:
77
- mcp-network:
78
- ipv4_address: 172.20.0.12
79
- ports:
80
- - "7474:7474"
81
- - "7687:7687"
82
- volumes:
83
- - neo4j-data:/data
84
- - neo4j-data:/logs
85
- environment:
86
- - NEO4J_AUTH=neo4j/password
87
- - NEO4J_PLUGINS=["apoc"]
88
- - NEO4J_apoc_export_file_enabled=true
89
- - NEO4J_apoc_import_file_enabled=true
90
- - NEO4J_apoc_import_file_use__neo4j__config=true
91
- healthcheck:
92
- test: ["CMD", "cypher-shell", "-u", "neo4j", "-p", "password", "RETURN 1"]
93
- interval: 30s
94
- timeout: 10s
95
- retries: 5
96
- start_period: 60s
97
- restart: unless-stopped
98
-
99
- # ===========================================
100
- # Load Balancer
101
- # ===========================================
102
-
103
- nginx-lb:
104
- build:
105
- context: ./docker/nginx
106
- dockerfile: Dockerfile
107
- hostname: nginx-lb
108
- networks:
109
- mcp-network:
110
- ipv4_address: 172.20.0.20
111
- ports:
112
- - "80:80"
113
- - "443:443"
114
- - "8080:8080"
115
- volumes:
116
- - nginx-logs:/var/log/nginx
117
- - ./docker/nginx/ssl:/etc/nginx/ssl:ro
118
- environment:
119
- - CONSUL_URL=http://172.20.0.10:8500
120
- - NGINX_LOG_LEVEL=info
121
- - CONSUL_TEMPLATE_LOG_LEVEL=info
122
- depends_on:
123
- consul:
124
- condition: service_healthy
125
- healthcheck:
126
- test: ["CMD", "/usr/local/bin/healthcheck.sh"]
127
- interval: 30s
128
- timeout: 15s
129
- retries: 5
130
- start_period: 45s
131
- restart: unless-stopped
132
-
133
- # ===========================================
134
- # MCP Services (11 services)
135
- # ===========================================
136
-
137
- deployment-mcp:
138
- build:
139
- context: .
140
- dockerfile: docker/services/deployment-mcp/Dockerfile
141
- hostname: deployment-mcp
142
- networks:
143
- - mcp-network
144
- environment:
145
- - SERVICE_NAME=deployment-mcp
146
- - SERVER_PORT=3001
147
- - NODE_ENV=production
148
- - CONSUL_URL=http://172.20.0.10:8500
149
- - SERVICE_IP=deployment-mcp
150
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
151
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
152
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
153
- depends_on:
154
- consul:
155
- condition: service_healthy
156
- healthcheck:
157
- test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
158
- interval: 30s
159
- timeout: 10s
160
- retries: 3
161
- start_period: 30s
162
- restart: unless-stopped
163
- deploy:
164
- resources:
165
- limits:
166
- memory: 512M
167
- cpus: '0.5'
168
- reservations:
169
- memory: 256M
170
- cpus: '0.25'
171
-
172
- flow-composer-mcp:
173
- build:
174
- context: .
175
- dockerfile: docker/services/flow-composer-mcp/Dockerfile
176
- hostname: flow-composer-mcp
177
- networks:
178
- - mcp-network
179
- environment:
180
- - SERVICE_NAME=flow-composer-mcp
181
- - SERVER_PORT=3002
182
- - NODE_ENV=production
183
- - CONSUL_URL=http://172.20.0.10:8500
184
- - SERVICE_IP=flow-composer-mcp
185
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
186
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
187
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
188
- depends_on:
189
- consul:
190
- condition: service_healthy
191
- healthcheck:
192
- test: ["CMD", "curl", "-f", "http://localhost:3002/health"]
193
- interval: 30s
194
- timeout: 10s
195
- retries: 3
196
- start_period: 30s
197
- restart: unless-stopped
198
- deploy:
199
- resources:
200
- limits:
201
- memory: 512M
202
- cpus: '0.5'
203
- reservations:
204
- memory: 256M
205
- cpus: '0.25'
206
-
207
- intelligent-mcp:
208
- build:
209
- context: .
210
- dockerfile: docker/services/intelligent-mcp/Dockerfile
211
- hostname: intelligent-mcp
212
- networks:
213
- - mcp-network
214
- environment:
215
- - SERVICE_NAME=intelligent-mcp
216
- - SERVER_PORT=3003
217
- - NODE_ENV=production
218
- - CONSUL_URL=http://172.20.0.10:8500
219
- - SERVICE_IP=intelligent-mcp
220
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
221
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
222
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
223
- depends_on:
224
- consul:
225
- condition: service_healthy
226
- healthcheck:
227
- test: ["CMD", "curl", "-f", "http://localhost:3003/health"]
228
- interval: 30s
229
- timeout: 10s
230
- retries: 3
231
- start_period: 30s
232
- restart: unless-stopped
233
- deploy:
234
- resources:
235
- limits:
236
- memory: 512M
237
- cpus: '0.5'
238
- reservations:
239
- memory: 256M
240
- cpus: '0.25'
241
-
242
- update-set-mcp:
243
- build:
244
- context: .
245
- dockerfile: docker/services/update-set-mcp/Dockerfile
246
- hostname: update-set-mcp
247
- networks:
248
- - mcp-network
249
- environment:
250
- - SERVICE_NAME=update-set-mcp
251
- - SERVER_PORT=3004
252
- - NODE_ENV=production
253
- - CONSUL_URL=http://172.20.0.10:8500
254
- - SERVICE_IP=update-set-mcp
255
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
256
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
257
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
258
- depends_on:
259
- consul:
260
- condition: service_healthy
261
- healthcheck:
262
- test: ["CMD", "curl", "-f", "http://localhost:3004/health"]
263
- interval: 30s
264
- timeout: 10s
265
- retries: 3
266
- start_period: 30s
267
- restart: unless-stopped
268
- deploy:
269
- resources:
270
- limits:
271
- memory: 512M
272
- cpus: '0.5'
273
- reservations:
274
- memory: 256M
275
- cpus: '0.25'
276
-
277
- graph-memory-mcp:
278
- build:
279
- context: .
280
- dockerfile: docker/services/graph-memory-mcp/Dockerfile
281
- hostname: graph-memory-mcp
282
- networks:
283
- - mcp-network
284
- environment:
285
- - SERVICE_NAME=graph-memory-mcp
286
- - SERVER_PORT=3005
287
- - NODE_ENV=production
288
- - CONSUL_URL=http://172.20.0.10:8500
289
- - SERVICE_IP=graph-memory-mcp
290
- - NEO4J_URI=bolt://172.20.0.12:7687
291
- - NEO4J_USERNAME=neo4j
292
- - NEO4J_PASSWORD=password
293
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
294
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
295
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
296
- depends_on:
297
- consul:
298
- condition: service_healthy
299
- neo4j:
300
- condition: service_healthy
301
- healthcheck:
302
- test: ["CMD", "curl", "-f", "http://localhost:3005/health"]
303
- interval: 30s
304
- timeout: 10s
305
- retries: 3
306
- start_period: 30s
307
- restart: unless-stopped
308
- deploy:
309
- resources:
310
- limits:
311
- memory: 768M
312
- cpus: '0.75'
313
- reservations:
314
- memory: 384M
315
- cpus: '0.5'
316
-
317
- operations-mcp:
318
- build:
319
- context: .
320
- dockerfile: docker/services/operations-mcp/Dockerfile
321
- hostname: operations-mcp
322
- networks:
323
- - mcp-network
324
- environment:
325
- - SERVICE_NAME=operations-mcp
326
- - SERVER_PORT=3006
327
- - NODE_ENV=production
328
- - CONSUL_URL=http://172.20.0.10:8500
329
- - SERVICE_IP=operations-mcp
330
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
331
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
332
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
333
- depends_on:
334
- consul:
335
- condition: service_healthy
336
- healthcheck:
337
- test: ["CMD", "curl", "-f", "http://localhost:3006/health"]
338
- interval: 30s
339
- timeout: 10s
340
- retries: 3
341
- start_period: 30s
342
- restart: unless-stopped
343
- deploy:
344
- resources:
345
- limits:
346
- memory: 512M
347
- cpus: '0.5'
348
- reservations:
349
- memory: 256M
350
- cpus: '0.25'
351
-
352
- platform-development-mcp:
353
- build:
354
- context: .
355
- dockerfile: docker/services/platform-development-mcp/Dockerfile
356
- hostname: platform-development-mcp
357
- networks:
358
- - mcp-network
359
- environment:
360
- - SERVICE_NAME=platform-development-mcp
361
- - SERVER_PORT=3007
362
- - NODE_ENV=production
363
- - CONSUL_URL=http://172.20.0.10:8500
364
- - SERVICE_IP=platform-development-mcp
365
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
366
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
367
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
368
- depends_on:
369
- consul:
370
- condition: service_healthy
371
- healthcheck:
372
- test: ["CMD", "curl", "-f", "http://localhost:3007/health"]
373
- interval: 30s
374
- timeout: 10s
375
- retries: 3
376
- start_period: 30s
377
- restart: unless-stopped
378
- deploy:
379
- resources:
380
- limits:
381
- memory: 512M
382
- cpus: '0.5'
383
- reservations:
384
- memory: 256M
385
- cpus: '0.25'
386
-
387
- integration-mcp:
388
- build:
389
- context: .
390
- dockerfile: docker/services/integration-mcp/Dockerfile
391
- hostname: integration-mcp
392
- networks:
393
- - mcp-network
394
- environment:
395
- - SERVICE_NAME=integration-mcp
396
- - SERVER_PORT=3008
397
- - NODE_ENV=production
398
- - CONSUL_URL=http://172.20.0.10:8500
399
- - SERVICE_IP=integration-mcp
400
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
401
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
402
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
403
- depends_on:
404
- consul:
405
- condition: service_healthy
406
- healthcheck:
407
- test: ["CMD", "curl", "-f", "http://localhost:3008/health"]
408
- interval: 30s
409
- timeout: 10s
410
- retries: 3
411
- start_period: 30s
412
- restart: unless-stopped
413
- deploy:
414
- resources:
415
- limits:
416
- memory: 512M
417
- cpus: '0.5'
418
- reservations:
419
- memory: 256M
420
- cpus: '0.25'
421
-
422
- automation-mcp:
423
- build:
424
- context: .
425
- dockerfile: docker/services/automation-mcp/Dockerfile
426
- hostname: automation-mcp
427
- networks:
428
- - mcp-network
429
- environment:
430
- - SERVICE_NAME=automation-mcp
431
- - SERVER_PORT=3009
432
- - NODE_ENV=production
433
- - CONSUL_URL=http://172.20.0.10:8500
434
- - SERVICE_IP=automation-mcp
435
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
436
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
437
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
438
- depends_on:
439
- consul:
440
- condition: service_healthy
441
- healthcheck:
442
- test: ["CMD", "curl", "-f", "http://localhost:3009/health"]
443
- interval: 30s
444
- timeout: 10s
445
- retries: 3
446
- start_period: 30s
447
- restart: unless-stopped
448
- deploy:
449
- resources:
450
- limits:
451
- memory: 512M
452
- cpus: '0.5'
453
- reservations:
454
- memory: 256M
455
- cpus: '0.25'
456
-
457
- security-compliance-mcp:
458
- build:
459
- context: .
460
- dockerfile: docker/services/security-compliance-mcp/Dockerfile
461
- hostname: security-compliance-mcp
462
- networks:
463
- - mcp-network
464
- environment:
465
- - SERVICE_NAME=security-compliance-mcp
466
- - SERVER_PORT=3010
467
- - NODE_ENV=production
468
- - CONSUL_URL=http://172.20.0.10:8500
469
- - SERVICE_IP=security-compliance-mcp
470
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
471
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
472
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
473
- depends_on:
474
- consul:
475
- condition: service_healthy
476
- healthcheck:
477
- test: ["CMD", "curl", "-f", "http://localhost:3010/health"]
478
- interval: 30s
479
- timeout: 10s
480
- retries: 3
481
- start_period: 30s
482
- restart: unless-stopped
483
- deploy:
484
- resources:
485
- limits:
486
- memory: 512M
487
- cpus: '0.5'
488
- reservations:
489
- memory: 256M
490
- cpus: '0.25'
491
-
492
- reporting-analytics-mcp:
493
- build:
494
- context: .
495
- dockerfile: docker/services/reporting-analytics-mcp/Dockerfile
496
- hostname: reporting-analytics-mcp
497
- networks:
498
- - mcp-network
499
- environment:
500
- - SERVICE_NAME=reporting-analytics-mcp
501
- - SERVER_PORT=3011
502
- - NODE_ENV=production
503
- - CONSUL_URL=http://172.20.0.10:8500
504
- - SERVICE_IP=reporting-analytics-mcp
505
- - SERVICENOW_INSTANCE_URL=${SERVICENOW_INSTANCE_URL}
506
- - SERVICENOW_CLIENT_ID=${SERVICENOW_CLIENT_ID}
507
- - SERVICENOW_CLIENT_SECRET=${SERVICENOW_CLIENT_SECRET}
508
- depends_on:
509
- consul:
510
- condition: service_healthy
511
- healthcheck:
512
- test: ["CMD", "curl", "-f", "http://localhost:3011/health"]
513
- interval: 30s
514
- timeout: 10s
515
- retries: 3
516
- start_period: 30s
517
- restart: unless-stopped
518
- deploy:
519
- resources:
520
- limits:
521
- memory: 512M
522
- cpus: '0.5'
523
- reservations:
524
- memory: 256M
525
- cpus: '0.25'
526
-
527
- # ===========================================
528
- # Monitoring Stack
529
- # ===========================================
530
-
531
- prometheus:
532
- image: prom/prometheus:v2.45.0
533
- hostname: prometheus
534
- networks:
535
- mcp-network:
536
- ipv4_address: 172.20.0.30
537
- ports:
538
- - "9090:9090"
539
- volumes:
540
- - prometheus-data:/prometheus
541
- - ./docker/prometheus:/etc/prometheus
542
- command:
543
- - '--config.file=/etc/prometheus/prometheus.yml'
544
- - '--storage.tsdb.path=/prometheus'
545
- - '--web.console.libraries=/etc/prometheus/console_libraries'
546
- - '--web.console.templates=/etc/prometheus/consoles'
547
- - '--storage.tsdb.retention.time=15d'
548
- - '--web.enable-lifecycle'
549
- healthcheck:
550
- test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9090/-/healthy"]
551
- interval: 30s
552
- timeout: 10s
553
- retries: 5
554
- restart: unless-stopped
555
-
556
- grafana:
557
- image: grafana/grafana:10.0.0
558
- hostname: grafana
559
- networks:
560
- mcp-network:
561
- ipv4_address: 172.20.0.31
562
- ports:
563
- - "3000:3000"
564
- volumes:
565
- - grafana-data:/var/lib/grafana
566
- - ./docker/grafana/provisioning:/etc/grafana/provisioning
567
- - ./docker/grafana/dashboards:/var/lib/grafana/dashboards
568
- environment:
569
- - GF_SECURITY_ADMIN_USER=admin
570
- - GF_SECURITY_ADMIN_PASSWORD=admin
571
- - GF_USERS_ALLOW_SIGN_UP=false
572
- - GF_SERVER_DOMAIN=localhost
573
- - GF_SMTP_ENABLED=false
574
- healthcheck:
575
- test: ["CMD-SHELL", "curl -f http://localhost:3000/api/health || exit 1"]
576
- interval: 30s
577
- timeout: 10s
578
- retries: 5
579
- restart: unless-stopped