
Vibelens Mcp
io.github.klewicki7由 GitHub 账号 klewicki7 发布v0.1.0更新于 Oct 25, 2026
VibeLens MCP tool for AI to visualize code changes with inline annotations in VS Code/Cursor
概览
一个本地 MCP 服务器,让助手在 VS Code 或 Cursor 的 VibeLens 面板中以带注释的方式展示 git 差异。
- 可以做什么
- 在 VibeLens 扩展面板中展示 git 差异,可附带标题、摘要以及按文件或按行的注释,并可指定 Cursor 或 VS Code 以及用于过滤的工作区路径。为单条注释附加带标签和提示词的操作按钮,方便审阅者向聊天发送后续请求。提供一个可复用的提示词,引导助手获取差异、准备注释并调用展示工具。
- 适用场景
- 当你希望 AI 对代码改动的解释以可视化方式显示在编辑器中的差异旁边,而不是纯聊天文本时适用,例如在提交前审阅某个分支或工作区改动。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 或全局 npm 安装启动,因此需要 Node.js。需要 VS Code 或 Cursor 中配套的 VibeLens 扩展来显示结果。清单声明需要一个名为 YOUR_API_KEY 的必需 API 密钥环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Vibelens Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
VibeLens MCP Server
MCP server that provides the show_diff_explanation tool for visualizing code changes with AI annotations.
Installation
Or install globally:
MCP Configuration
Add to your MCP client configuration:
Tool: show_diff_explanation
Displays a git diff with AI-generated annotations in the VibeLens extension panel.
Parameters
Annotation Object
Action Object
Example
Prompt: vibelens
The MCP server also provides a prompt with instructions for explaining code changes. Reference it with @vibelens in your chat.
The prompt guides the AI to:
- Get the diff from conversation context (or run
git diffif needed) - Analyze and prepare annotations
- Call
show_diff_explanationwith appropriate parameters - Generate specific, actionable suggestions for each annotation
How It Works
The MCP server writes to ~/.vibelens/pending.json and stores reviews in ~/.vibelens/vibelens.db. The companion VS Code/Cursor extension watches this data and displays the diff in a webview panel.
Development
License
MIT
来源:packages/mcp/README.md,提交 67b82b4
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。