feat: update Dockerfile and mcp_settings.json to include new server configurations and dependencies

This commit is contained in:
samanhappy
2025-04-05 17:36:34 +08:00
parent 078c2d4bd5
commit 2f16004eeb
2 changed files with 46 additions and 4 deletions

View File

@@ -9,6 +9,9 @@ RUN apt-get update && apt-get install -y curl gnupg \
RUN npm install -g pnpm RUN npm install -g pnpm
RUN pnpm install @amap/amap-maps-mcp-server @playwright/mcp@latest tavily-mcp@latest @modelcontextprotocol/server-github @modelcontextprotocol/server-slack
RUN pip install mcp-server-fetch
WORKDIR /app WORKDIR /app
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./

View File

@@ -1,18 +1,57 @@
{ {
"mcpServers": { "mcpServers": {
"sequential-thinking": { "amap-maps": {
"command": "npx", "command": "npx",
"args": [ "args": [
"-y", "-y",
"@modelcontextprotocol/server-sequential-thinking" "@amap/amap-maps-mcp-server"
],
"env": {
"AMAP_MAPS_API_KEY": "your-api-key"
}
},
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
] ]
}, },
"time-mcp": { "tavily-mcp": {
"command": "npx", "command": "npx",
"args": [ "args": [
"-y", "-y",
"time-mcp" "tavily-mcp@latest"
],
"env": {
"TAVILY_API_KEY": "your-api-key"
}
},
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
] ]
},
"github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your-access-token"
}
},
"slack": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-slack"
],
"env": {
"SLACK_BOT_TOKEN": "your-bot-token",
"SLACK_TEAM_ID": "your-team-id"
}
} }
} }
} }