combining many mcps
This commit is contained in:
@@ -1,22 +1,12 @@
|
||||
services:
|
||||
sequential:
|
||||
container_name: sequential_thinking
|
||||
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
|
||||
many_mcp:
|
||||
container_name: many_mcp
|
||||
build:
|
||||
context: .
|
||||
dockerfile: playwright.Dockerfile
|
||||
# restart: always
|
||||
ports:
|
||||
- "3902:3902" # MCP port
|
||||
- 3901:3901
|
||||
|
||||
playwright_novnc:
|
||||
build:
|
||||
@@ -29,4 +19,4 @@ services:
|
||||
- playwright
|
||||
# restart: always
|
||||
command: >
|
||||
websockify --web=/opt/novnc --wrap-mode=ignore 3903 playwrite_mcp:5900
|
||||
websockify --web=/opt/novnc --wrap-mode=ignore 3903 many_mcp:5900
|
||||
12
openwebui/mcp-servers/mcpo-config.json
Normal file
12
openwebui/mcp-servers/mcpo-config.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"sequential": {
|
||||
"command": "npx",
|
||||
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
|
||||
},
|
||||
"playwright": {
|
||||
"command": "npx",
|
||||
"args": ["-y", "@playwright/mcp@latest", "--isolated"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -43,9 +43,10 @@ fluxbox &
|
||||
x11vnc -nopw -display :99 -forever -shared &
|
||||
|
||||
# Start Playwright MCP
|
||||
uvx mcpo --port 3902 -- npx -y @playwright/mcp@latest --no-sandbox
|
||||
uvx mcpo --port 3901 --config mcpo-config.json
|
||||
|
||||
EOF
|
||||
|
||||
RUN chmod +x /playwright-start.sh
|
||||
|
||||
COPY mcpo-config.json mcpo-config.json
|
||||
CMD ["/playwright-start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user