From 2bba49ff3ffdc9297c55d77ca47a62a3bd8c6295 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Tue, 27 May 2025 16:02:59 -0700 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..53c884f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config +FROM python:3.11-slim + +# Install system dependencies for sound and API clients +RUN apt-get update && apt-get install -y --no-install-recommends \ + libsndfile1 \ + libportaudio2 portaudio19-dev \ + gcc python3-dev \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /app + +# Copy project +COPY . /app + +# Install Python dependencies +RUN pip install --no-cache-dir . + +# Set entrypoint +ENTRYPOINT ["minimax-mcp"] From df7f1dd3b7fd69a345660f3947c13544fbb5eae8 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Tue, 27 May 2025 16:03:00 -0700 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..d725030 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,39 @@ +# Smithery configuration file: https://smithery.ai/docs/build/project-config + +startCommand: + type: stdio + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({command: 'minimax-mcp', args: [], env: {MINIMAX_API_KEY: config.minimaxApiKey, MINIMAX_API_HOST: config.minimaxApiHost, MINIMAX_MCP_BASE_PATH: config.minimaxMcpBasePath, MINIMAX_API_RESOURCE_MODE: config.minimaxApiResourceMode, FASTMCP_LOG_LEVEL: config.fastmcpLogLevel}}) + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: + - minimaxApiKey + - minimaxApiHost + properties: + minimaxApiKey: + type: string + description: Your MiniMax API key + minimaxApiHost: + type: string + description: MiniMax API host, e.g. https://api.minimaxi.chat + minimaxMcpBasePath: + type: string + default: "" + description: Local base path to save resources + minimaxApiResourceMode: + type: string + default: url + description: "Resource mode: url or local" + fastmcpLogLevel: + type: string + default: WARNING + description: Log level for FastMCP server + exampleConfig: + minimaxApiKey: sk-xxxxxxx + minimaxApiHost: https://api.minimaxi.chat + minimaxMcpBasePath: /home/user/output + minimaxApiResourceMode: url + fastmcpLogLevel: INFO From 65f5e3215b94b10ae2f3e7d9a67b3aa79e1dc216 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Tue, 27 May 2025 16:03:00 -0700 Subject: [PATCH 3/3] Update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index cc2064b..212226d 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,14 @@ |MINIMAX_API_KEY| go get from [MiniMax Global](https://www.minimax.io/platform/user-center/basic-information/interface-key) | go get from [MiniMax](https://platform.minimaxi.com/user-center/basic-information/interface-key) | |MINIMAX_API_HOST| https://api.minimaxi.chat (note the extra **"i"**) | https://api.minimax.chat | +### Installing via Smithery + +To install MiniMax MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@MiniMax-AI/MiniMax-MCP): + +```bash +npx -y @smithery/cli install @MiniMax-AI/MiniMax-MCP --client claude +``` + ### Claude Desktop Go to `Claude > Settings > Developer > Edit Config > claude_desktop_config.json` to include the following: