Cursor Integration
Connect Polarion MCP to Cursor in under a minute.
Step 1: Open MCP settings
In your project root, create or open the file .cursor/mcp.json. If the .cursor directory doesn't exist, create it.
Step 2: Add the MCP server config
Paste the following configuration, replacing the API key with your own:
{
"mcpServers": {
"polarion-mcp": {
"command": "npx",
"args": ["@atoms-tech/polarion-mcp@latest"],
"env": {
"ATOMS_API_KEY": "atoms-sk-xxxx"
}
}
}
}Tip: The ATOMS portal's Polarion config page has a one-click copy button for your Cursor config with the API key already filled in.
Step 3: Restart Cursor
After saving the config file, restart Cursor or reload the window. Cursor will detect the MCP server and make the Polarion tools available to the AI agent.
Step 4: Test the connection
Open Cursor's AI chat and type:
"Check my Polarion connection."
The agent should invoke polarion_check_connection and report your connection status.
Troubleshooting
| Issue | Solution |
|---|---|
| Polarion tools not showing | Verify .cursor/mcp.json is in the project root and restart Cursor |
| 401 unauthenticated | Check your ATOMS_API_KEY value — it should start with atoms-sk- |
| 422 polarion_not_configured | Go to the ATOMS portal and configure your Polarion URL and PAT first |
| npx command not found | Install Node.js 18+ and ensure npx is in your PATH |