diff --git a/README.md b/README.md index 3d4f7f97..e9491e41 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ GitHub release (latest SemVer) Build status badge + Smithery Badge

@@ -51,3 +52,11 @@ Open your `claude_desktop_config.json` and add the mcp server to the list of `mc } ``` +#### Installing via Smithery + +To install Kubernetes MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@manusa/kubernetes-mcp-server): + +```bash +npx -y @smithery/cli install @manusa/kubernetes-mcp-server --client claude +``` + diff --git a/npm/kubernetes-mcp-server/Dockerfile b/npm/kubernetes-mcp-server/Dockerfile new file mode 100644 index 00000000..2b577137 --- /dev/null +++ b/npm/kubernetes-mcp-server/Dockerfile @@ -0,0 +1,23 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM node:18-alpine + +# Create and set the working directory +WORKDIR /app + +# Copy the package.json and package-lock.json (if exists) to the working directory +COPY ./npm/kubernetes-mcp-server/package.json /app + +# Install any necessary dependencies specified in package.json +RUN npm install --omit=dev + +# Copy the rest of the application files +COPY ./npm/kubernetes-mcp-server /app + +# Expose the necessary port (replace 3000 with the actual port if different) +EXPOSE 3000 + +# Define environment variables if any are needed +# ENV SOME_VARIABLE=some_value + +# Command to run the MCP server +ENTRYPOINT ["node", "bin/index.js"] diff --git a/npm/kubernetes-mcp-server/smithery.yaml b/npm/kubernetes-mcp-server/smithery.yaml new file mode 100644 index 00000000..4a12b119 --- /dev/null +++ b/npm/kubernetes-mcp-server/smithery.yaml @@ -0,0 +1,15 @@ +# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml + +build: + dockerBuildPath: ../../ +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: [] + properties: {} + commandFunction: + # A function that produces the CLI command to start the MCP on stdio. + |- + (config) => ({command: 'node', args: ['bin/index.js'], env: {}})