Skip to main content

elm-mcp

Bring IBM Engineering Lifecycle Management to your AI agent.
An MCP server that reads and writes requirements, work items and test cases in IBM ELM over the open OSLC REST protocol — so an agent can work the ALM as a first-class tool.

PyPI Python 3.10+ License: MIT CI


elm-mcp exposes IBM ELM's three OSLC domains — DOORS Next (RM), EWM/RTC (CCM) and ETM (QM) — as MCP tools. An AI assistant (Kiro, Claude, OpenCode, Hermes, …) can then list projects, query and create requirements, work items and test cases, and move them through their workflow, without a human clicking through the Jazz web UI.

It is an independent implementation over the open OSLC REST protocol — not a fork of IBM software, and it does not bundle any IBM client library. The package is vendor-neutral: no organization-specific host, project or namespace is baked in; those come from your own configuration at runtime.

Why

ALM tools like IBM ELM hold the official record — requirements, backlog, tests, traceability — but they live behind a web UI and OSLC APIs that an agent cannot use out of the box. elm-mcp is the bridge: it lets an agentic workflow read context from the ALM and write artifacts back to it, over the Model Context Protocol, so the agent and the traditional process share one source of truth.

Install

Run it with uv — no clone, no manual virtualenv:

uvx elm-mcp            # runs the MCP server (stdio)

Or install from PyPI:

pip install elm-mcp

Configure

One-time credential setup (interactive):

elm-mcp login

Or via environment variables:

export ELM_URL=https://elm.company.com
export ELM_USER=your_username
export ELM_PASSWORD=secret

ELM_URL must be exactly the public URL the server announces (same scheme, host and port that appear in the URLs of its responses). The client only follows URLs, and redirects, on that origin; a server that announces another host name (internal name, http vs https, different port) makes calls fail with "outside the configured ELM server". Redirects are checked before being followed, so a 302 to another host is refused.

TLS certificates are verified. For a server with an internal CA, set ELM_CA_BUNDLE to the CA file (or system for the OS trust store); ELM_VERIFY_TLS=false turns verification off (not recommended; logs a warning). ELM_PASSWORD is used as is (b64:<base64> to pass it encoded; b64:b64:x is the literal text b64:x). Breaking: a base64 ELM_PASSWORD without the b64: prefix is no longer decoded, and a plaintext password in ~/.elm_creds.json is an error: run elm-mcp login again.

Optional settings: ELM_MAX_DOWNLOAD_MB (size cap of download_attachment, default 50), ELM_DOWNLOAD_DIR (root that confines its dest; the tool writes a local file, so it is not read only; 22 tools read only, 19 write; 41 in total), ELM_DOWNLOAD_TIMEOUT (its deadline in seconds, default 300), ELM_CACHE_TTL (seconds of the in-memory discovery cache, default 300, 0 turns it off) and ELM_MCP_PROFILE_DIR (directory of the local profile, default ~/.elm-mcp/profiles/). To start a profile from the discovery of a project (read-only, JSON on stdout):

elm-mcp profile draft "MY PROJECT (KEY)" > ~/.elm-mcp/profiles/project-areas/<project area id>.json

Review the draft before using it; see docs/TOOLS.md for the profile format.

Register with your MCP client

{
  "mcpServers": {
    "elm": {
      "command": "uvx",
      "args": ["elm-mcp"]
    }
  }
}

Tools

Read: list_projects · search_requirements · get_requirement · list_workitems · get_workitem · search_testcases · list_iterations · get_plan_items · list_qm_resources · get_qm_resource · get_test_coverage · get_test_results

Discovery: list_types · list_fields · inspect_workitem · list_folders

Write (RM requirements): create_requirement · update_requirement · delete_requirement

Write (CCM work items): create_workitem · update_workitem · add_child_workitem · transition_workitem · link_artifacts · unlink_artifacts

Full reference with signatures: docs/TOOLS.md. Query syntax and examples: docs/USAGE.md.

# Discover the shape and required fields before writing — nothing is hardcoded per project
list_types(domain="ccm", project="MY PROJECT (KEY)")
list_fields(domain="ccm", project="MY PROJECT (KEY)", type="Task")

# Create a task and run a workflow action (id or id suffix of an action of the item's workflow)
create_workitem(project="MY PROJECT (KEY)", title="Wire up OSLC discovery", type="task")
transition_workitem(id="12345", action="a27")

How it works

MCP client → elm-mcp (MCPServer, stdio) → OSLC discovery + CRUD → IBM ELM (RM / CCM / QM)

Architecture, the generic-core vs. per-project adaptation layer, and design decisions are documented under docs/: ARCHITECTURE · ADRs · roadmap.

Develop

uv sync --group dev
uv run pytest tests/ -v --cov=elm_mcp
uvx ruff@latest check src/ tests/

Conventions (language, tenant-neutrality, EARS requirements, traceability) are in docs/CONVENTIONS.md.

Status

Early but structured. Core read + CCM work-item write (including comments, work item links, field edits and workflow listing) is working; requirement write (RM), discovery tools, OSLC links, test write (QM) and reporting are on the roadmap. Tested against IBM ELM 7.0.3.

License

MIT

Metadata

Release files for elm-mcp 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for elm-mcp 0.6.0
File Size Uploaded Provenance Actions
elm_mcp-0.6.0.tar.gz 890.7 kB With provenance Details for elm_mcp-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for elm-mcp 0.6.0
File Interpreter ABI Platform Actions
elm_mcp-0.6.0-py3-none-any.whl Python 3 none any Details for elm_mcp-0.6.0-py3-none-any.whl

Total release size: 991.4 kB

Release files / elm_mcp-0.6.0.tar.gz

Download URL elm_mcp-0.6.0.tar.gz
Size 890.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a0df0e6e0443a1285409fb8d68c5ac35ff774ecb38ee5db43e003716f93df486
BLAKE2b-256 checksum
How to use checksums
aeaae8a79769dc9db8ca3987717686b6bd117af54b91da7f13542f66138f4c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / elm_mcp-0.6.0-py3-none-any.whl

Download URL elm_mcp-0.6.0-py3-none-any.whl
Size 100.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2be689ab2ab752ec04adf28bffe03834ac8ca7203b6089ae1583ebac8815a662
BLAKE2b-256 checksum
How to use checksums
9582f0a37dc7c1f5438275eeadb2900d33e2aa8c8cb0db18e6592e3b5a2289b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for elm-mcp 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for elm_mcp-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page