vision-memory-mcp

πŸ“˜ @putervision/vision-memory-mcp Formal API Reference (v1.2.1)

This document provides formal API specifications, parameter schemas, return shapes, and practical leverage descriptions for all 15 Core Model Context Protocol (MCP) tools provided by @putervision/vision-memory-mcp.


🧭 Tool Index (15 Consolidated Tools)

Category Tools
1. Perception & Search analyze_screenshot, recall_memory, predict_next_action
2. Graph & Transitions record_outcome, get_navigation_paths, compare_states, get_session_context
3. Visual SDD & Specs manage_visual_spec
4. Snapshots & Maintenance manage_snapshot, undo_visual_mutation, forget_state, wait_for_visual_state
5. Trajectories & Export export_trajectories
6. Video Ingest & Audit manage_video, create_evidence_pack

πŸ”„ Tool Migration Guide (v0.9.0 β†’ v1.0.0)

Legacy Tool (v0.9.0) Consolidated Tool (v1.0.0) Key Migration Changes
batch_analyze_screenshots analyze_screenshot Pass items: [...] array for batch mode.
get_visual_diff compare_states Returns has_layout_change and layout_delta_ratio.
compare_video_trajectories compare_states Pass video_a_id and video_b_id.
create_visual_blocker record_outcome Call with action_type: 'blocker'.
set_visual_spec manage_visual_spec Call with action: 'set'.
verify_visual_spec manage_visual_spec Call with action: 'verify'.
list_visual_specs manage_visual_spec Call with action: 'list'.
ingest_video manage_video Call with action: 'ingest'.
search_video_memory manage_video Call with action: 'search'.
get_video_timeline manage_video Call with action: 'timeline'.
get_metrics get_session_context Real-time metrics included in get_session_context output.
get_version / app_version get_session_context Version & runtime info included in get_session_context output.
export_visual_trajectories export_trajectories Formats: 'json', 'llava', 'qwen2_vl', 'joint'.
export_joint_trajectories export_trajectories Call with format: 'joint'.
save_visual_snapshot manage_snapshot Call with action: 'save'.
diff_visual_snapshots manage_snapshot Call with action: 'diff'.
export_snapshot manage_snapshot Call with action: 'export'.
restore_snapshot manage_snapshot Call with action: 'restore'.
undo_last_visual_mutation undo_visual_mutation Renamed for cleaner namespace.

1. Perception, Ingestion & Element Grounding

analyze_screenshot

recall_memory

predict_next_action


2. Graph Navigation & State Transitions

record_outcome

get_navigation_paths

compare_states

get_session_context


3. Visual Specs & UI Compliance (Visual SDD)

manage_visual_spec


4. Snapshots, Maintenance & Observability

manage_snapshot

undo_visual_mutation

forget_state

wait_for_visual_state


5. Multimodal Trajectory Export

export_trajectories


6. Video Ingest & Cryptographic Evidence

manage_video

create_evidence_pack


Notice: Token savings estimates and latency performance depend on visual repetition, screen resolution, and model rates. All memory data is kept 100% local in .vision-memory-mcp.