Provides integration with Siemens Polarion requirements management system, enabling management of projects, work items, documents, and requirements with flexible querying capabilities
Click on "Install 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 ServerGet Polarion work items: HMI_PROJECT (query: "type:requirement AND status:approved")"
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 Server
A Model Context Protocol (MCP) server for interacting with Siemens Polarion requirements management system. No Docker required!
Features
π Authentication - Browser-based login with manual token generation
π Projects - List and get detailed project information
π Work Items - Query requirements, tasks, and other work items
π Documents - Access Polarion documents and spaces
π Flexible queries - Filter work items with custom queries
β‘ Lightweight - Optimized API calls with configurable field sets
π¦ Easy Installation - One command to get started
Quick Start (30 seconds)
Installation
Option A: Using pip (Recommended)
pip install polarion-mcpOption B: Using uvx (No local Python needed)
Just use directly in mcp.json (see setup below).
Setup
Add to your Cursor mcp.json:
{
"mcpServers": {
"polarion": {
"command": "polarion-mcp"
}
}
}Restart Cursor
In Cursor chat, authenticate:
Open Polarion login
Set Polarion token: <your-token>Done! π
Configuration
Connect to Your Polarion Instance
By default connects to http://dev.polarion.atoms.tech/polarion. To use your own instance:
Option 1: Environment Variable
export POLARION_BASE_URL="https://your-polarion.com/polarion"
polarion-mcpOption 2: In Cursor mcp.json
{
"mcpServers": {
"polarion": {
"command": "polarion-mcp",
"env": {
"POLARION_BASE_URL": "https://your-polarion.com/polarion"
}
}
}
}Option 3: Using uvx with custom URL
{
"mcpServers": {
"polarion": {
"command": "uvx",
"args": ["polarion-mcp@latest"],
"env": {
"POLARION_BASE_URL": "https://your-polarion.com/polarion"
}
}
}
}Available Tools
Once authenticated, use these commands in Cursor:
Authentication
Open Polarion login- Opens browser to Polarion loginSet Polarion token: <token>- Saves authentication tokenCheck Polarion status- Verify authentication
Projects
Get Polarion projects- List all projectsGet Polarion project: PROJECT_ID- Get project details
Work Items
Get Polarion work items: PROJECT_ID- List work itemsGet Polarion work items: PROJECT_ID (query: "HMI AND type:requirement")- Filter resultsGet Polarion work item: PROJECT_ID ITEM_ID- Get item details
Documents
Get Polarion document: PROJECT_ID SPACE_ID DOCUMENT_NAME- Access documents
Analysis
polarion_github_requirements_coverage project_id="PROJECT" topic="HMI"- Requirements coverage
Local Development
Prerequisites
Python 3.10+
Access to Polarion instance
Installation
git clone https://github.com/Sdunga1/Polarion-MCP.git
cd Polarion-MCP
pip install -e .Running
polarion-mcpTroubleshooting
Can't connect?
Verify
POLARION_BASE_URLis correctCheck if Polarion instance is accessible
Verify token hasn't expired
Authentication failed?
Regenerate token in Polarion
Use:
Open Polarion loginβSet Polarion tokenCheck:
Check Polarion status
Not finding projects?
Verify user has access to projects in Polarion
Check authentication:
Check Polarion status
Resources
GitHub: Polarion-MCP
PyPI: polarion-mcp
Issues: Report a bug
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.