
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 分
請在儲存庫或註冊中心條目中宣告授權條款。