Polarion MCP Servers

Polarion MCP Servers

polarionmcpservers•bypeakflames

Model Context Protocol server implementations that integrate with Polarion Application Lifecycle Management, offered both as a streamable HTTP server and a console-based stdio server.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Gets metadata, custom fields, outline headings, revision history, and section content for Polarion documents.
  • •Retrieves work item content, details including standard and custom fields with linked items, and revision history with recursive link following.
  • •Searches work items across a Polarion project by text, within documents, and optionally via a validated read-only SQL query tool.
  • •Lists documents, spaces, custom fields, and configured work item types for the current project, and queries work items in a module with pinned revision reporting.

BEST FOR

  • •Teams that want AI assistants to read and search Polarion requirements, defects, and other work items.
  • •Organizations needing a shared remote Polarion MCP endpoint with optional OAuth 2.1 authentication and per-caller access control.
  • •Individual developers running Polarion integration locally on a workstation via a stdio server.

ABOUT POLARIONMCPSERVERS

Polarion MCP Servers is cataloged as an MCP server attributed to peakflames. Model Context Protocol server implementations that integrate with Polarion Application Lifecycle Management, offered both as a streamable HTTP server and a console-based stdio server. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Polarion MCP Servers are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support multiple Polarion projects?

Yes, a PolarionProjects array in configuration defines one or more Polarion instances, each accessible via a unique URL alias.

Can the SQL query tool be disabled?

Yes, the SQL query tool is off by default and is registered only when the SqlQueryTool:Enabled setting is true.

Are passwords required in configuration files?

No, the POLARION_PASSWORD environment variable can be set to override the configured password for all projects.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 0c13ed255713 · 采集于 2026-11-13 09:45:40 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Polarion MCP Servers

This repository contains Model Context Protocol (MCP) server implementations for Polarion Application Lifecycle Management (ALM) integration.

MCP Tools are available for Polarion work items, including:

  • get_document_info: Gets metadata and custom fields for a Polarion Document.
  • get_document_outline: Gets all section headings (table of contents) within a Polarion Document.
  • get_document_revision_history: Gets the revision history for a Polarion document/module.
  • get_document_section: Gets content for a specific section heading and its sub-headings in a Polarion Document.
  • get_workitem: Gets the text content of a WorkItem. Optionally retrieves a specific revision.
  • get_workitem_details: Gets detailed information for WorkItems including standard fields, custom fields, and linked work items. Supports traceability with recursive link following.
  • get_workitem_history: Gets the revision history for a WorkItem including content at each revision.
  • get_workitems_in_module: Query work items from a Polarion module/document. Pinned references show their pinned revision, and unresolvable references are reported with their URIs.
  • list_custom_fields: Lists available custom fields for a specific WorkItem type.
  • list_documents: Lists all Documents in the Polarion Project. Optionally filter by space name and/or title.
  • list_spaces: Lists all Space names in the Polarion project.
  • list_workitem_types: Lists all configured WorkItem types for the current project.
  • search_in_document: Searches a Polarion Document for work items matching search terms.
  • search_workitems: Searches for work items across the entire Polarion project using text content.
  • search_workitems_sql (opt-in): Runs a validated read-only SQL query (a single SELECT over WORKITEM projecting C_PK) as a Polarion SQL:(…) filter, for join-heavy reads plain Lucene cannot express. Registered only when SqlQueryTool:Enabled=true. Results stay within the endpoint's project. See RBAC.

