| 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", | |
| "tavily-mcp@0.1.2" | |
| ], | |
| "env": { | |
| "TAVILY_API_KEY": "tvly-dev-xxxxx" | |
| } | |
| } | |
| } | |
| } | |
| EOF | |
| exec mcpo --config /app/config.json |