Polarion MCP DocsPortal

Authentication

How credentials flow from the portal to Polarion, and what to do when auth fails.

Auth model overview

Polarion MCP uses a two-layer auth model that keeps your Polarion credentials off your local machine:

  1. ATOMS API Key — This is the only secret stored in your IDE. It starts with atoms-sk- and authenticates you against the ATOMS platform. The same key can be reused across IDE connections; create additional named keys when you want separate rotation, revocation, or audit boundaries.
  2. Polarion PAT — Your Polarion Personal Access Token is stored securely server-side (GCP Secret Manager) after you configure it in the ATOMS portal. The MCP server retrieves it on each request.

What the portal manages

  • Account creation and sign-in
  • Polarion URL and PAT configuration
  • API key generation and management
  • Credit usage tracking and billing
  • Connection testing

Request flow

Every MCP tool call goes through this flow:

  1. Your IDE sends a tool call with Authorization: Bearer atoms-sk-xxxx
  2. The MCP server sends the key to the ATOMS auth service for validation
  3. The auth service returns the Polarion URL and PAT associated with your account
  4. The MCP server uses those credentials to call the Polarion REST API
  5. After a successful response, one credit is deducted (errors cost 0 credits)

Credit usage

One credit is deducted per successful tool call. Calls that fail (auth errors, Polarion errors, etc.) cost zero credits. Credits reset monthly based on your plan.

PlanCredits/monthPrice
Free150$0
Starter1,500$49/mo
Standard6,000$99/mo
EnterpriseUnlimitedCustom

Auth error reference

These are the errors the MCP server returns when authentication fails:

ErrorHTTP StatusCauseFix
unauthenticated401Missing or malformed Bearer tokenCheck your IDE config has ATOMS_API_KEY set correctly
unauthenticated401Invalid or revoked API keyGenerate a new key in the portal
credits_exhausted402Monthly credit limit reachedUpgrade your plan or wait for monthly reset
polarion_not_configured422No Polarion URL/PAT savedConfigure Polarion in the portal dashboard
auth_service_unavailable503ATOMS auth service is temporarily downWait a moment and retry

Next steps