Projects

  • PolarionRemoteMcpServer: Streamable HTTP MCP server for server-based installations. Stateless, with optional OAuth 2.1 authentication and per-caller RBAC.
  • PolarionMcpServer: Console-based MCP server for Polarion integration for local workstation installations
  1. From your Linux server, create a directory for your configuration and logs:

    mkdir -p /opt/polarion-mcp-server
    cd /opt/polarion-mcp-server
    
  2. Pull the Docker image:

    docker pull peakflames/polarion-remote-mcp-server
    
  3. Create a tailored /opt/polarion-mcp-server/appsettings.json file to your Polarion configuration:

    {
      "Logging": {
        "LogLevel": {
          "Default": "Information",
          "Microsoft.AspNetCore": "Warning"
        }
      },
      "AllowedHosts": "*",
      "ApiConsumers": {
        "Consumers": {
          "my_app": {
            "Name": "My Application",
            "ApplicationKey": "your-secure-api-key-here",
            "Active": true,
            "AllowedScopes": ["polarion:read"],
            "Description": "API consumer for my application"
          }
        }
      },
      "PolarionProjects": [
           {
               "ProjectUrlAlias": "starlight", 
               "Default": true,
               "SessionConfig": { 
                   "ServerUrl": "https://polarion.int.mycompany.com/",
                   "Username": "shared_user_read_only",
                   "Password": "your-password", 
                   "ProjectId": "Starlight_Main", 
                   "TimeoutSeconds": 60
               },
               "PolarionWorkItemTypes": [
                 {
                   "id": "requirement",
                   "fields": ["custom_field_1", "priority", "severity"]
                 },
                 {
                   "id": "defect",
                   "fields": ["defect_type", "found_in_build"]
                 }
               ]
           },
           {
               "ProjectUrlAlias": "octopus", 
               "Default": false,
               "SessionConfig": { 
                   "ServerUrl": "https://polarion.int.mycompany.com/",
                   "Username": "some_other_user",
                   "Password": "your-password", 
                   "ProjectId": "octopus_gov", 
                   "TimeoutSeconds": 60
               }
           },
           {
               "ProjectUrlAlias": "grogu", 
               "Default": false,
               "SessionConfig": { 
                   "ServerUrl": "https://polarion-dev.int.mycompany.com/",
                   "Username": "vader",
                   "Password": "12345", 
                   "ProjectId": "grogu_boss", 
                   "TimeoutSeconds": 60
               }
           }
       ]
    }
    
  4. Run the Docker container:

    docker run -d \
      --name polarion-mcp-server \
      -p 8080:8080 \
      -v appsettings.json:/app/appsettings.json \
      peakflames/polarion-remote-mcp-server
    
  5. The server should now be running. MCP clients will connect using a URL specific to the desired project configuration alias:

    1. Streamable HTTP Transport: http://{{your-server-ip}}:8080/{ProjectUrlAlias}/mcp.
  6. The server also provides:

    • REST API: http://{{your-server-ip}}:8080/polarion/rest/v1/projects/{ProjectId}/... (uses SessionConfig.ProjectId)
      • Note: REST API endpoints require API key authentication via X-API-Key header
    • API Documentation: http://{{your-server-ip}}:8080/scalar/v1 (includes authentication UI)
    • Health Check: http://{{your-server-ip}}:8080/api/health
  7. 📢IMPORTANT - Do NOT run with replica instances of the server as the session connection will not be shared between replicas.

Configuration Options

Configuration Files:

  • appsettings.json - Base configuration for production/server deployments. Tracked in git, and carries non-secret defaults only.
  • appsettings.Development.json - Overrides base settings for local development. Also tracked in git (non-secret defaults only) — takes precedence in Development mode. Any variant you fill in with real credentials stays uncommitted; see .gitignore.
  • .env - Optional environment variables (copy from .env.example), can set POLARION_DEFAULT_PROJECT

The server uses a PolarionProjects array in appsettings.json to define one or more Polarion instance configurations. Each object in the array represents a distinct configuration accessible via a unique URL alias.

Top-Level SettingDescription
PolarionProjects(Array) Contains one or more Polarion project configuration objects.
McpAuth(Object, optional) OAuth 2.1 resource-server authentication for the MCP endpoint. Off by default.
Rbac(Object, optional) Per-caller Polarion project-visibility gate for MCP tool calls. Off by default; requires McpAuth.
Credentials(Object, optional) Controls whose Polarion credential an MCP call uses upstream. Defaults to today's shared-service-account behavior.

