mcp-server-polarion is a Model Context Protocol (MCP) server built for Polarion ALM. Its target scenario is to let MCP-compatible AI assistants interact directly with Polarion in a real environment, reading, writing, and reorganizing documents, work items, test runs, and traceability links. The entire server is designed around production data safety: every write supports dry_run preview, pre-write guards check fields and enumeration values, and requests are throttled according to the rate limit configured for the user per instance, so that AI assistants can operate on production data without causing accidents.
In terms of main capabilities, the repository provides a total of 46 tools, covering read and write for documents, work items, test runs, traceability links, comments, and attachments. Read capabilities include: rendering documents as Markdown, searching with Lucene or SQL, traversing incoming and outgoing links, and resolving enumeration options. Write capabilities include: creating and updating work items, documents, and test runs, managing links, reorganizing document structure, and posting comments. For safe writes, every write tool supports dry_run, and pre-write guards validate fields, enumeration values, and link targets before committing to Polarion. The server also cooperates well with the server it resides on: requests are serialized and throttled according to a configurable rate limit, and 429/5xx responses are automatically retried. In addition, it is built for LLMs: strictly asynchronous, fully type-annotated, every list tool supports pagination, and docstrings are written as manuals for assistants to read.
All list tools support pagination through the page_size (1–100) and page_number parameters.
In terms of usage, the server requires Polarion 2506 or later; earlier versions lack the REST API endpoints the server depends on. It is distributed as a Python package and requires uv to run. After installing uv, no other installation is needed; uvx mcp-server-polarion will automatically download and run the server. When using it, environment variables need to be configured. The Personal Access Token is generated as follows: open Polarion, click your username, and go to My Account → Personal Access Tokens. Client configuration supports multiple methods: add to .vscode/mcp.json (VS Code), claude_desktop_config.json (Claude Desktop), Cursor MCP settings, or register via the claude mcp add command (the fastest path for Claude Code).
Example prompts cover typical usage scenarios, such as: list accessible projects and view documents in project MCPT and their types; list documents under the space 'Specifications' in project MCPT; find all approved requirements in project MCPT whose titles start with 'Auth' and display the documents they belong to; search for work items in project MCPT whose custom field 'verification_method' is 'Test' (if a join is needed, first obtain the SQL recipe); find all work items in the SRS module of project MCPT that were changed in the last sprint; read the SRS document of project MCPT and summarize each open requirement; display the structural outline of the SRS document (headings and the work items under each heading); read work item MCPT-042 in Markdown and explain its requirements; display the outgoing and incoming links of MCPT-042 and flag subtasks that are still open; find requirements in the SRS document that have no 'verifies' backlinks from test cases; list open comment threads on the SRS document and their initiators; create a task titled 'Refactor authentication module' in project MCPT and link it to MCPT-042 as 'relates_to'; create three test case work items in project MCPT based on a checklist and link each to MCPT-042 as 'verifies'; add a requirement under section 3.2 of the SRS document; update the description of MCPT-042; add a comment on the SRS document and reply to the thread to mark it as resolved; create test run REG-SPRINT-7 from the 'Regression' template; list the valid status values for defects in project MCPT and move MCPT-077; adjust the priority and severity of MCPT-042 and approve the workflow; change MCPT-201 from a task to a requirement and restore its original status; move MCPT-201 after MCPT-150 in the SRS document; detach MCPT-077 from the document; move MCPT-042 to MCPT-099's 'blocks' link marked as suspect and delete the outdated 'relates_to' link.
Limitations and notes: requires Polarion 2506 or later; requires uv to run; requires generating a Personal Access Token and configuring environment variables; configuration must be completed per client before use. For more information on fees, pricing, platform support, etc., the current material does not yet provide it. The project welcomes bug reports and pull requests, and the repository contains CONTRIBUTING.md, a code of conduct, and a security policy.