mcpo-proxy / entrypoint.sh
SimonSun's picture
Create entrypoint.sh
60c2607 verified
raw
history blame contribute delete
854 Bytes
#!/bin/bash
cat <<EOF > /app/config.json
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
]
},
"mcp-server-time": {
"command": "uvx",
"args": [
"mcp-server-time",
"--local-timezone=${TZ}"
],
"alwaysAllow": [
"get_current_time",
"convert_time"
]
},
"grok2_images": {
"command": "npx",
"args": [
"-y",
"grok2-image-mcp-server@0.1.3"
],
"env": {
"XAIAPI_KEY": "${XAIAPI_KEY}",
"XAIAPI_BASE_URL": "${XAIAPI_BASE_URL}"
}
},
"tavily-mcp": {
"command": "npx",
"args": [
"-y",
"tavily-mcp@0.1.2"
],
"env": {
"TAVILY_API_KEY": "${TAVILY_API_KEY}"
}
}
}
}
EOF
exec mcpo --config /app/config.json