vision-memory-mcp
This server provides visual state caching, memory, and analysis tools for AI assistants to optimize vision LLM interactions. Key capabilities:
Screenshot ingestion & caching: Analyze and cache screenshots (base64 or file path) with tiered caching (perceptual hashing, CLIP embeddings, LLM fallback). Batch process up to 20 images.
Visual memory search: Retrieve past states by image, text query, or accessibility tree using fast, semantic, or thorough strategies.
State transition tracking: Record UI action outcomes, trace navigation paths (BFS), and predict next best actions based on success rates and goals.
State comparison & diffing: Perform structural and visual diffs between states, calculate perceptual hash diffs, and compare snapshot checkpoints.
Visual specifications: Set design baselines, verify live UI compliance, and list registered specs.
Snapshots & checkpoints: Save, export, restore, and diff named visual memory snapshots.
Privacy & maintenance: Forget states, undo last mutations, and wait for states to appear.
Export & fine-tuning: Export trajectories (json, llava, qwen2_vl) or joint trajectories for model training.
Metrics & monitoring: Get cache-hit ratios, similarity scores, and token savings.
Cross-MCP integration: Create visual blocker payloads for state-memory-mcp.
Version info: Retrieve server version and details.
@putervision/vision-memory-mcp
@putervision/vision-memory-mcp is a zero-infrastructure, local-first Model Context Protocol (MCP) server and CLI tool that provides AI coding assistants (such as Cursor, Claude Code, Gemini, or Copilot) with visual state caching using perceptual hashing, local CLIP embeddings, and transition graphs to eliminate repetitive vision LLM calls.
๐ Official Documentation & Website: visionmemorymcp.com
โก Quick Start & Installation
Prerequisites: Node.js >= 18.17.0
1. Installation
# Global installation via npm
npm install -g @putervision/vision-memory-mcp2. Workspace Initialization
Run init in your project root to scaffold database directories, .gitignore, .env, and IDE rules:
vision-memory-mcp init --yes3. Basic MCP Client Setup
Add to your MCP client config (e.g. .cursor/mcp.json or .vscode/mcp.json):
{
"mcpServers": {
"vision-memory-mcp": {
"command": "vision-memory-mcp",
"args": ["run"]
}
}
}Alternative Options & CLI Usage Examples
# Run stdio MCP server directly via binary (after global install)
vision-memory-mcp run
# Start server skipping heavy CLIP model downloads (air-gapped / offline mode)
vision-memory-mcp run --skip-model-load
# Re-initialize across all registered workspace projects
vision-memory-mcp init-global
# Health check dependencies, sharp bindings, and git safety
vision-memory-mcp doctor
# Run health diagnostics & aggregate metrics across all registered projects
vision-memory-mcp doctor-global
# Inspect stored visual states and metadata in terminal ASCII table
vision-memory-mcp inspect
# Register baseline design mockup contract (Visual SDD)
vision-memory-mcp spec set --name "Dashboard" --file ./dashboard-spec.png
# Save visual memory checkpoint snapshot
vision-memory-mcp snapshot save --name "v1.0-milestone"
# Ingest WebM / MP4 video recording into visual state memory timeline
vision-memory-mcp video ingest ./playwright-test.webm --category playwright_test
# Open interactive force-directed visual graph viewer in browser
vision-memory-mcp viewRelated MCP server: one-shot-ui
๐ Key Highlights
๐๏ธ Perceptual Visual Caching: Sub-5ms L1/L2 dHash zero-token fast-path layout recognition.
๐ฌ WebM & MP4 Video Ingestion: Digest E2E test recordings & screen captures into searchable keyframe visual states & state transition graphs.
โก 29 Core MCP Tools: Full visual state ingestion, video memory parsing, evidence packs (
create_evidence_pack), trajectory comparison, semantic vector retrieval, element grounding, visual SDD, and snapshot checkpoints.๐ Dual-MCP Synergy & Immutable Evidence Packs: Deeply bridges
@putervision/state-memory-mcptask DAGs with visual state memory, generating cryptographically hashable evidence packs for compliance and audit trails.๐ Reduced Token Overhead: Caches UI states locally using dHash, local CLIP vector search, and accessibility trees so some savings on vision tokens can be expected.
๐ Sub-5ms Fast-Path Latency: Eliminates repetitive vision LLM API calls and avoids visual hallucination loops.
๐ฏ Element Grounding & Action Target Prediction: Maps screen elements to CSS selectors and coordinates for deterministic UI interaction.
๐จ Visual Spec-Driven Development (Visual SDD): Register design mockups or screenshots as perceptual baseline contracts to verify visual regression.
๐ก๏ธ 100% Local-First Privacy: Local LanceDB vector store, local CLIP model, zero cloud telemetry, and PII redaction guarantees.
๐ Architecture At a Glance
Incoming Screen
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ L1: In-Memory Cache Lookup โ โโ(Hit)โโโถ Return Cached Description & Grounded Elements
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ (Miss)
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ L2: Perceptual Hash Scan โ โโ(Hit)โโโถ Return Cached Description & Grounded Elements
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ (Miss)
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ L3: Local CLIP Vector Search โ โโ(Hit)โโโถ Return Semantically Close
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ (Miss)
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ L4: Vision LLM Fallback โ โโ(Ingest)โโโถ Save Redacted State to DB
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ๐ Documentation Directory
Explore dedicated guides and deep dives in the docs/ directory:
Guide | Description |
Key features, 4-tier retrieval pipeline, element grounding, and Dual MCP Synergy. | |
๐ Formal API Reference | Complete specifications, parameters, and schemas for all 23 MCP tools. |
Step-by-step configs for Cursor, Claude Desktop, Antigravity, Windsurf, Zed, Roo Code & Agent Rules. | |
Full guide for all 16 CLI management, visual spec, and snapshot commands. | |
โ๏ธ Configuration Guide | Complete |
Encryption details, local storage privacy, and PII masking guarantees. | |
๐ค Contributing Guide | Development setup, codebase structure, and submission guidelines. |
๐ก๏ธ Security Policy | Security vulnerability reporting and privacy disclosures. |
๐ Changelog | Chronological record of release features, fixes, and patch updates. |
๐งช Testing
# Run full unit and integration test suite across all 37 test suites
npm run testโ๏ธ License & Disclaimers
Developed and maintained by PuterVision LLC. Released under the MIT License.
Local Storage Guarantee: Provided "as is" without warranty. Screenshots, perceptual hashes, vector embeddings, and transition graphs are stored locally unencrypted at the application level in
.vision-memory-mcp/. Zero telemetry or analytics data is ever transmitted.Trademarks & Non-Affiliation: Product names (Cursor, Claude Code, Gemini, Windsurf, VS Code, Sharp, LanceDB, ONNX, HuggingFace) are property of their respective owners and used solely for compatibility identification.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenanceEnables LLMs to capture and analyze screenshots of your screen, windows, or regions with smart detection capabilities. Features natural language queries, automatic window targeting, and text enhancement for UI debugging and visual inspection.2
- Alicense-qualityBmaintenanceDeterministic screenshot diffing for AI coding agents. Extract design tokens, diff implementations vs reference, get CSS fix suggestions.1144MIT
- AlicenseAqualityBmaintenanceEnables blind AI coding models to debug visual bugs by capturing screenshots, analyzing them with a vision-capable model, and returning a written report.15MIT
- Alicense-qualityBmaintenanceVisual memory for computer-use agents โ stores UI screenshots as semantic scene nodes and queries them by intent across sessions.MIT
Related MCP Connectors
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Shared debugging memory for AI coding agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/putervision/vision-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server