Skip to content

Deployment: Dockerfile and Smithery config #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine

# Install pnpm
RUN npm install -g pnpm

# Set working directory
WORKDIR /app

# Copy package.json and pnpm-lock.yaml
COPY package.json pnpm-lock.yaml ./

# Install dependencies (using --frozen-lockfile for consistency)
RUN pnpm install --frozen-lockfile

# Copy all project files
COPY . .

# Build the project
RUN pnpm run build

# Expose port if needed (optional, not used by MCP)
# EXPOSE 3000

# Start the MCP server
CMD ["node", "./dist/index.js"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# MCP Content Summarizer Server
[![smithery badge](https://smithery.ai/badge/@0xshellming/mcp-ai-summarizer)](https://smithery.ai/server/@0xshellming/mcp-ai-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.

Expand All @@ -24,6 +25,15 @@ The summarization service is powered by [3MinTop](https://3min.top), an AI-power

## Getting Started

### Installing via Smithery

To install Content Summarizer Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@0xshellming/mcp-ai-summarizer):

```bash
npx -y @smithery/cli install @0xshellming/mcp-ai-summarizer --client claude
```

### Manual Installation
1. Clone this repository
2. Install dependencies:
```
Expand Down
16 changes: 16 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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: {}