Skip to content

Deployment: Dockerfile and Smithery config #1

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: main
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
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
WORKDIR /app

# Copy package files
COPY package.json bun.lock ./

# Install dependencies
RUN npm install --legacy-peer-deps

# Install typescript globally since it's needed for the build (peer dependency)
RUN npm install --global typescript@^5.8.2

# Copy the rest of the source code
COPY . .

# Build the project
RUN npm run build

# The MCP server runs via stdio, so no port exposure is necessary.

CMD ["node", "build/index.js"]
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Pushinator MCP

[![smithery badge](https://smithery.ai/badge/@appricos/pushinator-mcp)](https://smithery.ai/server/@appricos/pushinator-mcp)

### Installing via Smithery

To install Pushinator for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@appricos/pushinator-mcp):

```bash
npx -y @smithery/cli install @appricos/pushinator-mcp --client claude
```

### Manual Installation
To install dependencies:

```bash
Expand Down
25 changes: 25 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- pushinatorApiKey
properties:
pushinatorApiKey:
type: string
description: Your Pushinator API key to access the Pushinator MCP services.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['build/index.js'],
env: {
PUSHINATOR_API_KEY: config.pushinatorApiKey
}
})
exampleConfig:
pushinatorApiKey: example-1234-5678