Skip to main content
Glama

Polarion MCP Server

by Sdunga1

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 install polarion-mcp

Option B: Using Just use directly in mcp.json (see setup below).

Setup

  1. Add to your Cursor mcp.json:

{ "mcpServers": { "polarion": { "command": "polarion-mcp" } } }
  1. Restart Cursor

  2. 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-mcp

Option 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 login

  • Set Polarion token: <token> - Saves authentication token

  • Check Polarion status - Verify authentication

Projects

  • Get Polarion projects - List all projects

  • Get Polarion project: PROJECT_ID - Get project details

Work Items

  • Get Polarion work items: PROJECT_ID - List work items

  • Get Polarion work items: PROJECT_ID (query: "HMI AND type:requirement") - Filter results

  • Get 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-mcp

Troubleshooting

Can't connect?

  • Verify POLARION_BASE_URL is correct

  • Check if Polarion instance is accessible

  • Verify token hasn't expired

Authentication failed?

  • Regenerate token in Polarion

  • Use: Open Polarion login โ†’ Set Polarion token

  • Check: Check Polarion status

Not finding projects?

  • Verify user has access to projects in Polarion

  • Check authentication: Check Polarion status

Resources

License

MIT

Deploy Server
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables interaction with Siemens Polarion requirements management system through natural language. Supports authentication, project management, work item queries, document access, and requirements analysis.

  1. Features
    1. Quick Start (30 seconds)
      1. Installation
      2. Setup
    2. Configuration
      1. Connect to Your Polarion Instance
    3. Available Tools
      1. Local Development
        1. Prerequisites
        2. Installation
        3. Running
      2. Troubleshooting
        1. Resources
          1. License

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sdunga1/MCP-Polarion'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server