Each Project Configuration Object:

SettingDescriptionRequiredDefault
ProjectUrlAliasA unique string used in the connection URL (/{ProjectUrlAlias}/mcp) to identify this configuration.YesN/A
Default(boolean) If true, this configuration is used if the client connects without specifying a ProjectUrlAlias. Only one entry can be true.Nofalse
SessionConfig(Object) Contains the specific connection details for this Polarion instance.YesN/A
PolarionWorkItemTypes(Array, Optional) Defines custom fields to retrieve for specific WorkItem types within this project. Each object in the array should have an id (string, WorkItem type ID) and fields (array of strings, custom field names).NoEmpty List

SessionConfig Object Details:

SettingDescriptionRequiredDefault
ServerUrlURL of the Polarion server (e.g., "https://polarion.example.com/")YesN/A
UsernamePolarion username with appropriate permissions.YesN/A
PasswordPassword for the Polarion user. (Consider secure alternatives)YesN/A
ProjectIdThe actual ID of the Polarion project to interact with.YesN/A
TimeoutSecondsConnection timeout in seconds.No60
MaxReceivedMessageSize(Optional integer, bytes) Largest response the Polarion client accepts. Must be greater than zero when set.NoUnset (no cap, int.MaxValue)

Environment Variable Password Override

Instead of placing passwords in configuration files, set the POLARION_PASSWORD environment variable. When set, it overrides SessionConfig.Password for all configured projects.

Docker example:

docker run -d \
  --name polarion-mcp-server \
  -p 8080:8080 \
  -e POLARION_PASSWORD=your-secret-password \
  -v appsettings.json:/app/appsettings.json \
  peakflames/polarion-remote-mcp-server

This works for both PolarionRemoteMcpServer (HTTP) and PolarionMcpServer (stdio).

Note: It is strongly recommended to use the POLARION_PASSWORD environment variable or more secure methods for storing credentials (like User Secrets, Azure Key Vault, etc.) rather than placing plain text passwords in appsettings.json.

REST API Specification Alignment

The REST API is designed to align with the official Polarion REST API specification available at https://testdrive.polarion.com/polarion/rest/v1/definition. A local copy of this definition is maintained at docs/polarion-rest-vq-definition.json for reference when implementing or extending endpoints.

API Key Authentication (REST API Only)

REST API endpoints require authentication via API key. Configure API consumers in the ApiConsumers section of appsettings.json:

SettingDescriptionRequired
ApiConsumers.ConsumersDictionary of consumer configurations keyed by consumer IDYes
NameDisplay name for the API consumerYes
ApplicationKeyThe API key used for authenticationYes
ActiveWhether the consumer is allowed to authenticateYes
AllowedScopesList of scopes (e.g., ["polarion:read"])Yes
DescriptionOptional description of the consumerNo

Available Scopes:

  • polarion:read - Read access to all REST API endpoints

Usage:

curl -H "X-API-Key: your-api-key" http://localhost:8080/polarion/rest/v1/projects/{projectId}/spaces

Note: Health checks (/api/health, /api/version) and API documentation (/scalar/v1) do not require authentication. MCP endpoints do not require authentication either, only while McpAuth:Enabled is false (the default) — see the next section.

Optional: MCP Authentication and Per-Caller Access Control

PolarionRemoteMcpServer supports two independent, off-by-default features for the MCP endpoint:

  • OAuth 2.1 authentication (McpAuth:Enabled) — requires a bearer token from an external authorization server before a tools/call is allowed to run. Each served project alias publishes its own RFC 9728 protected-resource metadata at /.well-known/oauth-protected-resource/{alias}/mcp, so a conforming MCP client can discover how to authenticate automatically.
  • Per-caller RBAC (Rbac:Enabled) — additionally authorizes each tools/call against the calling user's own Polarion project membership, instead of every authenticated caller sharing the same access. Requires McpAuth:Enabled=true.

