mcp-browser-canvas
Skill0 starsChanged 3 months agoMITView on GitHub
MCP 浏览器画布:借鉴 rabbithole (195⭐) 的"Agent 通过 MCP 在浏览器开无限画布"模式,用已有 mcp-chrome 工具实现可视化知识探索。
In this repository219 other files it gives its agents.
- agent-doctrineSkill
- agent-evaluation-frameworkSkill
- agent-visualization-flintSkill
- hermes-agentSkill
- bailian-cliSkill
- edge-browser-automationSkill
- computer-useSkill
- jupyter-live-kernelSkill
- backup-strategiesSkill
- browser-automationSkill
- chinese-ai-free-apiSkill
- cicd-pipeline-templatesSkill
- copybaraSkill
- devops-toolkitSkill
- email-deliverabilitySkill
- monitoring-observabilitySkill
- obsidian-maintenanceSkill
- obsidian-troubleshootingSkill
- openclaw-windowsSkill
- openclaw-workerSkill
- webhook-subscriptionsSkill
- windows-dev-environmentSkill
- windows-masterSkill
- zero-downtime-deploySkill
- codebase-inspectionSkill
- github-workflowSkill
- adaptive-communicationSkill
- agent-cost-dashboardSkill
- agent-evolutionSkill
- agent-governanceSkill
- agent-osSkill
- context-efficient-toolsSkill
- context-loss-awarenessSkill
- creative-synthesisSkill
- hermes-desktop-pluginsSkill
- emotional-intelligenceSkill
- graph-engineering-workflowSkill
- hermes-maintenanceSkill
- hermes-voiceSkill
- hermes-hygieneSkill
- identity-coreSkill
- income-loopSkill
- master-synthesisSkill
- meta-cognitionSkill
- reasoning-engineSkill
- self-preservationSkill
- teaching-abilitySkill
- temporal-awarenessSkill
- hermes-themesSkill
- thinking-visualizationSkill
- user-modelingSkill
- voice-full-restoreSkill
- knowledge-graph-traversalSkill
- free-api-gatewaySkill
- native-mcpSkill
- web-reverse-apiSkill
- ai-edaSkill
- huggingface-hubSkill
- industrial-ai-siemens-mcpSkill
- industrial-ai-unifiedSkill
- The first 60 shown.
The file
Files
MCP 浏览器画布 — Rabbithole 模式
核心理念
来自 rabbithole 的洞察:Agent 需要一个浏览器画布来展示超出纯文本的东西。 不是让用户在终端看结果,而是 Agent 主动打开浏览器展示可视化、图表、交互式内容。
Hermes 已有的浏览器能力
| 工具 | 来源 | 能力 |
| mcp-chrome (20+工具) | Chrome 扩展 @ 127.0.0.1:12306 | 导航、截图、点击、填表、JS执行 |
| computer_use | cua-driver 0.7.0 | 桌面GUI操控(含浏览器) |
| browser-use | pip 包 | Python SDK 编程式Web自动化 |
Rabbithole 模式的三个用法
1. 知识画布(对照 rabbithole 原版)
Agent 在浏览器打开一个 HTML 页面,用户选中文字追问,答案作为子页面展开。
Hermes 实现方式:
1. 生成一个自包含的 HTML 文件(内嵌 JS + CSS)
2. mcp-chrome 导航到 file://路径
3. 用户在浏览器里交互,Hermes 通过 JS 注入获取反馈2. 可视化仪表盘
Agent 把分析结果渲染成交互式 ECharts 仪表盘,浏览器打开。
"分析最近 10 次对话的 token 趋势" →
1. 提取 session_search 数据
2. 生成 ECharts HTML(折线图 + 饼图)
3. mcp-chrome 打开3. 比较视图
并列展示多个方案的对比,用户可切换查看。
"对比 SigMap vs CKG vs RAG 三种方案" →
1. 生成三栏 HTML 对比页
2. mcp-chrome 打开
3. 用户点击切换,实时高亮差异实现步骤(最小可行版)
Step 1:生成 HTML
html = f"""<!DOCTYPE html>
<html><head><meta charset="utf-8">
<script src="https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
</head><body>
<div id="chart" style="width:100%;height:100vh"></div>
<script>
// ECharts 配置
const option = {json.dumps(chart_config)};
echarts.init(document.getElementById('chart')).setOption(option);
</script></body></html>"""
write_file("D:/Hermes/temp/canvas.html", html)Step 2:浏览器打开
用 mcp-chrome 导航到 file:///D:/Hermes/temp/canvas.html
Step 3:交互反馈(可选)
用 mcp_chrome_chrome_javascript 注入 JS 读取用户操作状态
已实现的可视化
D:/Hermes/knowledge-base/技能图谱/dashboard.html— 105 技能力导向图D:/Hermes/knowledge-base/技能图谱/chat-mirror.html— 对话镜像- agent-visualization-flint 技能 — 三级可视化输出
与 rabbithole 的差异
| rabbithole | Hermes 方案 | |
| 部署 | npx 启动 MCP server | 直接用 mcp-chrome 扩展 |
| 画布 | 专用 SPA 应用 | 自生成 HTML 文件 |
| 模型 | 自带 LLM 回答 | 复用 Hermes 的模型 |
| 存储 | IndexedDB 持久化 | 文件系统 + 可选 localStorage |
Hermes 方案的优势:不需要额外装任何东西,mcp-chrome 扩展已有,生成 HTML 零依赖。
参考
- rabbithole: https://github.com/shlokkhemani/rabbithole (195⭐)
- 演示站: https://rabbithole.ing/app
- Hermes 已有: mcp-chrome (20+工具), agent-visualization-flint, dashboard.html
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

