Back to MCP directory
publicPublicdnsLocal runtime

roo-mcp-server

这是一个基于Deno的MCP服务器项目,为开发工具提供GitHub、JIRA、Slack等平台的集成功能,支持通过Roo Code调用各类开发辅助工具。

article

README

🚀 Tech MCP 服务器

这是一个专门为 Claude、Cursor 和 Roo Code 提供 MCP 服务的服务器。它提供了一系列基本工具,能有效满足相关开发需求。

🚀 快速开始

前提条件

启动方法

# 启动服务器
deno task start

# 开发模式启动(监视更改并自动重启)
deno task dev

测试运行

# 执行测试
deno task test

✨ 主要特性

提供的工具 (版本 v0.6)

基本工具

  • getStringLength - 返回字符串长度的工具(用于功能验证)

GitHub 相关工具

  • getGitHubRepoInfo - 获取 GitHub 仓库的信息
  • getGitHubRepoContents - 获取 GitHub 仓库的内容(文件和目录)
  • getGitHubIssues - 获取 GitHub 仓库的问题
  • getGitHubCommits - 获取 GitHub 仓库的提交历史
  • getGitHubPullRequests - 获取 GitHub 仓库的拉取请求
  • getGitHubUserInfo - 获取已认证的 GitHub 用户信息

JIRA 相关工具

  • getJiraProjectInfo - 获取 JIRA 项目的信息
  • getJiraIssue - 获取 JIRA 工单的信息
  • searchJiraIssues - 使用 JQL 搜索 JIRA 工单
  • getJiraProjectIssues - 获取 JIRA 项目的工单列表

Slack 相关工具

  • slack_list_channels - 获取 Slack 工作区的公开频道列表
  • slack_post_message - 向 Slack 频道发送新消息
  • slack_user_conversations - 获取用户参与的频道列表
  • slack_get_channel_history - 根据频道名称获取聊天历史
  • slack_get_thread_replies - 根据频道名称和线程时间戳获取回复

集成工具

  • mapGitHubPrToJiraIssues - 将 GitHub 拉取请求与 JIRA 工单进行映射
  • generateDashboardSummary - 生成开发状态的仪表板摘要

📦 安装指南

注册到Roo Code的方法

  1. 启动服务器: deno task start
  2. 编辑 Roo Cline 的设置文件: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
  3. 添加以下配置:
  4. 环境变量由@aka-ganasu 提供
{
  "mcpServers": {
    "local": {
      "command": "deno",
      "args": [
        "run",
        "--allow-net",
        "--allow-env",
        "--allow-read",
        "/path/to/src/server.ts"
      ],
      "env": {},
      "disabled": false,
      "alwaysAllow": [
        "GITHUB_TOKEN": "ghp_xxxxx"
        ...
      ]
    }
  }
}
  1. 将路径替换为实际的 src/server.ts 路径
  2. 重启 Roo Cline 以应用配置
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client