PP

peakflames/polarionmcpservers

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

43 stars 12 forks Качество 86 Тренд 14MIT

pixflames/polarionmcpservers - кандидат на MCP-сервер, импортированный из https://github.com/peakflames/polarionmcpservers.

Обзор

pixflames/polarionmcpservers - кандидат на MCP-сервер, импортированный из https://github.com/peakflames/polarionmcpservers.

Обзор (машинный перевод)

Это хранилище содержит серверные реализации протокола Model Context Protocol (MCP) для интеграции Polarion Application Lifecycle Management (ALM).

MCP Инструменты доступны для рабочих элементов Polarion, в том числе:

  • [[Т0]]: Получает метаданные и пользовательские поля для Polarion Document.
  • [[Т1]]: Получает все заголовки разделов (таблица содержимого) в документе Polarion.
  • [[Т2]]: Получает историю пересмотра для документа / модуля Polarion.
  • [[Т3]]: Получает контент для конкретного заголовка раздела и его подзаголовков в Polarion Document.
  • [[Т4]]: Получает текстовое содержание WorkItem. Опционально извлекает конкретный пересмотр.
  • [[Т5]]: Получает подробную информацию для WorkItems, включая стандартные поля, пользовательские поля и связанные рабочие элементы. Поддерживает прослеживаемость с последующей рекурсивной ссылкой.
  • [[Т6]]: Получает историю пересмотра для WorkItem, включая контент при каждом пересмотре.
  • [[Т7]]: Запрос рабочих элементов из модуля / документа Polarion. Прикрепленные ссылки показывают их исправление, и неразрешимые ссылки сообщаются с их URI.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

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": {
Открыть полный README на GitHub

Установка

npx mcp-remote http://{{your-server-ip}}:8080/{ProjectUrlAlias}/mcp" // Replace {ProjectUrlAlias}
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "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" } ... ... }