Beamlit模型网关

@beamlit/mcp-gateway
0 Stars 329 次浏览 beamlit 更新于 2026-08-23

一种MCP服务器实现,它通过模型上下文协议标准, enables 了Beamlit CLI与人工智能模型之间的无缝集成。 注:原句中的“enables”在翻译为中文时需根据具体语境调整词性或形式,这里保持直译为“enables”以待进一步确认最佳表达。通常可译为“实现”、“使得”或“让”。 故更通顺的翻译可能是:一种MCP服务器实现,通过模型上下文协议标准,实现了Beamlit CLI与人工智能模型之间的无缝集成。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "beamlit": {
      "args": [
        "-y",
        "@beamlit/mcp-gateway"
      ],
      "command": "npx"
    }
  }
}

服务介绍

Beamlit MCP 服务器

一个用于与 Beamlit CLI 交互的 MCP(模型上下文协议)服务器实现,支持无缝集成 AI 模型。

特性

  • MCP 集成:完全支持模型上下文协议标准
  • Beamlit CLI 集成:与 Beamlit 命令行界面无缝交互
  • 可扩展架构:易于为特定用例进行扩展和定制

先决条件

所需软件

  • 系统中安装了 Beamlit CLI
  • Node.js(版本 16 或更高)
  • npm 或 yarn 包管理器

安装 Beamlit CLI

配置

设置 MCP 服务器

将此配置添加到您的 claude_desktop_config.json 文件中:

{
  "mcpServers": {
    "beamlit": {
      "command": "npx",
      "args": ["-y", "@beamlit/mcp-gateway"]
    }
  }
}

使用方法

基本命令

npm run watch # watch for changes and build mcp servers
npm run start # run mcp server
npm run client # run mcp client

与 Claude Desktop 集成

  1. 确保正确安装了 Beamlit CLI
  2. 配置您的 MCP 服务器设置
  3. 通过 Claude Desktop 界面连接

开发

从源代码构建

git clone https://github.com/your-repo/beamlit-mcp-gateway
cd beamlit-mcp-gateway
npm install
npm run build

故障排除

常见问题及其解决方案:

  • 服务器连接问题:验证 Beamlit CLI 安装
  • 配置错误:检查您的 claude_desktop_config.json
  • 权限问题:确保正确的系统权限

许可证

该项目根据 MIT 许可证发布 - 请参阅 LICENSE 文件以获取详细信息。

贡献

  1. 叉取仓库
  2. 创建功能分支 (git checkout -b feature/amazing-feature)
  3. 提交更改 (git commit -m 'Add some amazing feature')
  4. 推送到分支 (git push origin feature/amazing-feature)
  5. 打开拉取请求

支持

如需支持,请:

  • 查看 文档
  • 在 GitHub 仓库中打开一个问题
  • 联系维护者

致谢

  • Model Context Protocol (MCP) 社区
  • Beamlit CLI 贡献者
  • Claude Desktop 团队

相关 MCP 服务