mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
refactor: simplify Dockerfile by removing Python installation; update mcp_settings.json to use npx for time-mcp command
This commit is contained in:
@@ -1,15 +1,6 @@
|
|||||||
# Use Node.js LTS image with Python support
|
# Use Node.js LTS image with Python support
|
||||||
FROM node:22-alpine
|
FROM node:22-alpine
|
||||||
|
|
||||||
# Install Python and pip
|
|
||||||
RUN apk add --no-cache \
|
|
||||||
python3 \
|
|
||||||
py3-pip \
|
|
||||||
&& ln -sf python3 /usr/bin/python
|
|
||||||
|
|
||||||
# Create symbolic links for python commands
|
|
||||||
RUN ln -sf /usr/bin/pip3 /usr/bin/pip
|
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"time": {
|
"time-mcp": {
|
||||||
"command": "python",
|
"command": "npx",
|
||||||
"args": ["-m", "mcp_server_time", "--local-timezone=America/New_York"]
|
"args": ["-y", "time-mcp"]
|
||||||
},
|
},
|
||||||
"sequential-thinking": {
|
"sequential-thinking": {
|
||||||
"command": "npx",
|
"command": "npx",
|
||||||
|
|||||||
Reference in New Issue
Block a user