| #!/bin/bash |
|
|
| cat <<EOF > /app/config.json |
| { |
| "mcpServers": { |
| "github": { |
| "command": "npx", |
| "args": [ |
| "-y", |
| "@modelcontextprotocol/server-github" |
| ], |
| "env": { |
| "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}" |
| } |
| }, |
| "context7-mcp": { |
| "command": "npx", |
| "args": [ |
| "-y", |
| "@upstash/context7-mcp@latest" |
| ] |
| }, |
| "tavily-mcp": { |
| "autoApprove": [], |
| "disabled": false, |
| "timeout": 60, |
| "type": "stdio", |
| "command": "npx", |
| "args": [ |
| "-y", |
| "tavily-mcp@0.2.1" |
| ], |
| "env": { |
| "TAVILY_API_KEY": "${TAVILY_API_KEY}" |
| } |
| }, |
| "figma-context-mcp": { |
| "command": "npx", |
| "args": [ |
| "-y", |
| "figma-developer-mcp", |
| "--figma-api-key=${FIGMA_API_KEY}", |
| "--stdio" |
| ] |
| }, |
| |
| "mcp-server-firecrawl": { |
| "command": "npx", |
| "args": [ |
| "-y", |
| "firecrawl-mcp" |
| ], |
| "env": { |
| "FIRECRAWL_API_KEY": "${FIRECRAWL_API_KEY}" |
| } |
| }, |
| "sequential-thinking": { |
| "command": "npx", |
| "args": [ |
| "-y", |
| "@modelcontextprotocol/server-sequential-thinking" |
| ] |
| }, |
| |
| "time-mcp": { |
| "command": "npx", |
| "args": ["-y", "time-mcp"] |
| }, |
| "fetch": { |
| "command": "npx", |
| "args": ["-y", "@kazuph/mcp-fetch"] |
| } |
| } |
| } |
| EOF |
|
|
| exec mcpo --config /app/config.json |