Polarion MCP Server
Polarion MCP lets an AI assistant discover and execute Polarion REST operations through a searchable script sandbox.
Search Polarion operations by keyword and retrieve TypeScript declarations or full descriptions, with paging and toolset filtering.
Run JavaScript in an isolated sandbox via
polarion.<operation>(args), usingawaitand returning JSON values, with a 30s timeout and 20-write-call limit.Find and inspect requirements, defects, LiveDocs, traceability links, plans, collections, projects, users, metadata, and allowed field values.
Create or update work items and documents/pages, manage attachments, prepare test runs, and record supplied test outcomes.
Preview writes safely with
dry_run: true; restrict access with read-only mode or selected operations, and Polarion token permissions still apply.
Integrates with VS Code GitHub Copilot agent mode to provide Polarion REST API tools for managing work items and projects directly from the editor.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Polarion MCP Server list work items assigned to me in project ABC"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Polarion MCP
Your Polarion work, one conversation away.
Find requirements, review documents and prepare test runs through your AI assistant. An open-source Model Context Protocol server that exposes every Polarion REST operation (304 tools, generated from the current API definition).
Connect your assistant · Tool catalog
Real claude.ai session, sped up. Watch the 60-second demo
On this page:
What the connector does for you

Your AI client → Polarion MCP → your Polarion REST API. Ask a question; the assistant chooses tools, reads the returned data and proposes an answer or change.
Find answers: search requirements and defects, read LiveDocs and inspect traceability links.
Prepare work: draft test cases, prepare runs and record the test outcomes your team supplies.
Change data, safely: by default, reads and writes are allowed without server confirmation. Your MCP client may still ask before a tool call. Set
MCP_PROFILE=readonlyto block writes without prompts. Preview writes withdry_run: true; supported Work Item and LiveDoc writes also verify attributes by reading them back. Set approval rules in your AI client; previews do not create an approval lock.Inspect what you run: MIT source, build provenance and signed container images. See supply-chain verification.

