Tabby-MCP-Server 是一款强大的 Tabby 插件,它实现了模型上下文协议(MCP)服务器,能够将 AI 助手无缝连接到终端,赋能 AI 终端控制与自动化操作,适用于多种操作系统和环境。

const { TabbyMCP } = require('tabby-mcp-server');
// 初始化 MCP 服务
const mcpServer = new TabbyMCP({
port: 3000, // 自定义端口,默认为 3000
apiKey: 'your-api-key' // 必填:你的 API 密钥
});
// 启动服务
mcpServer.start();
PORT:指定服务运行的端口,默认为 3000。API_KEY:必填,用于身份验证的 API 密钥。git clone https://github.com/thuanpham582002/tabby-mcp-server.git
cd tabby-mcp-server
npm install
npm start
TabbyMCP 类new TabbyMCP(options: {
port?: number, // 服务运行的端口,默认为 3000
apiKey: string // 必填:API 密钥
})
start(): 启动 MCP 服务器。stop(): 停止 MCP 服务器。git checkout -b feature/amazing-feature
git commit -m '添加 amazing 功能'
git push origin feature/amazing-feature
详细贡献指南请参考 CONTRIBUTING.md。
项目使用 GitHub Actions 实现 CI/CD:
在你的 Fork 中配置以下秘密以启用 CI/CD:
NPM_TOKEN:npm 访问令牌GITHUB_TOKEN:GitHub 自动提供本项目遵循 MIT 许可证,具体内容请参阅 LICENSE 文件。
由 ❤️ [Pham Tien Thuan](https://github.com/thuanpham582002) 开发