Bmc Helix Mcp

io.github.rod-anami-kyndryl由 GitHub 账号 rod-anami-kyndryl 发布v0.1.1更新于 Oct 24, 2026

A MCP Server for BMC Helix ITSM API.

已验证STDIO仅桌面数据库效率与工作流

概览

AI 生成的概览

一个本地 MCP 服务器,通过 BMC Helix ITSM REST API 让助手读取表单、CMDB 配置项以及变更和问题等 SRE 数据。

可以做什么
从任意 BMC Helix 表单读取记录,支持查询过滤和记录数量限制,并可按偏移量分页汇总多页数据。按唯一 Request ID 或名称查询 CMDB 配置项。获取变更请求的子任务列表,并查找与变更关联的配置项。查找与事件工单关联的问题 ID。
适用场景
适合 SRE 和 IT 服务管理场景:需要助手在 BMC Helix ITSM 实例中查询事件、变更、问题、任务和 CMDB 配置项,而不必切换工具时使用。
运行要求
以本地 Node.js 进程运行(Node v24,需 npm install 和构建)。需要 HELIX_API_URL、HELIX_TOKEN_URL、HELIX_USERID 和 HELIX_PASSWORD,并能访问 Helix 实例网络。可选配置包括端口、Bearer 令牌以及 TLS 证书和密钥。
安装前请注意
服务器持有 BMC Helix API 凭据(HELIX_USERID、HELIX_PASSWORD),并读取实例中的 ITSM 和 CMDB 数据。可选的 MCP_AUTH_TOKEN 用于保护端点,未设置时其他方可能访问该服务。TLS 配置涉及证书和私钥文件路径。所列工具仅读取数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Bmc Helix Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

BMC Helix MCP Server

The BMC Helix MCP Server is a Model Context Protocol (MCP) server for SRE operations using BMC Helix ITSM REST APIs. It is implemented in TypeScript, powered by Express, and optionally configurable with HTTPS/TLS.

For details on releases and updates, see the Changelog.

Project Features

  • Model Context Protocol (MCP) Support: Built with @modelcontextprotocol/sdk to seamlessly integrate with LLMs and coding assistants.
  • Form & CI Operations: Wraps native BMC Helix ITSM REST API calls for fetching and paginating table data, CMDB CI querying by ID or Name, tasks, associations, and relationship checking.
  • Express + HTTPS: Supports standard HTTP as well as secure HTTPS with complete TLS certificate validation configurations.
  • Node v24 and modern ES Module structure.

Directory Structure

  • src/mcp-server.ts: Fully-typed, rate-limited MCP Server application featuring express transport and tool mappings.
  • certs/: Holds local client and server CA keys, configurations, and scripts for secure TLS enablement.
  • tests/: Integration tests using a mock Helix Server to validate server endpoints, authorization, and tool schemas.

Registered MCP Tools

The server registers the following high-value tools:

  1. helix_get_table_data: Retrieve records from any BMC Helix form (e.g., HPD:IncidentInterface, CHG:Infrastructure Change) with optional query filters and record limits.
  2. helix_get_table_data_paginated: Automatically fetches and aggregates multi-page records from a form using offset-based pagination.
  3. helix_get_ci_by_id: Get a configuration item's attributes from BMC.CORE:BMC_BaseElement by its unique entry Request ID.
  4. helix_get_ci_by_name: Find CMDB records by name.
  5. helix_get_change_request_tasks: Retrieves children task lists from TMS:Task for a given Change ID (CRQ...).
  6. helix_get_problem_investigation_id: Finds the associated Problem ID for a given incident ticket.
  7. helix_get_change_configuration_items: Finds AST configuration items associated with a Change ID.

Installation & Setup

  1. Copy .env.example to .env and fill in your details:
bash
cp .env.example .env
  1. Configuration Settings in .env:
  • HELIX_API_URL: BMC Helix Entry level URL endpoint.
  • HELIX_TOKEN_URL: JWT Login payload URL endpoint.
  • HELIX_USERID / HELIX_PASSWORD: Helix API Credentials.
  • MCP_PORT: Web server running port (defaults to 3000).
  • MCP_AUTH_TOKEN: Optional API Authorization Bearer token to secure the MCP endpoint from external entities.
  • MCP_TLS_ENABLED: Set to true to enable TLS on the express listener.
  1. Retrieve TLS Certificates from BMC Helix:

If your BMC Helix instance uses self-signed, internal, or custom CA certificates, you can automatically retrieve the certificate chain using the helper script:

bash
./certs/helix-certs.sh https://your-helix-instance.onbmc.com

This retrieves the website's certificate chain via openssl and saves it to certs/helix-certs.pem. Then, reference it in your .env configuration:

env
HELIX_CERT_PATH=./certs/helix-certs.pem
  1. Install dependencies:
bash
npm install
  1. Build the application:
bash
npm run build
  1. Start the server (Dev / Production):
  • Production Mode: npm run start
  • Development Mode: npm run dev

Testing

The project includes an integration test suite implemented with Node's native test runner (via --test). It runs against a mock BMC Helix server environment to validate:

  • Server initialization & health status checks.
  • API authentication and security authorization filters (e.g., verifying MCP_AUTH_TOKEN behavior).
  • Tool definitions and structural query capability.
  • Exact end-to-end flow execution for tool retrievals (helix_get_table_data, helix_get_table_data_paginated, CI queries, and Change/Problem relationships).

To execute the test suite:

bash
npm test

This command will compile the TypeScript codebase into the production output directory, launch the integrated mock server, spawn the MCP Server as an isolated subprocess, and execute all validation assertions.


Contributing

We welcome contributions to this project! To contribute, please make sure your commits are signed off to certify compliance with the Developer Certificate of Origin (DCO).

Developer Certificate of Origin 1.1

DCO is a lightweight legal framework that ensures contributors have the right to submit their code under the project's open source license. By signing off your commits, you certify that you have the right to contribute the code and that it complies with the project's licensing terms.

DCO

How to Sign Off

To certify your agreement with the DCO, add a Signed-off-by line to every commit message. You can do this automatically by signing off your commit with the -s or --signoff flag:

bash
git commit -s -m "Your commit message"

This will append a line like the following to your commit message:

text
Signed-off-by: Jane Doe <[email protected]>

Changelog

See CHANGELOG.md for a history of changes.

License

This project is licensed under the MIT License.

来源:README.md,提交 dcda57a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。