MCP server for Polarion ALM — read and write documents and work items
Project description
mcp-server-polarion
A Model Context Protocol (MCP) server for Polarion ALM. Lets AI assistants read documents, work items, and traceability links — and create, update, and reorganize work items — directly from your Polarion instance.
Prerequisites
Polarion 2506 or higher is required. Earlier versions lack REST API endpoints this server depends on.
This server is distributed as a Python package and requires uv to run.
Install uv (if not already installed):
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Or via pip:
pip install uv
No other installation is needed — uvx mcp-server-polarion downloads and runs the server automatically.
Setup
Environment Variables
| Variable | Description | Example |
|---|---|---|
POLARION_URL |
Base URL of your Polarion instance | https://polarion.example.com |
POLARION_TOKEN |
Personal Access Token for authentication | your-personal-access-token |
POLARION_VERIFY_SSL |
Verify TLS certificates (default true). Set false for self-signed certs on trusted networks. |
true |
MCP client
envobjects must use string values, so booleans are quoted (e.g."POLARION_VERIFY_SSL": "true"). The server parses"true"/"false"into a realbool.
VS Code (GitHub Copilot)
Add to .vscode/mcp.json:
{
"servers": {
"mcp-server-polarion": {
"type": "stdio",
"command": "uvx",
"args": ["mcp-server-polarion"],
"env": {
"POLARION_URL": "https://polarion.example.com",
"POLARION_TOKEN": "your-personal-access-token",
"POLARION_VERIFY_SSL": "true"
}
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-server-polarion": {
"command": "uvx",
"args": ["mcp-server-polarion"],
"env": {
"POLARION_URL": "https://polarion.example.com",
"POLARION_TOKEN": "your-personal-access-token",
"POLARION_VERIFY_SSL": "true"
}
}
}
}
Cursor
Add to Cursor MCP settings:
{
"mcpServers": {
"mcp-server-polarion": {
"command": "uvx",
"args": ["mcp-server-polarion"],
"env": {
"POLARION_URL": "https://polarion.example.com",
"POLARION_TOKEN": "your-personal-access-token",
"POLARION_VERIFY_SSL": "true"
}
}
}
}
Claude Code
Register via the claude mcp add command:
claude mcp add mcp-server-polarion \
-e POLARION_URL=https://polarion.example.com \
-e POLARION_TOKEN=your-personal-access-token \
-e POLARION_VERIFY_SSL=true \
-- uvx mcp-server-polarion
Tools
Read
| Tool | Description |
|---|---|
list_projects |
List accessible projects |
list_documents |
List documents in a project |
list_work_items |
Search work items with Lucene or SQL queries |
get_document |
Get document metadata, optionally with the raw body HTML |
read_document |
Render a document end-to-end as Markdown |
read_document_parts |
List a document's structural parts with embedded work item metadata |
get_work_item |
Get work item details with the body as raw HTML |
read_work_item |
Get work item details with the body as Markdown |
list_work_item_links |
List a work item's outgoing or incoming links |
list_document_enum_options |
Resolve valid enum ids for a document field |
list_work_item_enum_options |
Resolve valid enum ids for a work item field |
All list tools support pagination via page_size (1–100) and page_number parameters.
Write
| Tool | Description |
|---|---|
create_work_item |
Create a new work item |
update_work_item |
Update an existing work item |
create_document |
Create a new document |
update_document |
Update document metadata, body, or workflow status |
create_work_item_link |
Create an outgoing link between two work items |
move_work_item_to_document |
Attach a work item to a document at a chosen position |
move_work_item_from_document |
Detach a work item from its document |
Example Prompts
"List the documents in space 'Specifications' of project MCPT."
"Read the SRS document of project MCPT and summarize each open requirement."
"Find every approved requirement in project MCPT whose title starts with 'Auth' and show me their owning document."
"Show the outgoing and incoming links for MCPT-042 and flag any child task that is still open."
"Which requirements in the SRS document have no 'verifies' back link from a test case?"
"List the valid status values for a defect in project MCPT, then move MCPT-077 to 'in_review'."
"Create a task in project MCPT titled 'Refactor authentication module' and link it to MCPT-042 as 'relates_to'."
"Add a new requirement under section 3.2 of the SRS document with the body I just drafted."
"Move MCPT-201 into the SRS document right after MCPT-150."
"Detach MCPT-077 from its document so I can rework it as a standalone task."
"Bump MCPT-042's priority to 90, set severity to 'major', and approve the workflow."
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_polarion-0.9.0.tar.gz.
File metadata
- Download URL: mcp_server_polarion-0.9.0.tar.gz
- Upload date:
- Size: 193.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a65f7c28d1cdbec18173d49b1de65fd7123e3a1947d4e8271ce06c6c654f0947
|
|
| MD5 |
0eccf4f4a2b4361fdf6db2693b9485b9
|
|
| BLAKE2b-256 |
0de59eac0c4042a5a667063b1dec7fe760280a6d10fd36ba4c3ce7243281a253
|
Provenance
The following attestation bundles were made for mcp_server_polarion-0.9.0.tar.gz:
Publisher:
publish.yml on devemberx/mcp-server-polarion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_polarion-0.9.0.tar.gz -
Subject digest:
a65f7c28d1cdbec18173d49b1de65fd7123e3a1947d4e8271ce06c6c654f0947 - Sigstore transparency entry: 1588136320
- Sigstore integration time:
-
Permalink:
devemberx/mcp-server-polarion@00b8dfe5e5a6a1b1eda628b4b608b99a055e14be -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/devemberx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@00b8dfe5e5a6a1b1eda628b4b608b99a055e14be -
Trigger Event:
push
-
Statement type:
File details
Details for the file mcp_server_polarion-0.9.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_polarion-0.9.0-py3-none-any.whl
- Upload date:
- Size: 62.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4bdd974b7728f8884a306d9907d0670b62bdc37405ac8d39f90cfeaa9ecb528
|
|
| MD5 |
2772d713a23e2deaf26c055d436b9f6e
|
|
| BLAKE2b-256 |
c843bc064411f58c8b5f5a3582a7953dfc6c422bb490da417b868ce309b846e7
|
Provenance
The following attestation bundles were made for mcp_server_polarion-0.9.0-py3-none-any.whl:
Publisher:
publish.yml on devemberx/mcp-server-polarion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_polarion-0.9.0-py3-none-any.whl -
Subject digest:
c4bdd974b7728f8884a306d9907d0670b62bdc37405ac8d39f90cfeaa9ecb528 - Sigstore transparency entry: 1588136353
- Sigstore integration time:
-
Permalink:
devemberx/mcp-server-polarion@00b8dfe5e5a6a1b1eda628b4b608b99a055e14be -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/devemberx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@00b8dfe5e5a6a1b1eda628b4b608b99a055e14be -
Trigger Event:
push
-
Statement type: