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 分

    請在儲存庫或註冊中心條目中宣告授權條款。