代码集成服务器

CodeSwarm MCP服务器,用于与Cursor和其他MCP兼容工具集成。

  • by Dragonscale-Labs
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 dragonscale-labs/codeswarm-mcp-server

使用说明

CodeSwarm MCP服务器

用于CodeSwarm的MCP服务器,支持与Cursor和其他MCP兼容工具的集成。

安装

使用您首选的软件包管理器进行全局安装:

pnpm add -g @codeswarm/mcp-server
# or
npm install -g @codeswarm/mcp-server
# or
yarn global add @codeswarm/mcp-server

用法

使用API密钥运行MCP服务器:

CODESWARM_API_KEY=YOUR_API_KEY pnpx @codeswarm/mcp-server

或者在shell/profile中设置环境变量。

MCP配置示例(光标)

将此添加到您的 .cursor/mcp.json 或MCP配置:

{
  "mcpServers": {
    "CodeSwarm": {
      "command": "pnpx",
      "args": [
        "@codeswarm/mcp-server"
      ],
      "env": {
        "CODESWARM_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

发展

克隆仓库并安装依赖项:

pnpm install

构建项目:

pnpm build

在开发模式下运行:

pnpm dev

许可证

麻省理工学院