Polarion MCP DocsPortal

First Test

Verify your setup by running your first Polarion queries from the IDE.

Before you start: Make sure you have completed Installation and configured your Polarion credentials in the portal.

Step 1: Check connection

Ask your AI agent to verify the Polarion connection:

"Check my Polarion connection status."

The agent calls polarion_check_connection. A successful response looks like:

{
  "status": "connected",
  "base_url": "https://polarion.example.com",
  "latency_ms": 245,
  "auth_method": "bearer_token"
}

Step 2: List projects

Next, ask the agent to list your Polarion projects:

"List all my Polarion projects."

The agent calls polarion_list_projects. You'll see your available projects with their IDs and names.

{
  "status": "success",
  "data": [
    { "id": "MyProject", "name": "My Project", "description": "..." },
    { "id": "REQM", "name": "Requirements Management", "description": "..." }
  ],
  "meta": { "total": 2, "page_size": 100, "page_number": 1 }
}

Step 3: Search work items

Try searching for work items in a project:

"Search for open defects in the MyProject project."

The agent calls polarion_search_workitems with a Lucene query. Results include work item IDs, titles, types, and statuses.

Note: Polarion uses Lucene query syntax. The server constructs appropriate queries based on the parameters you provide (project, type, status, free-text query).

Step 4: Inspect a work item

Get detailed information about a specific work item:

"Get the details of work item MYP-1234 in MyProject."

The agent calls polarion_get_workitem for core fields or polarion_get_workitem_details for all fields including custom fields.

Step 5: Browse documents

Explore Polarion documents and their structure:

"List the spaces and documents in MyProject."

The agent calls polarion_list_spaces and then polarion_list_documents to navigate the document hierarchy. You can then drill into outlines, sections, and work items.

What to try next