Agent Evidence MCP

Agent Evidence MCP

A local evidence recorder that captures screenshots, recordings, notes, and summaries during long-running agent tasks, enabling reviewable task records with timelines and artifacts.

Category
访问服务器

README

Agent Evidence MCP

Release CI License

Agent Evidence MCP hero

中文

让 agent 在执行长任务时,自动留下截图、短录屏、备注和最终总结。

Agent Evidence MCP 不是普通截图软件,也不是浏览器自动化框架。它更像一个本地证据记录器:当 agent 正在操作浏览器、桌面软件、后台系统或多步骤流程时,它把关键状态保存成可复盘的任务记录。

适合什么场景

  • agent 正在执行多步骤 UI、QA、运维、配置或排障任务
  • 你希望关键节点自动留图,失败或异常时额外留证据
  • 任务结束后需要 summary.mdtimeline.jsonl 和所有关键产物路径
  • 你想让同事、客户或之后的自己快速复盘 agent 做过什么

装上之后能做什么

  • 创建任务会话:start_session
  • 查看已有会话:list_sessions / get_session / get_latest_session
  • 保存里程碑截图:capture_checkpoint
  • 必要时录一小段屏幕:start_recording / stop_recording
  • 给证据加备注或 OCR 文本:attach_note / ocr_artifact
  • 生成可分享的打码副本:redact_artifact
  • 比较最近的证据变化:compare_artifacts / compare_latest_artifacts
  • 结束时生成可交付的任务记录:end_session
  • 通过 MCP resources 读取最新 summary、artifact 列表和 session 索引
  • 通过 MCP prompts 获取推荐的证据采集和最终复盘提示

推荐用法

这个项目最适合配合 agent 使用。通常只需要这样告诉 agent:

Use agent-evidence MCP for this task.
Start a session first.
Capture a screenshot at each major milestone and an extra one on errors.
Prefer screenshots over recording unless motion matters.
When the task is done, give me the summary and the key artifact paths.

3 步上手

  1. 安装

从 GitHub 安装当前版本:

pip install git+https://github.com/xiexie-qiuligao/agent-evidence-mcp.git

如果你安装的是已发布到 Python 包索引的版本:

pip install agent-evidence-mcp

如果你是开发者,已经 clone 了这个仓库:

pip install -e .
  1. 初始化配置
agent-evidence-mcp init
  1. 启动 MCP 服务
agent-evidence-mcp serve

命令行快速体验

创建一个 session:

agent-evidence-mcp start-session "Admin QA Flow"

截一张关键节点图:

agent-evidence-mcp capture-checkpoint "D:\path\to\session" "form-submitted" "The form was submitted successfully."

结束并生成总结:

agent-evidence-mcp end-session "D:\path\to\session"

输出结构

artifacts/
  <session_id>/
    session.json
    timeline.jsonl
    summary.md
    details/
    screenshots/
    recordings/

最终拿到的不是一堆散乱截图,而是一套带时间线、摘要和元数据的任务证据包。

平台支持

能力 Windows macOS Linux
Session / MCP / CLI 已实现并本地验证 已实现 已实现
截图 已实现并本地验证 已实现,尚未在本仓库实机验证 已实现,依赖本地截图工具
录屏 已实现并本地验证 已实现,尚未在本仓库实机验证 已实现,依赖 X11/ffmpeg 环境
Redaction 已实现并本地验证 暂未实现 暂未实现

更详细的说明见 support-matrix.md

校验下载文件

release 页面会附带 SHA256SUMS.txt。如果你下载了 wheel 或源码包,可以这样校验:

certutil -hashfile dist\\agent_evidence_mcp-0.1.0a1-py3-none-any.whl SHA256
certutil -hashfile dist\\agent_evidence_mcp-0.1.0a1.tar.gz SHA256

文档


English

Let your agent leave behind screenshots, short recordings, notes, and a final summary while it works through a long-running task.

Agent Evidence MCP is not a generic screenshot app or a browser automation framework. It is a local evidence recorder for agent work: when an agent operates a browser, desktop app, admin console, or multi-step workflow, this server saves the important states as a reviewable task record.

Good Fits

  • multi-step UI, QA, ops, configuration, or troubleshooting tasks
  • workflows where milestone screenshots and error evidence matter
  • handoffs that need summary.md, timeline.jsonl, and artifact paths
  • reviews where another person needs to understand what the agent did

What You Get

  • start a task session with start_session
  • inspect existing sessions with list_sessions, get_session, and get_latest_session
  • capture milestone screenshots with capture_checkpoint
  • record short screen segments when motion matters
  • attach notes or OCR text to artifacts
  • generate redacted copies for safer sharing
  • compare recent artifacts for review-oriented changes
  • finish with summary.md, timeline.jsonl, and organized artifacts
  • read the latest summary, artifact list, and session index through MCP resources
  • use MCP prompts for evidence capture and final review guidance

Best Way To Use It

This project is designed to work with an agent. In most cases you can simply tell the agent:

Use agent-evidence MCP for this task.
Start a session first.
Capture a screenshot at each major milestone and an extra one on errors.
Prefer screenshots over recording unless motion matters.
When the task is done, give me the summary and the key artifact paths.

Quick Start In 3 Steps

  1. Install

Install the current GitHub version:

pip install git+https://github.com/xiexie-qiuligao/agent-evidence-mcp.git

If you are installing a published Python package:

pip install agent-evidence-mcp

If you are developing from a local clone:

pip install -e .
  1. Initialize config
agent-evidence-mcp init
  1. Start the MCP server
agent-evidence-mcp serve

Try It From The CLI

Create a session:

agent-evidence-mcp start-session "Admin QA Flow"

Capture a milestone:

agent-evidence-mcp capture-checkpoint "D:\path\to\session" "form-submitted" "The form was submitted successfully."

End the session:

agent-evidence-mcp end-session "D:\path\to\session"

What The Output Looks Like

artifacts/
  <session_id>/
    session.json
    timeline.jsonl
    summary.md
    details/
    screenshots/
    recordings/

The result is not a pile of loose screenshots. It is a reviewable task evidence package with a timeline, summary, and artifact metadata.

Platform Support

Capability Windows macOS Linux
Session / MCP / CLI Implemented and locally validated Implemented Implemented
Screenshots Implemented and locally validated Implemented, not locally validated in this repo Implemented, depends on local screenshot tools
Recording Implemented and locally validated Implemented, not locally validated in this repo Implemented, depends on X11/ffmpeg setup
Redaction Implemented and locally validated Not implemented Not implemented

See support-matrix.md for more detail.

Verify Downloads

The release includes SHA256SUMS.txt. If you download the wheel or source archive, you can verify them like this:

certutil -hashfile dist\\agent_evidence_mcp-0.1.0a1-py3-none-any.whl SHA256
certutil -hashfile dist\\agent_evidence_mcp-0.1.0a1.tar.gz SHA256

Docs

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选