Skip to content
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
36 changes: 36 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use Node 18 base image
FROM node:18-alpine AS builder

# Install Python 3.8 and necessary tools
RUN apk add --no-cache python3 py3-pip make g++

# Set the working directory
WORKDIR /app

# Copy package manager files and install dependencies
COPY package.json pnpm-lock.yaml ./
RUN npm install -g pnpm && pnpm install

# Copy the rest of the application source code
COPY . .

# Build the application
RUN pnpm run build

# Use a slim Node.js image for the final build
FROM node:18-alpine AS release

# Set the working directory
WORKDIR /app

# Copy built files from builder
COPY --from=builder /app/build ./build
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json

# Expose the default port
EXPOSE 3475

# Start the server
CMD ["node", "build/index.js"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 🌙 Moondream MCP Server

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

A powerful Model Context Protocol (MCP) server that brings advanced image analysis capabilities to your applications using the Moondream vision model. This server seamlessly integrates with Claude and Cline, providing a bridge between AI assistants and sophisticated computer vision tasks.

This IS NOT an offical Moondream package. All credit to [moondream.ai](https://github.com/vikhyat/moondream) for making the best open source vision model that you can run on consumer hardware.
Expand Down Expand Up @@ -34,6 +36,14 @@ This IS NOT an offical Moondream package. All credit to [moondream.ai](https://g
- Python 3.8+
- UV package manager (automatically installed if not present)

### Installing via Smithery

To install Moondream for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@NightTrek/moondream-mcp):

```bash
npx -y @smithery/cli install @NightTrek/moondream-mcp --client claude
```

### Installation

1. **Clone and Setup**
Expand Down
12 changes: 12 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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 function that produces the CLI command to start the MCP on stdio.
|-
config => ({command: 'node', args: ['build/index.js']})