vk桥
A. CLI网桥 到 Vibe看板MCP服务器列出项目和任务、创建和更新任务、列出存储库以及启动工作区会话——所有这些都可以通过命令行或您自己的脚本和机器人完成。
有用的,如果你想:
- 从终端编写或自动化Vibe看板
- 将Vibe看板与其他工具(CI、聊天机器人、仪表板)集成
- 从可以运行子流程的MCP客户端驱动VK
需求
- Node.js 18+
- Vibe看板 (CLI生成
npx -y vibe-kanban@latest --mcp与MCP服务器通信)
安装和构建
git clone https://github.com/CydeSwype/vk-bridge.git
cd vk-bridge
npm install
npm run build运行通过 node dist/index.js ... 或链接垃圾箱: npm link 然后 vk-bridge ....
命令
所有输出均为 JSON到stdout;错误转到 标准错误 作为 { "error": { "message": "...", "code": "..." } }.
| 命令 | 目的 |
|---|---|
list-projects | 列出所有Vibe看板项目 |
list-tasks --project-id | 列出任务(可选: --status, --limit) |
create-task --project-id --title [--description ] | 创建任务 |
get-task --task-id | 获取任务详细信息 |
update-task --task-id [--title] [--description] [--status] | 更新任务 |
delete-task --task-id | 删除任务 |
list-repos --project-id | 列出项目中的存储库 |
start-workspace-session --task-id --executor --repos-json [--variant ] | 启动工作区会话(存储库: [{"repo_id":"...","base_branch":"main"}]) |
例子
node dist/index.js list-projects
node dist/index.js list-tasks --project-id
node dist/index.js create-task --project-id --title "New item" --description "From CLI"
node dist/index.js list-repos --project-id 从脚本或机器人中使用
您可以将vk-bridge作为子进程运行,并解析JSON输出。示例:将其连接到Telegram机器人、Slack机器人或CI步骤中,这样用户就可以要求“我的Vibe看板项目”或“向项目X添加任务”,你的机器人就会运行匹配 vk-bridge 命令并返回结果。该过程必须在以下位置运行 npx -y vibe-kanban@latest --mcp 可用(与您的Vibe看板应用程序相同的机器/用户)。
许可证
麻省理工学院——见 许可证.
