3C

3knightcz/codebeamer-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 5 forks 质量 80 趋势 22MIT

一个用于 Codebeamer ALM 的 MCP(模式上下文协议)服务器. 允许克洛德和其他MCP客户端使用自然语言读取并写出项目,跟踪器,以及Codebeamer中的项目.

概览

一个用于 Codebeamer ALM 的 MCP(模式上下文协议)服务器. 允许克洛德和其他MCP客户端使用自然语言读取并写出项目,跟踪器,以及Codebeamer中的项目. - Node.js 20+ - 访问代码束实例(URL,用户名,密码) 最快的方式——在您的终端运行此命令: 或者手动将其添加到项目根中的.mcp.json(或全球范围为~/.claude/mcp.json): 在项目根(项目范围)或~/.cursor/mcp.json(全球)中添加: 添加到~/.codeium/windsurf/mcp config.json 中 : 在工程根中添加到.vscode/mcp.json: 然后在上方的任何配置中使用"command":"codebeamer-mcp"(没有args)来代替npx.

概述(AI 翻译)

一个用于 Codebeamer ALM 的 MCP(模式上下文协议)服务器. 允许克洛德和其他MCP客户端使用自然语言读取并写出项目,跟踪器,以及Codebeamer中的项目.

□ 工具(19)

读取

  • 工具 * * 描述 * * |-|-|-.

获得项目细节

QQ[ [T3]] 获取跟踪器细节 QQ

search_items * * * * * 全文 / cbQL 搜索 * * * * get_item 获得项目摘要:ID、名称、跟踪器、状态和描述。 轻量级 — 当您只需要识别项目并读取其内容时使用 QQ QQget_item_details 获得一个项目的完整结构细节:项目,优先权,受让人,时间戳,故事点,自定义字段和测试步骤. 说明省略了——通过get_item取出。 get_item_relations 获得退出/加入的协会(依赖,块,.)

  • 获取上游/下游可追溯性参考文献(取自、封面、.) get_item_comments 获得项目评论

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

codebeamer-mcp

An MCP (Model Context Protocol) server for Codebeamer ALM. Allows Claude and other MCP clients to read and write projects, trackers, and items in Codebeamer using natural language.

Tools (19)

Read

Tool Description
list_projects List all projects
get_project Get project details
list_trackers List trackers in a project
get_tracker Get tracker details
list_tracker_items List items in a tracker
search_items Full-text / cbQL search
get_item Get item summary: ID, name, tracker, status and description. Lightweight — use when you only need to identify the item and read its content
get_item_details Get full structured detail of an item: project, priority, assignees, timestamps, story points, custom fields and test steps. Description omitted — fetch it via get_item
get_item_relations Get outgoing/incoming associations (depends on, blocks, …)
get_item_references Get upstream/downstream traceability references (derived from, covers, …)
get_item_comments Get item comments
get_item_reviews Get Review Hub reviews for an item (result, reviewers, votes)
get_user Get user details

Write

Tool Description
create_item Create a new item in a tracker. Supports folders, item type, and parent nesting
update_item Update an existing item (name, description, status, priority, assignee, custom fields)
add_comment Add a comment to an item
create_association Create an association between two items (e.g. depends on, blocks)
create_reference Add a downstream traceability reference between two items
create_harm Create a harm entry in an RM Harms List tracker with IMDRF code and severity (1–5)

Installation

Requirements

  • Node.js 20+
  • Access to a Codebeamer instance (URL, username, password)

Claude Code (CLI)

The fastest way — run this command in your terminal:

claude mcp add codebeamer -e CB_URL=https://your-instance.example.com/cb/api \
  -e CB_USERNAME=your_username -e CB_PASSWORD=your_password \
  -- npx -y codebeamer-mcp

Or add it manually to .mcp.json in the project root (or ~/.claude/mcp.json for global scope):

{
  "mcpServers": {
    "codebeamer": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "codebeamer-mcp"],
      "env": {
        "CB_URL": "https://your-instance.example.com/cb/api",
        "CB_USERNAME": "your_username",
        "CB_PASSWORD": "your_password"
      }
    }
  }
}

Claude Desktop

Edit the config file for your platform:

Platform Path
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Windows %APPDATA%\Claude\claude_desktop_config.json
在 GitHub 查看完整 README

安装

npx -y codebeamer-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "codebeamer": { "type": "stdio", "command": "npx", "args": ["-y", "codebeamer-mcp"], "env": { "CB_URL": "https://your-instance.example.com/cb/api", "CB_USERNAME": "your_username", "CB_PASSWORD": "your_password" } } } }