From 2f16004eebe6b6f7ff45e2f08258bdcf93689db8 Mon Sep 17 00:00:00 2001 From: samanhappy Date: Sat, 5 Apr 2025 17:36:34 +0800 Subject: [PATCH] feat: update Dockerfile and mcp_settings.json to include new server configurations and dependencies --- Dockerfile | 3 +++ mcp_settings.json | 47 +++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f2dc63c..3fed9aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,9 @@ RUN apt-get update && apt-get install -y curl gnupg \ 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 COPY package.json pnpm-lock.yaml ./ diff --git a/mcp_settings.json b/mcp_settings.json index f413681..33eea6e 100644 --- a/mcp_settings.json +++ b/mcp_settings.json @@ -1,18 +1,57 @@ { "mcpServers": { - "sequential-thinking": { + "amap-maps": { "command": "npx", "args": [ "-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", "args": [ "-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" + } } } } \ No newline at end of file