Skip to main content

MCP server for Polarion ALM — read and write documents and work items

Project description

mcp-server-polarion

A Model Context Protocol (MCP) server for Polarion ALM. Lets AI assistants read documents, work items, and traceability links directly from your Polarion instance.

PyPI Python 3.12+ License: MIT

Prerequisites

This server is distributed as a Python package and requires uv to run.

Install uv (if not already installed):

# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Or via pip:

pip install uv

No other installation is needed — uvx mcp-server-polarion downloads and runs the server automatically.


Setup

Environment Variables

Variable Description Example
POLARION_URL Base URL of your Polarion instance https://polarion.example.com
POLARION_TOKEN Personal Access Token for authentication your-personal-access-token

VS Code (GitHub Copilot)

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-server-polarion": {
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-server-polarion"],
      "env": {
        "POLARION_URL": "https://polarion.example.com",
        "POLARION_TOKEN": "your-personal-access-token"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-server-polarion": {
      "command": "uvx",
      "args": ["mcp-server-polarion"],
      "env": {
        "POLARION_URL": "https://polarion.example.com",
        "POLARION_TOKEN": "your-personal-access-token"
      }
    }
  }
}

Cursor

Add to Cursor MCP settings:

{
  "mcpServers": {
    "mcp-server-polarion": {
      "command": "uvx",
      "args": ["mcp-server-polarion"],
      "env": {
        "POLARION_URL": "https://polarion.example.com",
        "POLARION_TOKEN": "your-personal-access-token"
      }
    }
  }
}

Tools

Tool Description
list_projects List all accessible Polarion projects (supports Lucene query filtering)
list_documents List documents in a project (with optional name/space filtering)
get_document Get full document content in Markdown
get_document_parts List structural parts (headings, work items) with part IDs
list_work_items Search work items with Lucene queries (e.g. type:requirement)
get_work_item Get full work item details including description in Markdown
get_linked_work_items Get all forward and back links for traceability

All list tools support pagination via page_size (1–100) and page_number parameters.

Example Prompts

"List all projects in Polarion"

"Show me the documents in project MCPT"

"Read the Software Requirement Specification document in project MCPT"

"Find all approved requirements in project MCPT"

"What work items are linked to MCPT-001?"

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_polarion-0.2.0.tar.gz (118.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_polarion-0.2.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_polarion-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_server_polarion-0.2.0.tar.gz
  • Upload date:
  • Size: 118.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_server_polarion-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9dd47afe6382359c509905e457f14a4507adcbefd9f0572e9b12201e13471eb4
MD5 72002da5954a6ab8495ff591fae2bff1
BLAKE2b-256 cae438b42fa390c6701537ff723a5f7372d80b4c413b00ebbed685b3b7047c76

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_polarion-0.2.0.tar.gz:

Publisher: publish.yml on devemberx/mcp-server-polarion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_polarion-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_polarion-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 355f92b8107deb3c260d948556e993c6891efa4fc5c94dc2669ef3d830b340c6
MD5 ce071d2e62bd25128fb91aaefb1a9abd
BLAKE2b-256 a6f0802e336375a835b6788b16c7f54ceed85a0057b54a55484d91c29dfeb56d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_polarion-0.2.0-py3-none-any.whl:

Publisher: publish.yml on devemberx/mcp-server-polarion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page