| #!/bin/bash |
|
|
| cat <<EOF > /app/config.json |
| { |
| "mcpServers": { |
| "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}" |
| } |
| }, |
| "filesystem": { |
| "command": "npx", |
| "args": [ |
| "-y", |
| "@modelcontextprotocol/server-filesystem", |
| "/home/mcp" |
| ] |
| }, |
| "edgeone-pages-mcp-server": { |
| "command": "npx", |
| "args": ["edgeone-pages-mcp"] |
| } |
| } |
| } |
| EOF |
|
|
| exec mcpo --config /app/config.json |