combining many mcps

This commit is contained in:
2025-06-30 16:58:44 -06:00
parent 68384c17cf
commit e6a7356866
3 changed files with 19 additions and 16 deletions

View File

@@ -1,22 +1,12 @@
services: services:
sequential: many_mcp:
container_name: sequential_thinking container_name: many_mcp
build:
context: .
dockerfile: npx-uvx.Dockerfile
# restart: always
command: uvx mcpo --port 3901 -- npx -y @modelcontextprotocol/server-sequential-thinking
ports:
- 3901:3901
playwright:
container_name: playwrite_mcp
build: build:
context: . context: .
dockerfile: playwright.Dockerfile dockerfile: playwright.Dockerfile
# restart: always # restart: always
ports: ports:
- "3902:3902" # MCP port - 3901:3901
playwright_novnc: playwright_novnc:
build: build:
@@ -29,4 +19,4 @@ services:
- playwright - playwright
# restart: always # restart: always
command: > command: >
websockify --web=/opt/novnc --wrap-mode=ignore 3903 playwrite_mcp:5900 websockify --web=/opt/novnc --wrap-mode=ignore 3903 many_mcp:5900

View File

@@ -0,0 +1,12 @@
{
"mcpServers": {
"sequential": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
},
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest", "--isolated"]
}
}
}

View File

@@ -43,9 +43,10 @@ fluxbox &
x11vnc -nopw -display :99 -forever -shared & x11vnc -nopw -display :99 -forever -shared &
# Start Playwright MCP # Start Playwright MCP
uvx mcpo --port 3902 -- npx -y @playwright/mcp@latest --no-sandbox uvx mcpo --port 3901 --config mcpo-config.json
EOF EOF
RUN chmod +x /playwright-start.sh RUN chmod +x /playwright-start.sh
COPY mcpo-config.json mcpo-config.json
CMD ["/playwright-start.sh"] CMD ["/playwright-start.sh"]