Both are false by default, and the server's behavior is unchanged from prior releases unless you configure them. See docs/authentication.md and docs/rbac.md for setup, configuration reference tables, and startup validation errors.

A third off-by-default feature is the SQL query tool:

KeyDefaultEffect
SqlQueryTool:EnabledfalseWhen true, registers the search_workitems_sql tool on both servers. The tool is project-contained (see docs/rbac.md), so it needs no per-tool RBAC rule, but it does expose a yes/no oracle about the existence of data in other projects via heavy joins — leave it disabled if that residual is unacceptable.

Configuring MCP Clients

To configure Cline:

  1. Open Cline's MCP settings UI
  2. Click the "Remote Servers" tab
  3. For each ProjectUrlAlias in your appsettings.json that the user wants to connect to:
{
  "mcpServers": {
    ...
    ...

    "Polarion Starlight": {
      "autoApprove": [],
      "disabled": true,
      "timeout": 60,
      "url": "http://{{your-server-ip}}:8080/starlight/mcp",
      "transportType": "streamableHttp"
    },
    "Polarion Octopus": {
      "autoApprove": [],
      "disabled": true,
      "timeout": 60,
      "url": "http://{{your-server-ip}}:8080/octopus/mcp",
    "transportType": "streamableHttp"
    }
  ...
  ...
}
  1. Repeat for each ProjectUrlAlias you want to connect to.

To configure Visual Studio Code:

Add the following configuration to your settings.json file:

"servers": {
    "polarion-starlight": { // Use a descriptive key
        "type": "http",
        "url": "http://{{your-server-ip}}:8080/starlight/mcp", // Replace with your alias
        "env": {}
    },
    "polarion-octopus": { 
        "type": "http",
        "url": "http://{{your-server-ip}}:8080/octopus/mcp", // Replace with your alias
        "env": {}
    }
    // Add entries for each ProjectUrlAlias
}

Or from the CLI:

claude mcp add --transport http polarion-starlight http://{{your-server-ip}}:8080/starlight/mcp

To Claude Desktop:

Claude Desktop does not yet support streamable HTTP natively, but you can use a proxy with the following addition to the claude_desktop_config.json file:

{
  "mcpServers": {
    "polarion-remote": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://{{your-server-ip}}:8080/{ProjectUrlAlias}/mcp" // Replace {ProjectUrlAlias}
      ]
    }
    // Add entries for each ProjectUrlAlias, potentially using different keys like "polarion-starlight"
  }
}

Running Locally (stdio)

For local development or workstation use, you can run the stdio-based MCP server:

  1. Download the appropriate executable for your platform from the releases page
  2. Configure your MCP client to use the stdio transport with the executable path

Troubleshooting

POST /{alias}/mcp returns 401 and the client never prompts to log in — confirm the client implements MCP's OAuth discovery flow (RFC 9728). Fetch /.well-known/oauth-protected-resource/{alias}/mcp yourself; if that 404s, McpAuth:Enabled isn't actually true on the running server. See docs/authentication.md.

POST /{alias}/mcp returns 403 — the caller authenticated, but is missing the required scope or its OAuth client ID isn't on McpAuth:AllowedClientIds. See 401 vs 403.

Server refuses to start with an McpAuth or Rbac validation error — every message names the exact key to fix; see the validation-error tables in docs/authentication.md and docs/rbac.md.

Every MCP tool call is denied under RBAC — RBAC fails closed by design. Set Rbac:AuditOnly=true and read the access-audit records' DecisionReason field; see docs/rbac.md#troubleshooting.

Contributing

For developers who want to contribute or build from source, see CONTRIBUTING.md.

License

See LICENSE for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Polarion MCP Servers from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/polarionmcpservers)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools