MCP server for vision capabilities - screenshot and camera analysis using Ollama vision models.
- Screenshot Analysis: Capture and analyze screenshots with AI
- Camera Capture: Take photos from webcam and analyze them
- Image Analysis: Analyze existing image files
- Streaming Output: Real-time streaming of AI analysis
- Multiple Models: Support for various vision models (llava, bakllava, etc.)
cd /Users/bard/Code/mcp-vision
npm install- Ollama must be running with a vision model installed:
ollama pull llava
- macOS (for screenshot functionality)
- Camera access (for webcam features)
Take a screenshot and analyze it with AI.
{
prompt: "What application is open?", // optional
model: "llava", // optional
region: { // optional
x: 100,
y: 100,
width: 500,
height: 400
}
}Capture from camera and analyze.
{
prompt: "What do you see?", // optional
model: "llava", // optional
device: "FaceTime HD Camera" // optional
}Analyze an existing image file.
{
path: "/path/to/image.jpg",
prompt: "Describe this image", // optional
model: "llava" // optional
}List available camera devices.
Add to your Claude Desktop configuration:
{
"mcpServers": {
"vision": {
"command": "node",
"args": ["/Users/bard/Code/mcp-vision/src/index.js"]
}
}
}This tool can be integrated with ELVIS for enhanced visual context:
- Use
vision_screenshotto capture current screen state - Pass the analysis to
elvis_delegatefor context-aware task processing - ELVIS can use visual information to better understand and complete tasks
// 1. Analyze what's on screen
vision_screenshot({ prompt: "What code is visible?" })
// 2. Use with ELVIS
elvis_delegate({
task: "Fix the syntax error shown",
context: "Based on the screenshot analysis"
})The tool streams AI responses in real-time, providing immediate feedback as the model analyzes images. This is shown in the MCP server logs and can be used for progress tracking.