diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4cc63cb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config +FROM node:lts-alpine + +# Create app directory +WORKDIR /app + +# Install dependencies +COPY package.json package-lock.json tsconfig.json ./ +# Copy source code +COPY src ./src + +RUN npm ci --ignore-scripts && npm run build + +# Expose no ports since stdio transport +ENTRYPOINT ["node", "dist/index.js"] diff --git a/README.md b/README.md index c8431fb..7b5e3e4 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ [![npm downloads](https://img.shields.io/npm/dt/gemini-mcp-tool)](https://www.npmjs.com/package/gemini-mcp-tool) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Open Source](https://img.shields.io/badge/Open%20Source-❤️-red.svg)](https://github.com/jamubc/gemini-mcp-tool) +[![smithery badge](https://smithery.ai/badge/@jamubc/gemini-mcp-tool)](https://smithery.ai/server/@jamubc/gemini-mcp-tool) @@ -57,6 +58,14 @@ Type `/mcp` inside Claude Code to verify the gemini-cli MCP is active. --- +### Installing via Smithery + +To install Gemini CLI Integration Tool for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@jamubc/gemini-mcp-tool): + +```bash +npx -y @smithery/cli install @jamubc/gemini-mcp-tool --client claude +``` + ### Alternative: Import from Claude Desktop If you already have it configured in Claude Desktop: diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..97008e6 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,14 @@ +# 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: 'node', args: ['dist/index.js'] }) + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + properties: {} + description: No configuration needed for gemini-mcp-tool + exampleConfig: {}