moondream-api-mcp
v1.0.0
Published
MCP server for Moondream AI vision API with caption, query, detect, point, and segment capabilities
Maintainers
Readme
Moondream API MCP Server
A Model Context Protocol (MCP) server that provides access to Moondream AI's vision API capabilities.
Features
- Caption: Generate natural language descriptions of images
- Query: Ask questions about images (Visual Question Answering)
- Detect: Detect objects with bounding boxes
- Point: Find center coordinates of objects
- Segment: Generate SVG masks for objects
Installation
npm install -g moondream-api-mcpUsage
With npx (no install required)
npx moondream-api-mcp --api-key YOUR_API_KEYWith npx using environment variable
export MOONDREAM_API_KEY=YOUR_API_KEY
npx moondream-api-mcpCommand Line
node src/index.js --api-key YOUR_API_KEYEnvironment Variable
export MOONDREAM_API_KEY=YOUR_API_KEY
node src/index.jsAs global CLI
npm install -g moondream-api-mcp
moondream-api-mcp --api-key YOUR_API_KEYAvailable Tools
| Tool | Description |
|------|-------------|
| caption | Generate a description of an image |
| query | Ask a question about an image |
| detect | Detect objects in an image |
| point | Find coordinates of an object |
| segment | Generate an SVG mask for an object |
Image Input
All tools accept:
- Remote URLs (http/https)
- Local file paths
- Base64 encoded image data