Domain | Outcome |
Work items | Find requirements, triage defects, prepare field updates. |
Documents and pages | Read LiveDocs, inspect parts, manage attachments and supported pages. |
Test management | Prepare runs and record supplied results. |
Plans and collections | Review release scope and document collections. |
Projects, people and configuration | Discover accessible projects, users, allowed field values and metadata. |
The landing page shows counts by domain, computed from src/tools.ts. The 304 tools count covers generated REST operations; additional helpers change the exposed catalog. Selected Work Item writes validate enumeration values, custom-field keys and user references. Features and limits describe the scope. To keep the tool list small for large catalogs, see Code Mode. Polarion 2612 has a built-in MCP server too: how the two compare.
Related MCP server: Polarion MCP
Get connected
Python users can use the Python launcher (uvx polarion-alm-mcp or pip install polarion-alm-mcp), which starts the matching npm release and requires Node.js 22+ and npm/npx. The PyPI package named polarion-mcp belongs to another project.
Two setups, pick by where your client runs. You need a REST-enabled Polarion instance and a PAT. Every guide starts from nothing and ends with a check.
Setup | Use it when | Guide |
Local (npm / npx) | Your desktop or coding client runs on your computer and starts MCP servers. | |
Server (Docker) | Your client runs in the cloud (claude.ai, ChatGPT) or your team shares one server. |
Then open the guide for your client:
Client | Local | Server | Guide |
Claude Desktop | Yes (docs) | Yes (docs) | |
claude.ai | No | Yes (docs) | |
Claude Code | Yes (docs) | Yes (docs) | |
Claude API | No | Yes (docs) | |
ChatGPT connector | No | Yes (docs) | |
Custom GPT Actions | No | Yes (docs) | |
OpenAI Responses API | No | Yes (docs) | |
OpenAI Agents SDK | Yes (docs) | Yes (docs) | |
Codex | Yes (docs) | Yes (docs) | |
Microsoft Copilot Studio | No | Yes (docs) | |
GitHub Copilot | Yes (docs) | Yes (docs) | |
Antigravity (CLI + IDE) | Yes (docs) | Yes (docs) | |
Gemini (Enterprise) | No | Yes (docs) | |
Cursor | Yes (docs) | Yes (docs) | |
Windsurf / Cascade | Yes (docs) | Yes (docs) | |
JetBrains AI Assistant | Yes (docs) | No | |
Docker team server | No | Yes (docs) | |
Other MCP client (starts a local program) | Yes (docs) | Yes (docs) | |
Other MCP client (connects by URL) | No | Yes (docs) | |
REST wrapper / OpenAPI | No | Yes (docs) | |
n8n REST workflow | No | Yes (docs) | |
Microsoft 365 Copilot / Teams | No | Yes (docs) | |
Mistral Le Chat | No | Yes (docs) | |
Open WebUI or LibreChat with your own models | No | Yes (docs) | |
Ollama with Open WebUI or LibreChat | No | Yes (docs) | |
vLLM with Open WebUI or LibreChat | No | Yes (docs) | |
OpenRouter with Open WebUI or LibreChat | No | Yes (docs) |
For OpenAPI clients, Custom GPT Actions and n8n, run the separate REST wrapper (see the client guides). Keep credentials out of Git. There is no public Polarion relay. See also the client index and deployment.
Limit what the AI can do (optional)
By default the assistant can read and write whatever your Polarion token allows, without a server prompt per call. To narrow that, add to the server's environment:
You want | Settings |
Read only |
|
Only certain operations |
|
Read everything, write only selected operations |
|
Both settings together mean an operation needs both. Misspelled names are ignored with a startup warning and never widen access. All rules.
FAQ
Local: your client starts the server on your computer with npx. Server: you host the server with Docker and the client connects by URL; claude.ai and ChatGPT need it. Custom GPT Actions and n8n use the REST wrapper on a server.
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. Server 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. To allow only some operations, list them in MCP_TOOLS, for example all-reads,patchWorkItem. In write-enabled sessions every write tool can preview with dry_run: true.
Local: 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). Server: open https://YOUR-SERVER/health, then read docker logs polarion-mcp.
More answers: docs/clients.md.
Feedback and community
Feedback and questions: open an issue. Include what you tried, your client and server mode, and what you expected. Leave credentials out.
Nothing documented for your case? Open an issue or PR on the repo and go wild. A clearer example, a small fix or a new integration can help the next team. Read Contributing for source builds and checks. Report vulnerabilities through the security policy.
Built by Phillip Bösger, building on @Jonasdero.
Documentation
Docs index · Configuration · Deployment · Security · Usage · Architecture · Extensions · Releases
Publishing and discovery · Official MCP Registry · Glama listing
License
MIT © Phillip Bösger
Available Tools
2 toolsexecuteRun Polarion scriptADestructive
Run JavaScript in an isolated sandbox. The only API is polarion.<operation>(args) (see search) and console.log. The code is the body of an async function: use await, return a JSON value. Limits: 30 s, 20 write calls. With dry_run: true every write is previewed, not performed.
Inputs: code (required), dry_run.
searchSearch Polarion operationsARead-only
Find Polarion operations by keyword and get their TypeScript declarations for use inside execute. Returns at most limit matches (default 8, maximum 25). Use offset for paging and detail with operation names for full descriptions.
Inputs: limit, query, detail, offset, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
Search is strictly for discovering Polarion operations and their TypeScript signatures, while execute runs JavaScript against those operations. The descriptions make the two-step workflow explicit, so an agent cannot reasonably confuse them.
Both names are single action verbs and follow the same terse convention. They lack the verb_noun form used in many MCP servers, but the naming is internally consistent and readable.
Two tools is minimal, but this is a deliberate code-execution gateway: search discovers the API and execute invokes it. The small surface is well-scoped rather than arbitrarily thin, though it sits at the lower edge of typical tool counts.
The search plus generic execute pattern gives access to the full Polarion operation surface, including paging, detail lookup, dry-run, and write limits. Minor gaps remain, such as no direct operation-enumeration tool or static schema endpoint beyond keyword search.
Maintenance
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
An MCP server that provides agents access to the KeldynAI platform
Related MCP Servers
- AlicenseDqualityDmaintenanceA TypeScript MCP server demo supporting local Stdio and remote Streamable HTTP, demonstrating tool invocation for AI agents.21MIT
- AlicenseAqualityBmaintenanceA 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.46146 PyPI17MIT
- AlicenseNot gradedqualityDmaintenanceA CLI-first Polarion ALM client with MCP server support for AI assistants, enabling natural language interaction with Polarion projects, work items, tests, and plans.4MIT
- AlicenseAqualityDmaintenanceA TypeScript-based MCP server that integrates with Swagger/OpenAPI specifications to expose API endpoints as tools for Large Language Models (LLMs), enabling natural language interaction with any OpenAPI-compliant API.49MIT