nettool / entrypoint.sh
daiwei114's picture
Update entrypoint.sh
64b707b verified
#!/bin/bash
cat <<EOF > /app/config.json
{
"mcpServers": {
"tavily-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TAVILY_API_KEY": "${TAVILY_API_KEY}"
}
},
"calculator": {
"command": "uvx",
"args": ["mcp-server-calculator"]
},
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
},
"jina-mcp-tools": {
"command": "npx",
"args": ["jina-mcp-tools"],
"env": {
"JINA_API_KEY": "${JINA_API_KEY}"
}
},
"perplexity-ask": {
"command": "npx",
"args": [
"-y",
"server-perplexity-ask"
],
"env": {
"PERPLEXITY_API_KEY": "${PPLX_API_KEY}",
"SEARCH_CONTEXT_SIZE": "high",
"PERPLEXITY_MODEL": "sonar-pro"
}
},
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
},
"cloudflare-playwright-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://playwright-mcp-example.h709606124.workers.dev/sse"
]
}
}
}
EOF
exec mcpo --config /app/config.json