Work items
Find requirements, triage defects and prepare field updates.
Polarion ALM × your AI assistant
Find the right requirements. Review a document.
Prepare your next test run. Just ask your AI.
An open-source MCP server connecting Polarion to Claude, ChatGPT,
Copilot, Gemini and the tools you already use.
From a question to the right action
Your assistant chooses the tools. The server turns each call into a Polarion REST request. You keep the project context and control the changes.
Your question + project context
Claude · ChatGPT · your MCP clientTools → validated REST requests
Requirements, tests & releases
Your PAT · your permissionsThe assistant summarizes returned data and proposes changes. Every write can be previewed first: the server shows the exact request without sending it. Approval is a workflow you set in your client; the server does not add a universal approval dialog.
Complete REST coverage
All 284 operations of the current Polarion REST API definition, generated from its OpenAPI spec and live-tested on Polarion 2506 and 2606. Your configuration can expose a smaller set.
Find requirements, triage defects and prepare field updates.
Prepare test runs and record the results your team supplies.
Check release scope and keep document collections together.
Read LiveDocs, inspect their parts and work with attachments.
Read and maintain supported project and repository pages.
Discover the allowed values for your project’s fields.
Find accessible projects, users and configuration context.
Inspect metadata and manage available background jobs.
Less searching. More context.
Five conversations you could have with your assistant. These are illustrative workflows and results, using real tools. Your project types, link roles and permissions determine what works.
Tools called by your assistant
getWorkItemsQuery defects in the chosen project and release; page through the results.
getWorkItemRead each candidate’s severity, owner and current status.
Read-only review. Ask for approval before proposing any reassignment or status change.
Tools called by your assistant
getDocumentRead the selected document’s metadata.
getDocumentPartsLocate the referenced work items in the document.
getWorkItemRead REQ-17 and its current description.
patchWorkItemdry_run: true · preview the proposed description update.
You review the proposal. Only after approval does the assistant repeat the update without dry_run. This edits the requirement, not arbitrary LiveDoc body text.
Tools called by your assistant
getWorkItemsRead the selected requirements and check existing test cases first.
postWorkItemsdry_run: true · draft test case items using the project’s configured types.
postTestRunsdry_run: true · preview the new test run.
postTestRecordsAfter execution and approval, record the supplied outcomes; preview first.
Approve each write after its preview. The connector records results; it does not execute your product tests or infer a pass.
Tools called by your assistant
getPlanRead the chosen plan and its scheduled item relationships.
getWorkItemsRead the scheduled items and release defects.
getTestRunsRead matching run status and available result fields.
Read-only summary. You decide whether the release is ready; the assistant does not approve or close it.
Tools called by your assistant
getWorkItemsFetch the agreed requirement scope and any candidate test cases.
getLinkedWorkItemsInspect each requirement’s links and the project’s link direction.
Read-only gap list. Review the project’s link roles and scope before approving any new item or link.
Start small: scope one project, inspect existing items, preview writes, then verify what changed. The assistant still needs your judgment.
Get connected
Choose how the server runs, then connect your client. Pick a client below to see its supported paths and best default. You need a REST-enabled Polarion instance and a PAT.
On your computer? npm / npx starts with your client, using Node.js 22+.
Setting up a team? Docker hosts the server. Cloud connectors need HTTPS and OAuth.
Already hosted? Choose Remote URL. Get the endpoint from your administrator.
Desktop, web and developer tools
ChatGPT, custom GPTs and Codex
Team agents and your editor
Gemini Enterprise and Gemini CLI
Docker, HTTP, REST/OpenAPI, n8n or any other client
Use the client you already work in.
npm / npx
Claude Desktop · Local MCP configuration
{
"mcpServers": {
"polarion": {
"command": "npx",
"args": ["-y", "polarion-mcp"],
"env": {
"API_BASE_URL": "https://YOUR-POLARION/polarion/rest/v1",
"BEARER_TOKEN": "YOUR_POLARION_PAT"
}
}
}
}
Node.js 22+ runs the published npm package on your computer. Replace the URL and PAT locally; keep credentials out of Git.
No public Polarion relay. Host the server yourself or use your team’s URL. The separate REST wrapper serves OpenAPI clients with a deployment PAT and HTTP_API_KEY.
A few things before you go
Setup, permissions and updates, in one place.
Desktop or coding client: npm / npx (your client starts the server). Shared team server: Docker. claude.ai or ChatGPT connector: a public HTTPS server with OAuth, so Docker, or Remote URL if your team runs one. Custom GPT Actions use the REST wrapper.
Polarion user page > Personal Access Token > name and expiry > Create Token. Copy it at once, it is shown only once. If the page says token generation is not allowed, your administrator must enable com.siemens.polarion.rest.security.restApiToken.enabled=true.
Polarion enforces the permissions of the token owner. Remote mode uses each caller's own token and the server stores none. Tool results go to your AI provider, so your organization's data policies apply.
Yes: set MCP_READ_ONLY=1 and restart. Only read tools are exposed. In write-enabled sessions every write tool can preview with dry_run: true.
The token was cut off, has expired, or belongs to another Polarion. Run the token test from Before you start and create a new token.
The token is known but refused. Check: REST enabled (com.siemens.polarion.rest.enabled=true), your user has a license and project access, and no proxy blocks /polarion/rest or the Authorization header.
npm: run npx -y polarion-mcp in a terminal with the same values to see the real error (Node older than 22 and JSON typos are common). Docker or remote: open https://YOUR-SERVER/health, then read docker logs polarion-mcp.
Check MCP_PUBLIC_URL (exact https address, no path), the padlock, that the redirect preset or callback is allowed (MCP_ALLOWED_REDIRECT_PRESETS=claude; the log says redirect_uri rejected), and that MCP_TOKEN_SECRET did not change.