npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bmc-helix-mcp

v0.1.1

Published

A MCP Server for BMC Helix ITSM API.

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:
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:

./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:

HELIX_CERT_PATH=./certs/helix-certs.pem
  1. Install dependencies:
npm install
  1. Build the application:
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:

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:

git commit -s -m "Your commit message"

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

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.