|
|
#!/bin/bash |
|
|
|
|
|
cat <<EOF > /app/config.json |
|
|
{ |
|
|
"mcpServers": { |
|
|
"tavily-mcp": { |
|
|
"command": "npx", |
|
|
"args": ["-y", "tavily-mcp@0.1.3"], |
|
|
"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}" |
|
|
} |
|
|
}, |
|
|
"arxiv-mcp-server": { |
|
|
"command": "uv", |
|
|
"args": ["tool", "run", "arxiv-mcp-server", "--storage-path", "/path/to/paper/storage"] |
|
|
}, |
|
|
"time-mcp": { |
|
|
"command": "npx", |
|
|
"args": ["-y", "time-mcp"] |
|
|
}, |
|
|
"exa": { |
|
|
"command": "npx", |
|
|
"args": ["-y", "mcp-remote", "https://mcp.exa.ai/mcp?exaApiKey=e863f6d4-b768-41d7-bc48-d5e43ec92e89"] |
|
|
} |
|
|
} |
|
|
} |
|
|
EOF |
|
|
|
|
|
exec mcpo --config /app/config.json |
|
|
|