MCP Server Polarion
概览
作者提供的说明(英文原文)
MCP server for Polarion ALM — read and write documents and work items
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 209/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
- 你需要填写:POLARION_URL, POLARION_TOKEN
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
POLARION_URL,POLARION_TOKEN,POLARION_MAX_REQUESTS_PER_SECOND
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"polarion": {
"command": "uvx",
"args": [
"mcp-server-polarion"
],
"env": {
"POLARION_URL": "your-value",
"POLARION_TOKEN": "your-value",
"POLARION_MAX_REQUESTS_PER_SECOND": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add polarion --env POLARION_URL=your-value --env POLARION_TOKEN=your-value --env POLARION_MAX_REQUESTS_PER_SECOND=your-value -- uvx mcp-server-polarion运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"polarion": {
"command": "uvx",
"args": [
"mcp-server-polarion"
],
"env": {
"POLARION_URL": "your-value",
"POLARION_TOKEN": "your-value",
"POLARION_MAX_REQUESTS_PER_SECOND": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"polarion": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-polarion"
],
"env": {
"POLARION_URL": "your-value",
"POLARION_TOKEN": "your-value",
"POLARION_MAX_REQUESTS_PER_SECOND": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Base URL of the Polarion server
- Polarion personal access token
POLARION_MAX_REQUESTS_PER_SECONDenvClient-side request rate cap in requests per second; match your deployment's throttle. 0 disables pacing (default: 1)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 devemberx 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3598 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3598 个服务器的 24% 更新
- 基础检查结果等于或优于此分类中其他 3598 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
MCP Server Polarion 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:POLARION_URL, POLARION_TOKEN
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(2.1.0)于3个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
mcp-server-polarion
Talk to your Polarion — AI reads, writes, and reorganizes documents, work items, test runs, and traceability links.
Features · Quickstart · Tools · Example Prompts · Setup
A Model Context Protocol (MCP) server for Polarion ALM, built for real-world instances: every write supports dry_run, guards validate fields and enum values before anything is committed, and requests are paced to a rate cap you configure for your instance — so an AI assistant can work on production data without surprises.
Features
- 46 tools covering read and write across documents, work items, test runs, traceability links, comments, and attachments.
- Read — render documents as Markdown, search with Lucene or SQL, walk incoming/outgoing links, resolve enum options.
- Write — create and update work items, documents, and test runs, manage links, reorganize document structure, post comments.
- Safe writes — every write tool supports
dry_run, and pre-write guards validate fields, enum values, and link targets before hitting Polarion. - Plays nice with your server — requests are serialized and paced to a configurable rate cap, with automatic retries on 429/5xx responses.
- Built for LLMs — strict async, fully typed, pagination on every list tool, docstrings written as the assistant's manual.
Quickstart
Requires Polarion 2506+ and uv — see Prerequisites. Fastest path — Claude Code:
claude mcp add mcp-server-polarion \
-e POLARION_URL=https://polarion.example.com \ -e POLARION_TOKEN=your-personal-access-token \ -- uvx mcp-server-polarion
Other clients (VS Code, Claude Desktop, Cursor) — see Client Configuration.
Tools
Read
| Tool | Description |
|---|---|
list_projects | List accessible projects |
list_documents | List documents in a project |
list_work_items | List work items in a project (Lucene/SQL query) |
list_test_runs | List test runs in a project (Lucene query, templates filter) |
get_test_run | Get test run details, optionally with the raw HTML report body |
list_test_records | List a test run's execution records, one per test case iteration |
get_test_record | Get one test record's execution comment and test-case revision |
get_sql_query_recipes | Fetch copy-paste SQL recipes for advanced queries |
get_html_recipes | Fetch copy-paste Polarion HTML templates for raw-HTML body edits |
get_document | Get document metadata, optionally with the raw body HTML |
read_document | Render a document end-to-end as Markdown |
read_document_parts | List a document's structural parts with embedded work item metadata |
get_work_item | Get work item details with the body as raw HTML |
read_work_item | Get work item details with the body as Markdown |
list_work_item_links | List a work item's outgoing or incoming links |
list_document_attachments | List a document's attachments with file name, size, and author |
get_document_attachment_content | Fetch an image attachment for viewing (bitmap as image, SVG as text) |
list_work_item_attachments | List a work item's attachments with file name, size, and author |
get_work_item_attachment_content | Fetch a work item image attachment for viewing (bitmap as image, SVG as text) |
list_test_record_attachments | List a test record's attachments with file name, size, and author |
get_test_record_attachment_content | Fetch a test record image attachment for viewing (bitmap as image, SVG as text) |
list_document_comments | List a document's comments with thread relationships |
list_work_item_comments | List a work item's comments with thread relationships |
list_document_enum_options | Resolve valid enum ids for a document field |
list_work_item_enum_options | Resolve valid enum ids for a work item field |
All list tools support pagination via page_size (1–100) and page_number parameters.
Write
| Tool | Description |
|---|---|
create_work_items | Create one or more work items in a single request |
update_work_items | Update fields, body, or workflow status on one or more work items |
create_document | Create a new document |
update_document | Update document metadata, body, or workflow status |
copy_document | Copy a document to a new name, space, or project |
create_test_runs | Create one or more test runs, optionally from a template |
create_test_records | Record test-case execution results on a test run |
update_test_runs | Update title, status, group, or custom fields on one or more test runs |
update_test_records | Update result, comment, or defect link on one or more test records of a test run |
create_work_item_links | Create one or more outgoing links from a source work item |
update_work_item_link | Update suspect / revision on one outgoing link |
delete_work_item_links | Delete one or more outgoing links from a source work item |
move_work_item_to_document | Attach a work item to a document at a chosen position |
move_work_item_from_document | Detach a work item from its document |
create_document_attachments | Upload one or more local files as document attachments |
create_work_item_attachments | Upload one or more local files as work item attachments |
create_test_record_attachments | Upload one or more local files as test record attachments |
create_document_comments | Add one or more comments or replies to a document |
create_work_item_comments | Add one or more comments or replies to a work item |
update_document_comment | Resolve or re-open a document comment |
update_work_item_comment | Resolve or re-open a work item comment |
Example Prompts
Discovery & search
"List the projects I can access, then show the documents in project MCPT with their types."
"List the documents in space 'Specifications' of project MCPT."
"Find every approved requirement in project MCPT whose title starts with 'Auth' and show me their owning document."
"Search project MCPT for work items where the custom field 'verification_method' is 'Test' — grab the SQL recipes first if you need a join."
"Find all work items in the SRS module of project MCPT that were changed in the last sprint."
Reading & summarizing
"Read the SRS document of project MCPT and summarize each open requirement."
"Show me the structural outline of the SRS document — headings and the work items under each."
"Read work item MCPT-042 as Markdown and explain what it asks for."
"Show the outgoing and incoming links for MCPT-042 and flag any child task that is still open."
"Which requirements in the SRS document have no 'verifies' back link from a test case?"
"List the open comment threads on the SRS document and who started each."
Creating & editing
"Create a task in project MCPT titled 'Refactor authentication module' and link it to MCPT-042 as 'relates_to'."
"Create three test-case work items in project MCPT from this checklist and link each one to MCPT-042 as 'verifies'."
"Add a new requirement under section 3.2 of the SRS document with the body I just drafted."
"Update the description of MCPT-042 with the revised text I'll paste, keeping the existing formatting."
"Add a comment on the SRS document asking the owner to clarify section 4, then reply to thread T-12 marking it resolved."
"Create a test run REG-SPRINT-7 in project MCPT from the 'Regression' template with status 'open'."
Workflow & reorganization
"List the valid status values for a defect in project MCPT, then move MCPT-077 to 'in_review'."
"Bump MCPT-042's priority to 90, set severity to 'major', and approve the workflow."
"Change MCPT-201 from a task to a requirement and re-apply its previous status."
"Move MCPT-201 into the SRS document right after MCPT-150."
"Detach MCPT-077 from its document so I can rework it as a standalone task."
"Mark the 'blocks' link from MCPT-042 to MCPT-099 as suspect, then delete the stale 'relates_to' link to MCPT-010."
Setup
Prerequisites
Polarion 2506 or higher is required. Earlier versions lack REST API endpoints this server depends on.
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.
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 |
POLARION_MAX_REQUESTS_PER_SECOND | Optional. Client-side request rate cap — raise it to match your deployment's throttle, or set 0 to disable pacing. Writes keep a fixed extra pause regardless (default: 1) | 1 |
To generate a Personal Access Token, open Polarion, click your user name, and go to My Account → Personal Access Tokens.
Client Configuration
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" } } } }
Claude Code
R
只显示了开头部分;其余内容请在仓库中阅读