|
#!/bin/bash |
|
|
|
cat <<EOF > /app/config.json |
|
{ |
|
"mcpServers": { |
|
"grok2_images": { |
|
"command": "npx", |
|
"args": [ |
|
"-y", |
|
"[email protected]" |
|
], |
|
"env": { |
|
"XAIAPI_KEY": "${XAIAPI_KEY}", |
|
"XAIAPI_BASE_URL": "${XAIAPI_BASE_URL}" |
|
} |
|
}, |
|
"tavily-mcp": { |
|
"command": "npx", |
|
"args": [ |
|
"-y", |
|
"[email protected]" |
|
], |
|
"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 |