From df5311312d40d5c2aeed0dd80f8dc7ad0f4b2f79 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Fri, 28 Feb 2025 20:03:22 +0800 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..17088dc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM node:lts-alpine +WORKDIR /app + +# Install pnpm globally +RUN npm install -g pnpm + +# Copy dependency files and install dependencies +COPY package.json pnpm-lock.yaml ./ +RUN pnpm install --frozen-lockfile --ignore-scripts + +# Copy the rest of the source code +COPY . . + +# Build the project +RUN pnpm run build + +# Expose any required ports if necessary (not specified in the project) +# EXPOSE 3000 + +# Start the MCP server +CMD ["pnpm", "start"] From d6745e2ce963c15e43bcaef064196244f2de1cfd Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Fri, 28 Feb 2025 20:03:23 +0800 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..78804bc --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,13 @@ +# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml + +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + properties: {} + 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'] }) + exampleConfig: {} From ea599634fe08cbb58a0c0d2b40b0d51718d80d81 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Fri, 28 Feb 2025 20:03:23 +0800 Subject: [PATCH 3/3] Update README --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc416ea..67f3a75 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # MCP Content Summarizer Server +[![smithery badge](https://smithery.ai/badge/@0xshellming/mcp-summarizer)](https://smithery.ai/server/@0xshellming/mcp-summarizer) A Model Context Protocol (MCP) server that provides intelligent summarization capabilities for various types of content using Google's Gemini 1.5 Pro model. This server can help you generate concise summaries while maintaining key information from different content formats. @@ -62,6 +63,14 @@ To integrate this server with a desktop app, add the following to your app's ser } ``` +## Installing via Smithery + +To install Content Summarizer Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@0xshellming/mcp-summarizer): + +```bash +npx -y @smithery/cli install @0xshellming/mcp-summarizer --client claude +``` + ## Available Tools ### summarize @@ -110,4 +119,4 @@ Contributions are welcome! Please feel free to submit a Pull Request. ## License -This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. \ No newline at end of file +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.