mcppo / entrypoint.sh
rclon's picture
Update entrypoint.sh
adb81f2 verified
raw
history blame contribute delete
805 Bytes
#!/bin/bash
cat <<EOF > /app/config.json
{
"mcpServers": {
"fetch": {
"command": "npx",
"args": [
"-y",
"fetcher-mcp"
]
},
"mcp-server-time": {
"command": "uvx",
"args": [
"mcp-server-time",
"--local-timezone=Asia/Shanghai"
],
"alwaysAllow": [
"get_current_time",
"convert_time"
]
},
"tavily-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TAVILY_API_KEY": "tvly-dev-xxxxx"
}
}
}
}
EOF
exec mcpo --config /app/config.json