
redhat-community-ai-tools/polarion-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Polarion ALM 통합을 위한 MCP 서버. 테스트 케이스 관리, 테스트 실행 추적, JUnit 가져오기 및 스프레드 시트 통합 제공. undocumented Polarion REST API 엔드포인트를 발견했습니다.
개요
Siemens Polarion ALM 통합을 위한 포괄적인 모델 Context Protocol (MCP) 서버, 테스트 케이스 관리, 테스트 실행 및 결과 보고를 위한 전체 지원. - 전체 세부 사항이있는 테스트 케이스 만들기 - 업데이트 테스트 케이스 속성 - 검색 및 쿼리 테스트 케이스 - (REST API + SOAP API fallback) - - 생성시 즉시 테스트 단계 추가 - - 사용자 이름 / 암호 auth로 기존 테스트 단계 강화 - 요구 사항에 대한 링크 테스트 케이스 - 테스트 실행 만들기 - 테스트 실행에 테스트 케이스 추가 - 업데이트 테스트 실행 상태 - 기록 테스트 결과 (수입 / 실패 / 차단) - 첨부 파일 및 코멘트 추가 - JUnit 보고서에서 테스트 결과를 가져 오기 - Excel / CSV로 내보내기 테스트 케이스 / 이력서 - 스프레드 시트에서 대량 수입 테스트 케이스 - CI / CD 통합을위한 Webhook 지원 ~/Library/Application Support/Claude/claude desktop config.json에 추가하십시오: 서버는 REST API를 통해 전략을 사용하여 테스트 케이스에 테스트 단계를 추가하거나 교체합니다. 새로운 또는 기존 여부.
개요(AI 번역)
Siemens Polarion ALM 통합을 위한 포괄적인 모델 Context Protocol (MCP) 서버, 테스트 케이스 관리, 테스트 실행 및 결과 보고를 위한 전체 지원.
특징
시험 케이스 관리
- 완전한 세부사항을 가진 시험 케이스를 창조하십시오
- 업데이트 테스트 케이스 속성
- 검색 및 쿼리 테스트 케이스
- Add/update 테스트 단계 (REST API + SOAP API fallback) -Blank Slate Strategy - 생성시 즉시 테스트 단계 추가
- SOAP API Integration - 사용자 이름/password auth로 기존의 테스트 단계
- Link 테스트 케이스
테스트 실행 관리
- 테스트 실행
- 테스트 실행에 테스트 케이스 추가
- 업데이트 테스트 실행 상태
- 기록 시험 결과 (수신 / 실패 / 차단)
- 첨부파일 및 의견 추가
통합 능력
- **JUnit XML 가져 오기 ** - JUnit 보고서에서 테스트 결과 가져 오기
- **Spreadsheet 내보내기 ** - Excel/CSV로 내보내기 테스트 케이스/results
- **Spreadsheet 가져 오기 ** - 스프레드 시트에서 대량 수입 테스트 케이스
- CI/CD 통합 지원
빠른 시작
# 필수품
설치
-
복제하거나 이 프로젝트를 복사하십시오:
-
의존성 설치:
-
환경 변수 구성:
Claude 데스크탑 구성
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Polarion MCP Server
A comprehensive Model Context Protocol (MCP) server for Siemens Polarion ALM integration, with full support for test case management, test runs, and result reporting.
Features
Test Case Management
- Create test cases with full details
- Update test case attributes
- Search and query test cases
- Add/update test steps (REST API + SOAP API fallback)
- Blank Slate Strategy - Add test steps immediately upon creation
- SOAP API Integration - Override existing test steps with username/password auth
- Link test cases to requirements
Test Run Management
- Create test runs
- Add test cases to test runs
- Update test run status
- Record test results (passed/failed/blocked)
- Add attachments and comments
Integration Capabilities
- JUnit XML import - Import test results from JUnit reports
- Spreadsheet export - Export test cases/results to Excel/CSV
- Spreadsheet import - Bulk import test cases from spreadsheets
- Webhook support for CI/CD integration
Quick Start
Prerequisites
pip install fastmcp requests openpyxl xmltodict
Installation
- Clone or copy this project:
cd ~/Documents/GitHub
git clone polarion-mcp-server
cd polarion-mcp-server
- Install dependencies:
pip install -r requirements.txt
- Configure environment variables:
export POLARION_TOKEN="your-personal-access-token"
export POLARION_URL="https://polarion.engineering.redhat.com"
export POLARION_PROJECT="OSE"
# Optional: For SOAP API support (updating existing test steps)
export POLARION_USERNAME="your-username"
export POLARION_PASSWORD="your-password"
Configuration for Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"polarion": {
"command": "python3",
"args": [
"/path/to/polarion-mcp-server/server.py"
],
"env": {
"POLARION_TOKEN": "${POLARION_TOKEN}",
"POLARION_URL": "https://polarion.engineering.redhat.com",
"POLARION_PROJECT": "OSE"
}
}
}
}
Running Standalone
python3 server.py
Usage Examples
1. Create a Test Case
# Using the MCP tool
create_polarion_test_case(
title="Verify certificate validation",
description="Test that certificates are read from controllerConfig",
test_steps="1. Check config\n2. Verify certs\n3. Validate",
severity="should_have",
status="draft"
)
2. Add Test Steps
add_test_steps_to_testcase(
test_case_id="PROJECT-123",
test_steps=[
{
"step": "Run command: oc get nodes",
"expectedResult": "All nodes are Ready"
},
{
"step": "Check certificate: Get-Item C:\\k\\cert.crt",
"expectedResult": "File exists"
}
]
)
3. Create Test Run
create_test_run(
title="Sprint 123 - Certificate Tests",
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"polarion": {
"command": "python3",
"args": [
"/path/to/polarion-mcp-server/server.py"
],
"env": {
"POLARION_TOKEN": "${POLARION_TOKEN}",
"POLARION_URL": "https://polarion.engineering.redhat.com",
"POLARION_PROJECT": "OSE"
}
}
}
}