{
  "checked": "2026-10-24",
  "server": {
    "remoteUrl": "https://YOUR-SERVER/mcp",
    "stdioCommand": "npx -y polarion-mcp",
    "stdioEnvironment": {
      "API_BASE_URL": "https://YOUR-POLARION/polarion/rest/v1",
      "BEARER_TOKEN": "YOUR_POLARION_PAT"
    }
  },
  "groups": [
    {
      "id": "providers",
      "title": "AI providers",
      "cards": [
        {
          "id": "claude",
          "name": "Claude",
          "mark": "C",
          "description": "Desktop, web and developer tools",
          "clients": [
            "claude-desktop",
            "claude-web-desktop",
            "claude-code",
            "claude-api"
          ]
        },
        {
          "id": "openai",
          "name": "ChatGPT / OpenAI",
          "mark": "O",
          "description": "ChatGPT, custom GPTs and Codex",
          "clients": [
            "chatgpt-apps",
            "custom-gpt",
            "codex-cli"
          ]
        },
        {
          "id": "microsoft",
          "name": "Microsoft",
          "mark": "M",
          "description": "Team agents and your editor",
          "clients": [
            "copilot-studio",
            "m365-copilot",
            "github-copilot"
          ]
        },
        {
          "id": "google",
          "name": "Google",
          "mark": "G",
          "description": "Gemini Enterprise and Antigravity",
          "clients": [
            "antigravity",
            "gemini-enterprise"
          ]
        },
        {
          "id": "mistral",
          "name": "Mistral",
          "mark": "L",
          "description": "Le Chat, EU-hosted",
          "clients": [
            "mistral-le-chat"
          ]
        },
        {
          "id": "other",
          "name": "Other / Custom",
          "mark": "+",
          "description": "Docker, HTTP, REST/OpenAPI, n8n or any other client",
          "clients": [
            "generic-stdio",
            "docker",
            "generic-http",
            "rest-wrapper",
            "n8n",
            "openai-api",
            "openai-agents",
            "self-hosted",
            "ollama",
            "vllm",
            "openrouter"
          ]
        }
      ]
    },
    {
      "id": "tools",
      "title": "Tools / IDEs",
      "cards": [
        {
          "id": "editors",
          "name": "Your development workspace",
          "mark": "</>",
          "description": "Use the client you already work in.",
          "clients": [
            "github-copilot",
            "cursor",
            "windsurf",
            "jetbrains-ai"
          ]
        }
      ]
    }
  ],
  "map": [
    {
      "id": "claude",
      "name": "Claude",
      "logo": "claude",
      "color": "#ff8a5b",
      "angle": -90,
      "clients": [
        "claude-desktop",
        "claude-web-desktop",
        "claude-code"
      ]
    },
    {
      "id": "openai",
      "name": "OpenAI",
      "logo": "openai",
      "color": "#5fe0c0",
      "angle": -39,
      "clients": [
        "chatgpt-apps",
        "custom-gpt",
        "codex-cli"
      ]
    },
    {
      "id": "ms",
      "name": "Microsoft",
      "logo": "ms",
      "color": "#7fb8ff",
      "angle": 13,
      "clients": [
        "m365-copilot",
        "copilot-studio",
        "github-copilot"
      ]
    },
    {
      "id": "google",
      "name": "Google Gemini",
      "logo": "google",
      "color": "#8ab4f8",
      "angle": 64,
      "clients": [
        "antigravity",
        "gemini-enterprise"
      ]
    },
    {
      "id": "mistral",
      "name": "Mistral",
      "logo": "mistral",
      "color": "#ffb454",
      "angle": 116,
      "clients": [
        "mistral-le-chat"
      ]
    },
    {
      "id": "editors",
      "name": "Other Editors & IDEs",
      "logo": "editors",
      "color": "#62d6ff",
      "angle": 167,
      "clients": [
        "cursor",
        "windsurf",
        "jetbrains-ai"
      ]
    },
    {
      "id": "selfhosted",
      "name": "Self-hosted & automation",
      "logo": "selfhosted",
      "color": "#c4a0ff",
      "angle": 219,
      "clients": [
        "ollama",
        "vllm",
        "openrouter",
        "n8n"
      ]
    },
    {
      "id": "advanced",
      "name": "More setups",
      "logo": "api",
      "color": "#9aa7b4",
      "angle": 0,
      "site": false,
      "clients": [
        "claude-api",
        "openai-api",
        "openai-agents",
        "self-hosted",
        "generic-stdio",
        "generic-http",
        "rest-wrapper"
      ]
    }
  ],
  "setups": [
    {
      "id": "local-json",
      "title": "Local MCP configuration",
      "kind": "Local · JSON",
      "language": "json",
      "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"polarion-mcp\"],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
      "note": "Node.js 22+ runs the published npm package on your computer. Replace the URL and PAT locally; keep credentials out of Git."
    },
    {
      "id": "cli",
      "title": "Add from your terminal",
      "kind": "Local · CLI",
      "language": "bash",
      "snippet": "",
      "note": "Commands shown for macOS, Linux and WSL. Install the selected client and Node.js 22+. Replace the URL and PAT before running; the command stores them in your local client configuration."
    },
    {
      "id": "connector",
      "title": "Connect to your team server",
      "kind": "Remote · URL",
      "language": "text",
      "snippet": "https://YOUR-SERVER/mcp",
      "note": "Use your own deployed HTTPS URL. There is no public Polarion relay. Your server must be reachable by the client provider; an administrator sets up TLS, OAuth and exact redirect allowlists."
    },
    {
      "id": "vscode-json",
      "title": "VS Code MCP configuration",
      "kind": "Local · JSON",
      "language": "json",
      "snippet": "{\n  \"servers\": {\n    \"polarion\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"polarion-mcp\"],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
      "note": "The top-level key is `servers`, not `mcpServers`. Select the tools you need in chat; the full catalog can exceed the client tool budget."
    },
    {
      "id": "claude-api",
      "title": "Claude Messages API",
      "kind": "Remote · API",
      "language": "json",
      "snippet": "{\n  \"mcp_servers\": [\n    {\n      \"type\": \"url\",\n      \"name\": \"polarion\",\n      \"url\": \"https://YOUR-SERVER/mcp\",\n      \"authorization_token\": \"YOUR_POLARION_PAT\"\n    }\n  ],\n  \"tools\": [\n    {\n      \"type\": \"mcp_toolset\",\n      \"mcp_server_name\": \"polarion\"\n    }\n  ]\n}",
      "note": "Add these fields to your Messages request. Enable the mcp-client-2025-11-20 beta header. The Polarion PAT authenticates to this server; your Anthropic API key authenticates the API request."
    },
    {
      "id": "openai-api",
      "title": "OpenAI Responses API",
      "kind": "Remote · API",
      "language": "json",
      "snippet": "{\n  \"tools\": [\n    {\n      \"type\": \"mcp\",\n      \"server_label\": \"polarion\",\n      \"server_url\": \"https://YOUR-SERVER/mcp\",\n      \"authorization\": \"YOUR_POLARION_PAT\",\n      \"require_approval\": \"always\"\n    }\n  ]\n}",
      "note": "Add this tools field to a Responses request. Use your OpenAI API key for the API request and your Polarion PAT for the MCP server."
    },
    {
      "id": "agents-sdk",
      "title": "OpenAI Agents SDK",
      "kind": "Remote · Python",
      "language": "python",
      "snippet": "from agents import Agent, Runner\nfrom agents.mcp import MCPServerStreamableHttp\n\nasync with MCPServerStreamableHttp(\n    name=\"Polarion\",\n    params={\n        \"url\": \"https://YOUR-SERVER/mcp\",\n        \"headers\": {\"Authorization\": \"Bearer YOUR_POLARION_PAT\"},\n    },\n) as server:\n    agent = Agent(name=\"Polarion assistant\", mcp_servers=[server])\n    result = await Runner.run(agent, \"List Polarion projects\")",
      "note": "Use inside your async application with openai-agents installed and Agent imported from agents. Run the agent while the server context is open. Keep API keys and PATs in your application secret store."
    },
    {
      "id": "gpt-actions",
      "title": "Custom GPT Actions",
      "kind": "Remote · OpenAPI",
      "language": "text",
      "snippet": "https://YOUR-SERVER/openapi-gpt.json",
      "note": "This uses the REST wrapper and its HTTP_API_KEY, not the MCP endpoint or the user PAT. The reduced schema contains 30 actions. A team administrator deploys the REST wrapper first."
    },
    {
      "id": "docker",
      "title": "Docker team server",
      "kind": "Self-hosted · Docker",
      "language": "bash",
      "snippet": "docker run -d --name polarion-mcp \\\n  -p 127.0.0.1:3000:3000 \\\n  -e API_BASE_URL=https://polarion.company.example/polarion/rest/v1 \\\n  -e MCP_ALLOWED_HOSTS=localhost:3000,127.0.0.1:3000 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1",
      "note": "The image starts Streamable HTTP at http://localhost:3000/mcp. Each caller sends their own Polarion PAT. For team access, proxy HTTPS to the loopback port, forward the public Host, and add your public hostname to MCP_ALLOWED_HOSTS. Cloud connectors also need OAuth; their Docker choice includes that configuration."
    },
    {
      "id": "rest",
      "title": "REST wrapper / OpenAPI",
      "kind": "Self-hosted · REST",
      "language": "bash",
      "snippet": "docker run -d --name polarion-rest \\\n  -p 127.0.0.1:3000:3000 \\\n  -e API_BASE_URL=https://YOUR-POLARION/polarion/rest/v1 \\\n  -e BEARER_TOKEN=YOUR_POLARION_PAT \\\n  -e HTTP_API_KEY=YOUR_WRAPPER_API_KEY \\\n  -e PUBLIC_URL=https://YOUR-SERVER \\\n  -e TRUST_PROXY=1 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1 \\\n  node build/http-server.js",
      "note": "All calls use the deployment PAT. Clients send Authorization: Bearer <HTTP_API_KEY>. Serve this behind HTTPS; schemas are at /openapi.json and /openapi-gpt.json. Forward the public Host through your TLS proxy. HTTP_API_KEY is a random secret you invent (for example from openssl rand -hex 32); callers send it as the Bearer token. TRUST_PROXY=1 lets the 100-requests-per-15-minutes limit count each caller separately behind your proxy."
    },
    {
      "id": "n8n-rest",
      "title": "n8n HTTP Request",
      "kind": "Automation · REST",
      "language": "bash",
      "snippet": "curl -X POST https://YOUR-SERVER/api/tools/getCurrentUser \\\n  -H \"Authorization: Bearer ${HTTP_API_KEY}\" \\\n  -H 'Content-Type: application/json' \\\n  -d '{}'",
      "note": "This setup uses the REST wrapper. Its administrator configures API_BASE_URL, BEARER_TOKEN and HTTP_API_KEY. Store the wrapper key in an n8n credential after importing."
    },
    {
      "id": "docker-oauth",
      "title": "HTTPS team server with OAuth",
      "kind": "Self-hosted · Docker",
      "language": "bash",
      "snippet": "docker run -d --name polarion-mcp \\\n  -p 127.0.0.1:3000:3000 \\\n  -e API_BASE_URL=https://polarion.company.example/polarion/rest/v1 \\\n  -e MCP_ALLOWED_HOSTS=YOUR-SERVER \\\n  -e MCP_PUBLIC_URL=https://YOUR-SERVER \\\n  -e MCP_TOKEN_SECRET=YOUR_RANDOM_SECRET_AT_LEAST_32_CHARS \\\n  -e MCP_ALLOWED_REDIRECT_PRESETS=claude \\\n  -e TRUST_PROXY=1 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1",
      "note": "Put a TLS reverse proxy at https://YOUR-SERVER in front of 127.0.0.1:3000 and forward the public Host. TRUST_PROXY=1 assumes exactly one trusted proxy hop; adjust it to your network. Generate a stable secret of at least 32 characters. The claude redirect preset allows the claude.ai callback used by Claude web and Desktop connectors."
    },
    {
      "id": "remote-json",
      "title": "Remote MCP configuration",
      "kind": "Remote · JSON",
      "language": "json",
      "snippet": "",
      "note": "Use the team’s HTTPS endpoint and your own PAT."
    },
    {
      "id": "remote-cli",
      "title": "Add your team server",
      "kind": "Remote · CLI",
      "language": "bash",
      "snippet": "",
      "note": "Use the team’s HTTPS endpoint and your own PAT."
    },
    {
      "id": "agents-stdio",
      "title": "Agents SDK local subprocess",
      "kind": "Local · Python",
      "language": "python",
      "snippet": "from agents import Agent, Runner\nfrom agents.mcp import MCPServerStreamableHttp\n\nasync with MCPServerStreamableHttp(\n    name=\"Polarion\",\n    params={\n        \"url\": \"https://YOUR-SERVER/mcp\",\n        \"headers\": {\"Authorization\": \"Bearer YOUR_POLARION_PAT\"},\n    },\n) as server:\n    agent = Agent(name=\"Polarion assistant\", mcp_servers=[server])\n    result = await Runner.run(agent, \"List Polarion projects\")",
      "note": "Use inside your async application with openai-agents installed and Agent imported from agents. Run the agent while the server context is open. Keep API keys and PATs in your application secret store."
    },
    {
      "id": "docker-chatgpt",
      "title": "HTTPS team server for ChatGPT",
      "kind": "Self-hosted · Docker",
      "language": "bash",
      "snippet": "docker run -d --name polarion-mcp \\\n  -p 127.0.0.1:3000:3000 \\\n  -e API_BASE_URL=https://polarion.company.example/polarion/rest/v1 \\\n  -e MCP_ALLOWED_HOSTS=YOUR-SERVER \\\n  -e MCP_PUBLIC_URL=https://YOUR-SERVER \\\n  -e MCP_TOKEN_SECRET=YOUR_RANDOM_SECRET_AT_LEAST_32_CHARS \\\n  -e MCP_ALLOWED_REDIRECT_PREFIXES=https://YOUR-CLIENT/EXACT-CALLBACK \\\n  -e TRUST_PROXY=1 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1",
      "note": "Before connecting, replace MCP_ALLOWED_REDIRECT_PREFIXES with the exact callback shown by ChatGPT. Put a TLS reverse proxy at https://YOUR-SERVER in front of 127.0.0.1:3000 and forward the public Host. TRUST_PROXY=1 assumes exactly one trusted hop; adjust it to your network. Generate a stable secret of at least 32 characters. Use dynamic client registration (DCR)."
    },
    {
      "id": "docker-public",
      "title": "Public HTTPS server for cloud APIs",
      "kind": "Self-hosted · Docker",
      "language": "bash",
      "snippet": "docker run -d --name polarion-mcp \\\n  -p 127.0.0.1:3000:3000 \\\n  -e API_BASE_URL=https://polarion.company.example/polarion/rest/v1 \\\n  -e MCP_ALLOWED_HOSTS=YOUR-SERVER \\\n  -e TRUST_PROXY=1 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1",
      "note": "Required for cloud API calls: a publicly reachable HTTPS endpoint at https://YOUR-SERVER/mcp. Configure a TLS reverse proxy to 127.0.0.1:3000, forward the public Host and use a real public hostname in MCP_ALLOWED_HOSTS. TRUST_PROXY=1 assumes exactly one trusted hop. Each API request sends your Polarion PAT; OAuth is not required for this PAT-header path."
    },
    {
      "id": "antigravity-json",
      "title": "Antigravity MCP configuration",
      "kind": "Local · JSON",
      "language": "json",
      "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"polarion-mcp\"\n      ],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
      "note": "Node.js 22+ is required. Antigravity uses mcpServers in mcp_config.json."
    },
    {
      "id": "antigravity-remote",
      "title": "Antigravity remote MCP configuration",
      "kind": "Remote · JSON",
      "language": "json",
      "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"serverUrl\": \"https://YOUR-SERVER/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
      "note": "Antigravity needs serverUrl for remote servers; url and httpUrl are not read."
    },
    {
      "id": "docker-m365",
      "title": "HTTPS team server for Microsoft 365 Copilot",
      "kind": "Self-hosted · Docker",
      "language": "bash",
      "snippet": "docker run -d --name polarion-mcp \\\n  -p 127.0.0.1:3000:3000 \\\n  -e API_BASE_URL=https://polarion.company.example/polarion/rest/v1 \\\n  -e MCP_ALLOWED_HOSTS=YOUR-SERVER \\\n  -e MCP_PUBLIC_URL=https://YOUR-SERVER \\\n  -e MCP_TOKEN_SECRET=YOUR_RANDOM_SECRET_AT_LEAST_32_CHARS \\\n  -e MCP_ALLOWED_REDIRECT_PRESETS=m365 \\\n  -e TRUST_PROXY=1 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1",
      "note": "Put a TLS reverse proxy at https://YOUR-SERVER in front of 127.0.0.1:3000 and forward the public Host. TRUST_PROXY=1 assumes exactly one trusted hop. The m365 preset allows only Microsoft’s fixed callback https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect. Generate a stable secret of at least 32 characters."
    },
    {
      "id": "docker-mistral",
      "title": "HTTPS team server for Mistral Le Chat",
      "kind": "Self-hosted · Docker",
      "language": "bash",
      "snippet": "docker run -d --name polarion-mcp \\\n  -p 127.0.0.1:3000:3000 \\\n  -e API_BASE_URL=https://polarion.company.example/polarion/rest/v1 \\\n  -e MCP_ALLOWED_HOSTS=YOUR-SERVER \\\n  -e MCP_PUBLIC_URL=https://YOUR-SERVER \\\n  -e MCP_TOKEN_SECRET=YOUR_RANDOM_SECRET_AT_LEAST_32_CHARS \\\n  -e MCP_ALLOWED_REDIRECT_PREFIXES=https://YOUR-LE-CHAT-CALLBACK \\\n  -e TRUST_PROXY=1 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1",
      "note": "Mistral does not document the Le Chat callback URL, so there is no built-in mistral preset (it stays empty and denies everything). Add the connector once, copy the redirect_uri that the server rejects from its log, put it in MCP_ALLOWED_REDIRECT_PREFIXES and restart. Put a TLS reverse proxy at https://YOUR-SERVER in front of 127.0.0.1:3000. Generate a stable secret of at least 32 characters."
    },
    {
      "id": "docker-self-hosted",
      "title": "Team server for self-hosted chat UIs",
      "kind": "Self-hosted · Docker",
      "language": "bash",
      "snippet": "docker network create chat\ndocker run -d --name polarion-mcp --network chat \\\n  -e API_BASE_URL=https://polarion.company.example/polarion/rest/v1 \\\n  -e MCP_ALLOWED_HOSTS=polarion-mcp:3000,localhost:3000 \\\n  ghcr.io/phillipboesger/polarion-mcp:1.6.1",
      "note": "Put Open WebUI on the same Docker network and use http://polarion-mcp:3000/mcp as the URL. localhost inside the Open WebUI container is the container itself, not your host. Each user sends their own PAT; for a shared instance use a service account PAT and restrict who can use the tool."
    },
    {
      "id": "open-webui",
      "title": "Open WebUI external tool",
      "kind": "Remote · Admin UI",
      "language": "text",
      "snippet": "Type: MCP (Streamable HTTP)\nURL: http://polarion-mcp:3000/mcp\nAuth: Bearer\nKey: YOUR_POLARION_PAT",
      "note": "Admin Settings > External Tools. Pick MCP (Streamable HTTP), not OpenAPI. Selecting Bearer with an empty key sends an empty Authorization header."
    }
  ],
  "clients": [
    {
      "id": "claude-desktop",
      "name": "Claude Desktop",
      "label": "Claude Desktop",
      "icon": "desktop",
      "provider": "claude",
      "sources": [
        "https://modelcontextprotocol.io/docs/develop/connect-local-servers",
        "https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp",
        "https://claude.com/docs/connectors/custom/add-unlisted.md",
        "https://claude.com/docs/connectors/building/authentication.md",
        "https://claude.com/docs/connectors/building/troubleshooting.md",
        "https://claude.com/docs/connectors/building/testing.md",
        "https://claude.com/docs/connectors/mcp-tunnels/overview"
      ],
      "checked": "2026-10-30",
      "note": "Local servers go through claude_desktop_config.json; remote servers use Customize > Connectors. Both work in Claude Desktop.",
      "redirectUris": [],
      "defaultMode": "local",
      "unverified": [
        "Linux path of claude_desktop_config.json: the vendor pages read document only macOS and Windows paths. The MCP guide says Claude Desktop is available for macOS, Windows and Linux but gives no Linux config or log path, so none is listed.",
        "Vendor describes the custom connector dialog as varying by organization (one screen with Advanced settings, or two steps); the exact labels shown in Claude Desktop were not checked on a real install.",
        "Whether the server supports Claude's published identity (Client ID Metadata Document) is not stated by the vendor for this server; the guide uses Register automatically."
      ],
      "summary": "Claude app on your computer.",
      "local": {
        "setup": "local-json",
        "steps": [
          "Update Claude Desktop first (Claude menu > Check for Updates...) and check node --version in a terminal.",
          "Open the Claude menu in the system menu bar (not the settings inside the Claude window), then Settings... > Developer.",
          "Click Edit Config. This creates claude_desktop_config.json if it does not exist: macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\\Claude\\claude_desktop_config.json.",
          "Add the polarion entry inside mcpServers, or paste the whole snippet.",
          "Replace YOUR-POLARION and YOUR_POLARION_PAT, then save the file.",
          "Quit Claude Desktop completely and start it again.",
          "In a new chat, click the + indicator (Add files, connectors, and more) in the input box, move over Connectors and check that polarion is listed under Manage connectors."
        ],
        "note": "Local servers run with your user permissions and use your local network. They work only in Claude Desktop, not in claude.ai or Cowork, and Advanced research cannot call their tools. Claude asks for approval before each tool call.",
        "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"polarion-mcp\"],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "needs": [
          "Claude Desktop (latest version), signed in",
          "Node.js 22+ (node --version works in a terminal)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Claude calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "polarion missing after restart",
            "fix": "Check the JSON for typos and that paths in the file are absolute. Quit Claude Desktop fully, not just close the window, and reopen. Then read the logs: macOS ~/Library/Logs/Claude, Windows %APPDATA%\\Claude\\logs (mcp.log for connections, mcp-server-polarion.log for the server's stderr)."
          },
          {
            "symptom": "Server fails to start (npx not found)",
            "fix": "Run node --version and npx -y polarion-mcp in a terminal. Node.js must be 22 or newer. On Windows, if the server log mentions ${APPDATA} or ENOENT, add \"APPDATA\": \"C:\\\\Users\\\\YOU\\\\AppData\\\\Roaming\\\\\" to the env block; if npx keeps failing, run npm install -g npm."
          },
          {
            "symptom": "Tool calls fail silently",
            "fix": "Read mcp-server-polarion.log in the log folder above, check API_BASE_URL and the PAT, then restart Claude Desktop."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ]
      },
      "server": {
        "setup": "connector",
        "snippet": "https://YOUR-SERVER/mcp",
        "steps": [
          "Get the server address (https://YOUR-SERVER/mcp) from your administrator.",
          "Go to Customize > Connectors (in Claude Desktop you can also reach it via the + indicator in the input box, Connectors > Manage connectors). On Free choose Add custom connector; on Pro/Max click + Add > Add custom connector. On Team/Enterprise only an Owner can add it (see the note below).",
          "Enter name Polarion and server URL https://YOUR-SERVER/mcp, click Continue. If the dialog is a single screen, leave Advanced settings empty.",
          "Review the detected authentication settings. Set Authentication to Sign in now and OAuth client to Register automatically, leave Request headers empty, then click Add.",
          "Click Connect and enter your Polarion PAT on the server login page.",
          "In a chat, click + > Connectors and switch the Polarion toggle on."
        ],
        "note": "Anthropic connects from its cloud: use a public HTTPS server with OAuth. The Developer JSON file is for local stdio only. A tool call times out after 240 seconds and results over about 150,000 characters are cut off. Authentication settings cannot be edited later: remove the connector and add it again.",
        "needs": [
          "Claude plan: remote custom connectors work on Free (one custom connector), Pro, Max, Team and Enterprise",
          "Public HTTPS server address with OAuth (hostname with a public IPv4 A record, no redirect to another host)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Claude calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "\"Couldn't reach the MCP server\" or sign-in does not open",
            "fix": "Claude connects from Anthropic's cloud, not from your device. The hostname must resolve from the public internet to a globally routable IPv4 address (an A record; private 10.x/172.16-31.x/192.168.x, 100.64.0.0/10, loopback or AAAA-only names are rejected). VPN, split-horizon DNS and firewalled servers fail; allow Anthropic's outbound range 160.79.104.0/21 in the firewall or WAF (look for 403 or 429 in edge logs). Enterprise organizations in a private network can request MCP tunnels (research preview)."
          },
          {
            "symptom": "\"Authorization with the MCP server failed\"",
            "fix": "Register the exact URL the server listens on: if https://YOUR-SERVER/mcp redirects (301, 302, 307, 308) to another host, Claude drops the Authorization header and the sign-in fails. If the error page URL shows a flow_id starting with ofid_, note it for a support report."
          },
          {
            "symptom": "Sign-in ends with a redirect_uri error",
            "fix": "The administrator must set MCP_ALLOWED_REDIRECT_PRESETS=claude on the server."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Connector shows Connect or Reconnect instead of Connected",
            "fix": "Sign-in did not finish. Click it and sign in again. Authentication settings cannot be edited after adding: remove the connector and add it again, then reconnect."
          }
        ],
        "teamNote": "Team: only Owners and Primary Owners can add connectors; Enterprise: Owners, Primary Owners and custom roles with \"Manage access to Libraries\". They go to Organization settings > Connectors, click Add, hover Custom, select Web (if asked), enter name and URL, review the detected authentication settings (Authentication: Sign in now, OAuth client: Register automatically), then click Add. Members then open Customize > Connectors, find the connector (labeled Custom) and click Connect with their own PAT. The Request headers option (beta, limited organizations) stores one shared credential for everyone and does not fit per-user PATs.",
        "serverSetup": "docker-oauth"
      }
    },
    {
      "id": "claude-web-desktop",
      "name": "claude.ai",
      "label": "claude.ai",
      "icon": "globe",
      "provider": "claude",
      "sources": [
        "https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp",
        "https://claude.com/docs/connectors/custom/add-unlisted.md",
        "https://claude.com/docs/connectors/building/authentication.md",
        "https://claude.com/docs/connectors/building/troubleshooting.md",
        "https://claude.com/docs/connectors/building/testing.md",
        "https://claude.com/docs/connectors/mcp-tunnels/overview"
      ],
      "checked": "2026-10-30",
      "note": "On Team / Enterprise, an owner adds the connector under Organization settings > Connectors > Add > Custom > Web; members then choose Connect.",
      "redirectUris": [
        {
          "uri": "https://claude.ai/api/mcp/auth_callback",
          "verified": true
        }
      ],
      "defaultMode": "server",
      "unverified": [
        "Which plans may use custom connectors changes over time; vendor article lists Free, Pro, Max, Team and Enterprise as of the check date.",
        "Vendor describes the custom connector dialog as varying by organization (one screen with Advanced settings, or two steps); the labels for your organization were not checked.",
        "Whether the server supports Claude's published identity (Client ID Metadata Document) is not stated by the vendor for this server; the guide uses Register automatically."
      ],
      "summary": "Claude in the browser, connects from the cloud.",
      "local": {
        "reason": "claude.ai connects from Anthropic's cloud, so it cannot start npx."
      },
      "server": {
        "setup": "connector",
        "snippet": "https://YOUR-SERVER/mcp",
        "steps": [
          "Get the server address (https://YOUR-SERVER/mcp) from your administrator.",
          "Open claude.ai and go to Customize > Connectors. On Free choose Add custom connector; on Pro/Max click + Add > Add custom connector. On Team/Enterprise only an Owner can add it (see the note below).",
          "Enter name Polarion and server URL https://YOUR-SERVER/mcp, click Continue. If the dialog is a single screen, leave Advanced settings empty.",
          "Review the detected authentication settings. Set Authentication to Sign in now and OAuth client to Register automatically, leave Request headers empty, then click Add.",
          "Click Connect and enter your Polarion PAT on the server login page.",
          "In a chat, click + > Connectors and switch the Polarion toggle on."
        ],
        "note": "Anthropic connects from its cloud: use a public HTTPS server with OAuth. A tool call times out after 240 seconds and results over about 150,000 characters are cut off. Authentication settings cannot be edited later: remove the connector and add it again. On Team / Enterprise, an owner adds it under Organization settings > Connectors > Add > Custom > Web.",
        "needs": [
          "Claude plan: remote custom connectors work on Free (one custom connector), Pro, Max, Team and Enterprise",
          "Public HTTPS server address with OAuth (hostname with a public IPv4 A record, no redirect to another host)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Claude calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "\"Couldn't reach the MCP server\" or sign-in does not open",
            "fix": "Claude connects from Anthropic's cloud, not from your device. The hostname must resolve from the public internet to a globally routable IPv4 address (an A record; private 10.x/172.16-31.x/192.168.x, 100.64.0.0/10, loopback or AAAA-only names are rejected). VPN, split-horizon DNS and firewalled servers fail; allow Anthropic's outbound range 160.79.104.0/21 in the firewall or WAF (look for 403 or 429 in edge logs). Enterprise organizations in a private network can request MCP tunnels (research preview)."
          },
          {
            "symptom": "\"Authorization with the MCP server failed\"",
            "fix": "Register the exact URL the server listens on: if https://YOUR-SERVER/mcp redirects (301, 302, 307, 308) to another host, Claude drops the Authorization header and the sign-in fails. If the error page URL shows a flow_id starting with ofid_, note it for a support report."
          },
          {
            "symptom": "Sign-in ends with a redirect_uri error",
            "fix": "The administrator must set MCP_ALLOWED_REDIRECT_PRESETS=claude on the server."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Connector shows Connect or Reconnect instead of Connected",
            "fix": "Sign-in did not finish. Click it and sign in again. Authentication settings cannot be edited after adding: remove the connector and add it again, then reconnect."
          }
        ],
        "teamNote": "Team: only Owners and Primary Owners can add connectors; Enterprise: Owners, Primary Owners and custom roles with \"Manage access to Libraries\". They go to Organization settings > Connectors, click Add, hover Custom, select Web (if asked), enter name and URL, review the detected authentication settings (Authentication: Sign in now, OAuth client: Register automatically), then click Add. Members then open Customize > Connectors, find the connector (labeled Custom) and click Connect with their own PAT. The Request headers option (beta, limited organizations) stores one shared credential for everyone and does not fit per-user PATs.",
        "serverSetup": "docker-oauth"
      }
    },
    {
      "id": "claude-code",
      "name": "Claude Code",
      "label": "Claude Code",
      "icon": "terminal",
      "provider": "claude",
      "sources": [
        "https://code.claude.com/docs/en/mcp",
        "https://code.claude.com/docs/en/mcp-quickstart",
        "https://claude.com/docs/connectors/building/authentication.md"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [],
      "defaultMode": "local",
      "unverified": [
        "Windows native npx wrapper (cmd /c): not found in the Claude Code MCP page or the MCP quickstart; not included.",
        "Whether a running Claude Code session picks up a server added with claude mcp add from another terminal: the quickstart says to run the command outside a session and use /mcp to check or reconnect; nothing documents hot-adding. .mcp.json is documented as read at session start.",
        "Behaviour of http://localhost for the --transport http flag is not documented by the vendor (works as a plain URL; curl -I is the documented reachability check)."
      ],
      "summary": "Claude in your terminal.",
      "local": {
        "setup": "cli",
        "steps": [
          "Open a terminal in a project directory. Run the command outside a claude session.",
          "Replace YOUR-POLARION and YOUR_POLARION_PAT in the command below, then run it. Options go before the server name; everything after -- is the server command.",
          "Run claude mcp list. Wait a moment and run it again if polarion shows Failed to connect while npx downloads the package; it should show Connected.",
          "Run claude and type /mcp to confirm polarion is connected."
        ],
        "snippet": "claude mcp add --env API_BASE_URL=https://YOUR-POLARION/polarion/rest/v1 --env BEARER_TOKEN=YOUR_POLARION_PAT --transport stdio polarion -- npx -y polarion-mcp",
        "note": "The default scope is local: private to you and active only in the project where you ran the command (stored in ~/.claude.json). Add --scope user before the name to use it in all projects. Servers already in Claude Desktop can be copied with claude mcp add-from-claude-desktop (macOS and WSL).",
        "needs": [
          "Claude Code installed and signed in",
          "Node.js 22+"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Claude shows your Polarion user. /mcp shows polarion as connected."
        },
        "fails": [
          {
            "symptom": "claude command not found",
            "fix": "Claude Code is not installed or the terminal was not reopened after installing."
          },
          {
            "symptom": "/mcp shows No MCP servers configured",
            "fix": "Local-scope servers belong to the project where you added them. Start claude in that project, or re-add with --scope user. Claude Code reads only ~/.claude.json and <project>/.mcp.json."
          },
          {
            "symptom": "/mcp or claude mcp list shows polarion as failed",
            "fix": "Run claude mcp get polarion and check the command shown matches what you ran (a missing -- before npx changes it). Run the command in a terminal to see the error, check node --version (22+) and that API_BASE_URL ends in /polarion/rest/v1."
          },
          {
            "symptom": "Connection timed out at startup",
            "fix": "The first npx run can take longer than the 30 second startup limit. Start with MCP_TIMEOUT=60000 claude (PowerShell: $env:MCP_TIMEOUT = \"60000\"; claude)."
          },
          {
            "symptom": "Server polarion already exists",
            "fix": "Run claude mcp remove polarion (add --scope local or user if it exists in several scopes), then add it again."
          },
          {
            "symptom": "Server connects but no tools appear",
            "fix": "Select polarion in /mcp to see its tools. An empty list usually means a missing variable: check that both --env values were passed."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ]
      },
      "server": {
        "setup": "remote-cli",
        "snippet": "claude mcp add --transport http polarion https://YOUR-SERVER/mcp --header \"Authorization: Bearer YOUR_POLARION_PAT\"",
        "steps": [
          "Open a terminal in a project directory. Run the command outside a claude session.",
          "Replace YOUR-SERVER and YOUR_POLARION_PAT in the command below, then run it.",
          "Run claude mcp list and check that polarion shows Connected.",
          "Run claude and type /mcp to see the status of polarion."
        ],
        "note": "Remote MCP uses per-user PATs. The client must be able to reach this URL. The default scope is local (this project only); add --scope user before the name for all projects. If you add the same server as a connector in claude.ai and sign in to Claude Code with that account, it also appears in /mcp, but a server added with claude mcp add takes precedence.",
        "needs": [
          "Claude Code installed and signed in",
          "Server address from your administrator"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Claude shows your Polarion user. /mcp shows polarion as connected."
        },
        "fails": [
          {
            "symptom": "claude command not found",
            "fix": "Claude Code is not installed or the terminal was not reopened after installing."
          },
          {
            "symptom": "/mcp shows No MCP servers configured",
            "fix": "Local-scope servers belong to the project where you added them. Start claude in that project, or re-add with --scope user."
          },
          {
            "symptom": "/mcp or claude mcp list shows polarion as failed",
            "fix": "Run claude mcp get polarion for the HTTP status or error. Check the URL from your machine with curl -I https://YOUR-SERVER/mcp (PowerShell: curl.exe). 404 or 405 means the server is up; 401 or 403 means the PAT is missing or rejected. Look for whitespace warnings in claude mcp list after pasting the token."
          },
          {
            "symptom": "MCP endpoint not found at <origin>",
            "fix": "The server answered 404. Run claude mcp get polarion to see the full URL, compare the path with /mcp, then remove and re-add with the right URL."
          },
          {
            "symptom": "Connection timed out at startup",
            "fix": "Start with a higher MCP_TIMEOUT in milliseconds, for example MCP_TIMEOUT=60000 claude (PowerShell: $env:MCP_TIMEOUT = \"60000\"; claude)."
          },
          {
            "symptom": "Server polarion already exists",
            "fix": "Run claude mcp remove polarion (add --scope local or user if it exists in several scopes), then add it again."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "claude-api",
      "name": "Claude API",
      "label": "API",
      "icon": "api",
      "provider": "claude",
      "sources": [
        "https://platform.claude.com/docs/en/agents-and-tools/mcp-connector"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "The page calls authorization_token an OAuth access token and says callers obtain and refresh it; it does not state the header form sent to the MCP server. That it arrives as Authorization: Bearer <value> is how this repo expects it.",
        "Model name left as placeholder: the vendor example uses claude-opus-5-5 and lists supported models, which change often.",
        "The doc does not state a limit on the number of mcp_servers per request."
      ],
      "summary": "Your own code calling the Claude Messages API.",
      "local": {
        "reason": "Only public HTTP servers work; local stdio cannot connect."
      },
      "server": {
        "setup": "claude-api",
        "steps": [
          "Set ANTHROPIC_API_KEY to your Anthropic API key.",
          "Add mcp_servers (type url, https:// URL, unique name, authorization_token) and one matching tools entry of type mcp_toolset; send header anthropic-beta: mcp-client-2025-11-20 (or betas in the SDK).",
          "Replace YOUR_CLAUDE_MODEL with a model name from the Anthropic docs that supports the MCP connector (the vendor example uses claude-opus-5-5).",
          "Send the request, for example with the curl command.",
          "Look for mcp_tool_use and mcp_tool_result blocks in the response."
        ],
        "note": "The MCP connector is in beta and not covered by zero data retention. Only tool calls are supported, and the server must be public HTTPS (Streamable HTTP or SSE). Every server in mcp_servers needs exactly one mcp_toolset. Polarion PATs are passed as authorization_token as is; the vendor expects OAuth tokens you obtain and refresh yourself. The newer header mcp-client-2026-09-15 (Claude API only) pins tool lists and may be sent instead; mcp_tool_listing blocks then appear first in the response.",
        "snippet": "curl https://api.anthropic.com/v1/messages \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $ANTHROPIC_API_KEY\" \\\n  -H \"anthropic-version: 2023-06-01\" \\\n  -H \"anthropic-beta: mcp-client-2025-11-20\" \\\n  -d '{\n    \"model\": \"YOUR_CLAUDE_MODEL\",\n    \"max_tokens\": 1000,\n    \"messages\": [{\"role\": \"user\", \"content\": \"Which Polarion user am I? Use getCurrentUser.\"}],\n    \"mcp_servers\": [\n      {\n        \"type\": \"url\",\n        \"name\": \"polarion\",\n        \"url\": \"https://YOUR-SERVER/mcp\",\n        \"authorization_token\": \"YOUR_POLARION_PAT\"\n      }\n    ],\n    \"tools\": [\n      {\"type\": \"mcp_toolset\", \"mcp_server_name\": \"polarion\"}\n    ]\n  }'",
        "language": "bash",
        "needs": [
          "Anthropic API key",
          "Public HTTPS MCP server address (must start with https://)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Response has mcp_tool_use and mcp_tool_result blocks, then your Polarion user."
        },
        "fails": [
          {
            "symptom": "Error about beta header or mcp_servers",
            "fix": "Send the header anthropic-beta: mcp-client-2025-11-20 (or the SDK's betas option). On Claude Platform on AWS, Google Cloud and Microsoft Foundry only mcp-client-2025-11-20 is accepted."
          },
          {
            "symptom": "Validation error about mcp_toolset or mcp_server_name",
            "fix": "Every server in mcp_servers must be referenced by exactly one mcp_toolset, and mcp_server_name must match the server's name."
          },
          {
            "symptom": "The API cannot connect to the server",
            "fix": "The URL must be https:// and publicly reachable. localhost and stdio servers cannot be used."
          },
          {
            "symptom": "Claude does not call the Polarion tools",
            "fix": "Claude calls MCP tools when the request needs them; ask for something that maps to a tool, such as the current user. General questions are answered without tools."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ],
        "serverSetup": "docker-public"
      }
    },
    {
      "id": "chatgpt-apps",
      "name": "ChatGPT connector",
      "label": "ChatGPT",
      "icon": "chat",
      "provider": "openai",
      "sources": [
        "https://developers.openai.com/api/docs/guides/custom-mcp-server"
      ],
      "checked": "2026-10-30",
      "note": "Custom MCP access depends on your ChatGPT workspace permissions. Use DCR for this server unless the administrator explicitly enabled CIMD.",
      "redirectUris": [],
      "referenceNote": "This guide covers the public HTTPS connector path. OpenAI also documents Secure MCP Tunnel for private servers; that requires its own tunnel runtime and permissions, so local npx is not a direct connector setup.",
      "defaultMode": "server",
      "unverified": [
        "Which ChatGPT plans (Plus, Pro, Business, Enterprise, Edu) can add custom MCP servers: the OpenAI custom-MCP page names no plan or role, only workspace permissions and security restrictions. The help article on developer mode (help.openai.com/articles/12584461) returns 403 to our fetcher; search snippets say custom MCP apps are for Business and Enterprise/Edu on web, which we did not confirm on the page itself.",
        "The exact OAuth callback address ChatGPT uses: the vendor page lists none; read it from ChatGPT or from the server's rejected-redirect log.",
        "Exact wording of the sign-in step: how a PAT is entered depends on this server's login page, not on OpenAI.",
        "Whether DCR with this server works end-to-end in ChatGPT was not tested; the vendor page only documents DCR as an option."
      ],
      "summary": "ChatGPT connector, connects from the cloud.",
      "local": {
        "reason": "ChatGPT's cloud cannot start npx. Use Remote or Docker mode."
      },
      "server": {
        "setup": "connector",
        "steps": [
          "Use ChatGPT on the web (the vendor page documents the flow for ChatGPT web only). Open https://chatgpt.com/plugins and select the plus button, then Add custom MCP server.",
          "Enter a name and, optionally, a description.",
          "Under Connection, paste https://YOUR-SERVER/mcp as the Server URL (the Tunnel option is for OpenAI's Secure MCP Tunnel and is not used here).",
          "Set authentication to OAuth and leave client credentials empty (DCR). The other choices are No authentication and OAuth or no authentication.",
          "Read the risk warning, select I understand and want to continue, then select Create as a plugin.",
          "Install the plugin (it appears in your personal plugins or in the workspace where you created it) and sign in with your PAT.",
          "In the prompt box type @ and select the plugin. In the app settings you can open the app's details page to switch single tools on or off and to refresh the app after the server's tools change."
        ],
        "note": "Use DCR unless the administrator explicitly enabled CIMD. Access depends on workspace permissions and security restrictions, including Lockdown. Write actions need your confirmation by default; tools without a readOnlyHint annotation count as write actions. Remembering an approval applies to that conversation only. Connect only trusted servers.",
        "snippet": "https://YOUR-SERVER/mcp",
        "needs": [
          "ChatGPT on the web, with a workspace that allows custom MCP servers (Lockdown and other security restrictions can block it)",
          "OAuth set up on the server by your admin"
        ],
        "verify": {
          "prompt": "@Polarion Which Polarion user am I? Use the Polarion tool getCurrentUser.",
          "expect": "ChatGPT calls a Polarion tool and shows your Polarion user. Expand the tool call details to see the full JSON input and output."
        },
        "fails": [
          {
            "symptom": "Add custom MCP server option is missing",
            "fix": "Your workspace administrator has not allowed custom MCP servers for you, or Lockdown or another security restriction applies. Ask them to enable it."
          },
          {
            "symptom": "Sign-in fails with a redirect_uri error",
            "fix": "Send the callback address ChatGPT shows to the admin for MCP_ALLOWED_REDIRECT_PREFIXES."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "ChatGPT does not show new or changed Polarion tools",
            "fix": "Open the app's details page in the app settings and refresh the app. Refreshing pulls new tools, descriptions and server instructions."
          },
          {
            "symptom": "ChatGPT calls the wrong tool or no tool",
            "fix": "Name the app and the tool in the prompt, for example use the Polarion tool getCurrentUser, or tell it which tools to avoid."
          }
        ],
        "serverSetup": "docker-chatgpt"
      }
    },
    {
      "id": "custom-gpt",
      "name": "Custom GPT Actions",
      "label": "Custom GPT",
      "icon": "sliders",
      "provider": "openai",
      "sources": [
        "https://developers.openai.com/api/docs/actions/getting-started",
        "https://developers.openai.com/api/docs/actions/authentication"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Which ChatGPT plans can create GPTs with Actions: not stated on the Actions pages; help.openai.com returns 403 to our fetcher.",
        "Current editor labels: the Actions pages only name the 'Action section', 'paste in the OpenAPI schema', authentication settings (None, API Key, OAuth) and the Test button. Labels such as Configure tab, Create new action or Import from URL are not documented there.",
        "Sub-options of API Key (Basic, Bearer, Custom): the authentication page does not describe them. It only says the user's token is sent in the Authorization header as '[Bearer/Basic] [token]' for OAuth. Whether the Bearer choice exists for API Key is therefore unconfirmed.",
        "Limits (schema size, timeouts, action count): not stated by OpenAI on these pages."
      ],
      "summary": "Custom GPT with Actions over REST/OpenAPI.",
      "local": {
        "reason": "GPT Actions need a public REST wrapper, not the MCP server or npx."
      },
      "server": {
        "setup": "gpt-actions",
        "steps": [
          "Ask your admin for https://YOUR-SERVER/openapi-gpt.json and the HTTP_API_KEY.",
          "Open your GPT editor. Enter a name, description and image for the GPT if you have not yet.",
          "Open the Action section and paste in the OpenAPI schema. To get it, open https://YOUR-SERVER/openapi-gpt.json in a browser and copy the content (the address needs no key). Note the action names, for example getProject, and their parameters.",
          "Open the authentication settings and choose API Key. Paste HTTP_API_KEY and select the Bearer style if the editor offers one. The key is stored encrypted.",
          "Click the Test button next to the action and run getProject with your projectId. It shows the detailed input and output.",
          "Back on the main page, add instructions with Context, Instructions and Additional Notes sections. Name the actions and their parameters there, for example getProject with projectId.",
          "Save or update the GPT, then check it with 5 to 10 typical questions and confirm it calls the right actions with the right parameters."
        ],
        "note": "Calls run as one fixed Polarion user (the deployment PAT), not your own. OpenAI recommends clear schema descriptions: ChatGPT reads the info section, especially description, to decide whether an action fits a question. OAuth, with a callback URL of the form https://chatgpt.com/aip/g-YOUR-GPT-ID/oauth/callback, is a vendor option but is not used by this server.",
        "snippet": "https://YOUR-SERVER/openapi-gpt.json",
        "needs": [
          "ChatGPT plan that can create GPTs with Actions",
          "REST wrapper URL and HTTP_API_KEY"
        ],
        "verify": {
          "prompt": "Show project YOUR_PROJECT_ID. Use getProject.",
          "expect": "The GPT asks to allow the action, then shows the project with that ID."
        },
        "fails": [
          {
            "symptom": "Test returns 401 or 403",
            "fix": "Re-enter HTTP_API_KEY, choose API Key with Bearer style, and avoid extra spaces."
          },
          {
            "symptom": "Schema import fails",
            "fix": "The REST wrapper must be reachable over HTTPS. The schema address needs no key. If import by URL is not offered, paste the schema content into the Action section."
          },
          {
            "symptom": "The GPT answers without calling the action, or picks the wrong one",
            "fix": "Name the action and its parameters in the GPT instructions, and make the schema descriptions clear. Use the Test button to see the exact input and output."
          }
        ],
        "serverSetup": "rest"
      }
    },
    {
      "id": "openai-api",
      "name": "OpenAI Responses API",
      "label": "OpenAI API",
      "icon": "api",
      "provider": "openai",
      "sources": [
        "https://developers.openai.com/api/docs/guides/tools-connectors-mcp"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "That the 'authorization' field accepts a Polarion PAT: OpenAI documents it as an OAuth access token for servers that require one; a PAT is sent the same way and this server accepts it, but OpenAI does not mention PATs.",
        "A 'headers' field: the current vendor page does not document one, so it is not used.",
        "Model names: the vendor page names no specific models that support the MCP tool; it only says most recent models and refers to the models page.",
        "Sample code is assembled from documented fields; the official examples use server_url https://developers.openai.com/mcp with require_approval never, not this server."
      ],
      "summary": "Your own code calling the OpenAI Responses API.",
      "local": {
        "reason": "OpenAI's cloud cannot start npx. Use a public HTTPS server. OpenAI documents tunnel_id (Secure MCP Tunnel) for private servers, which needs its own tunnel runtime and is not covered here."
      },
      "server": {
        "setup": "openai-api",
        "steps": [
          "Run pip install openai and set OPENAI_API_KEY (use a model that supports the MCP tool; the vendor says most recent models do).",
          "Copy the snippet into a Python file.",
          "Replace https://YOUR-SERVER/mcp, YOUR_POLARION_PAT and YOUR-MODEL in the snippet.",
          "Run the file. The response contains an mcp_list_tools item (the imported tools) and an mcp_approval_request.",
          "Send a second request with previous_response_id and an mcp_approval_response that carries approve and the approval_request_id. Each approval covers one tool call.",
          "Repeat the approval for each further tool call. Keep the mcp_list_tools item in the conversation so the API does not fetch the tool list again each turn."
        ],
        "note": "The authorization value is not stored by the API: send it on every request that creates a response. Failed calls fill the error field of the mcp_call item (protocol errors, tool errors or connectivity errors). With store=true, data sent to MCP servers is logged for 30 days unless Zero Data Retention is on. Rate limits for the tool: 1000 RPM on the Build tier, 2000 RPM on Launch and Grow. No extra fee per tool call, only the tokens used. allowed_tools limits which tools are imported; require_approval also takes an object such as {\"never\": {\"tool_names\": [...]}}.",
        "snippet": "from openai import OpenAI\n\nclient = OpenAI()  # reads OPENAI_API_KEY\n\ntools = [{\n    \"type\": \"mcp\",\n    \"server_label\": \"polarion\",\n    \"server_description\": \"Polarion ALM: projects, work items, documents.\",\n    \"server_url\": \"https://YOUR-SERVER/mcp\",\n    \"authorization\": \"YOUR_POLARION_PAT\",\n    \"require_approval\": \"always\",\n}]\n\nresp = client.responses.create(\n    model=\"YOUR-MODEL\",\n    tools=tools,\n    input=\"Which Polarion user am I? Use getCurrentUser.\",\n)\nprint([i.type for i in resp.output])",
        "language": "python",
        "needs": [
          "OpenAI API key",
          "Public HTTPS Polarion MCP server (Streamable HTTP or HTTP/SSE)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "mcp_list_tools, mcp_approval_request; after approval, mcp_call and your Polarion user."
        },
        "fails": [
          {
            "symptom": "MCP server cannot be reached",
            "fix": "server_url must be public HTTPS ending in /mcp. localhost and internal addresses fail. Failed calls show the reason in the error field of the mcp_call item."
          },
          {
            "symptom": "401 from the MCP server",
            "fix": "The authorization value must be your Polarion PAT, sent in every request. The API does not store it, so add it to each responses.create call."
          },
          {
            "symptom": "No mcp_list_tools item in the response",
            "fix": "Tool listing failed. Check server_url, the PAT and that the server is reachable from the public internet."
          },
          {
            "symptom": "Tool call runs without asking",
            "fix": "require_approval is set to never for that server or tool. Use \"always\" as in the snippet."
          }
        ],
        "serverSetup": "docker-public"
      }
    },
    {
      "id": "openai-agents",
      "name": "OpenAI Agents SDK",
      "label": "Agents SDK",
      "icon": "box",
      "provider": "openai",
      "sources": [
        "https://openai.github.io/openai-agents-python/mcp/",
        "https://openai.github.io/openai-agents-python/ref/mcp/server/",
        "https://openai.github.io/openai-agents-python/quickstart/",
        "https://pypi.org/project/openai-agents/",
        "https://github.com/openai/openai-agents-python/blob/cd26bbbc52847845fde73b9952b51e62e2bcbdc0/src/agents/mcp/server.py",
        "https://github.com/openai/openai-agents-python/blob/cd26bbbc52847845fde73b9952b51e62e2bcbdc0/pyproject.toml"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [],
      "defaultMode": "local",
      "unverified": [
        "The current main branch of openai-agents-python pins mcp>=1.30.0,<3 (excluding 2.0 and 2.1); the MCP guide still shows mcp>=1.19.0,<3. Which range this server needs, and behaviour with MCP v2, was not tested against this server.",
        "Whether the env of MCPServerStdio is merged with or replaces the parent environment: that is implemented in the mcp SDK, not in openai-agents."
      ],
      "summary": "Python agents built with the OpenAI Agents SDK.",
      "local": {
        "setup": "agents-stdio",
        "snippet": "import asyncio\nfrom agents import Agent, Runner\nfrom agents.mcp import MCPServerStdio\n\nasync def main():\n    async with MCPServerStdio(\n        name=\"Polarion\",\n        params={\n            \"command\": \"npx\",\n            \"args\": [\"-y\", \"polarion-mcp\"],\n            \"env\": {\n                \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n                \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\",\n            },\n        },\n        client_session_timeout_seconds=60,\n    ) as server:\n        agent = Agent(name=\"Polarion assistant\", mcp_servers=[server])\n        result = await Runner.run(agent, \"Which Polarion user am I? Use getCurrentUser.\")\n        print(result.final_output)\n\nasyncio.run(main())",
        "steps": [
          "Run: pip install openai-agents (inside a virtual environment: python -m venv .venv, then source .venv/bin/activate or .venv\\Scripts\\activate on Windows), and set OPENAI_API_KEY (macOS/Linux: export OPENAI_API_KEY=sk-...; PowerShell: $env:OPENAI_API_KEY = \"sk-...\")",
          "Save the snippet as polarion_agent.py",
          "Replace YOUR-POLARION (URL ends in /polarion/rest/v1) and YOUR_POLARION_PAT",
          "Run: python polarion_agent.py"
        ],
        "note": "Keep the Polarion PAT and your provider API key in your application secret store. The default client_session_timeout_seconds is 5, so the snippet raises it to 60 to give npx time on first start; the SDK docs say npx -y can download packages on first start and recommend preinstalling. MCPServerStdio closes the subprocess pipes when the async with block ends. Streamable HTTP defaults in the source: timeout 5 s, sse_read_timeout 5 min, terminate_on_close on. Python 3.10 or newer is required.",
        "needs": [
          "Python 3.10+, OpenAI API key",
          "Node.js 22+"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The printed final_output names your Polarion user."
        },
        "fails": [
          {
            "symptom": "RuntimeError or 'server not initialized'",
            "fix": "Use the server only inside the async with block, and call Runner.run before it ends."
          },
          {
            "symptom": "Timeout while starting the server",
            "fix": "The default client_session_timeout_seconds is 5. Raise it (the snippet uses 60) and run npx -y polarion-mcp once in a terminal so the package is cached, then retry."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ]
      },
      "server": {
        "setup": "agents-sdk",
        "steps": [
          "Run: pip install openai-agents (inside a virtual environment: python -m venv .venv, then source .venv/bin/activate or .venv\\Scripts\\activate on Windows), and set OPENAI_API_KEY (macOS/Linux: export OPENAI_API_KEY=sk-...; PowerShell: $env:OPENAI_API_KEY = \"sk-...\")",
          "Save the snippet as polarion_agent.py",
          "Replace https://YOUR-SERVER/mcp and YOUR_POLARION_PAT",
          "Run: python polarion_agent.py"
        ],
        "note": "Put the token in headers, not in the URL. cache_tools_list=True is only for servers whose tool list rarely changes; call invalidate_tools_cache() to refresh. client_session_timeout_seconds defaults to 5 seconds. MCPServerStreamableHttp is the vendor's recommended class for self-managed remote servers. Alternative: HostedMCPTool lets OpenAI's Responses API connect to the server; it works only with OpenAI models that support hosted MCP and is not added to mcp_servers. Streamable HTTP defaults in the source: timeout 5 s, sse_read_timeout 5 min, terminate_on_close on. Python 3.10 or newer is required.",
        "snippet": "import asyncio\nfrom agents import Agent, Runner\nfrom agents.mcp import MCPServerStreamableHttp\n\nasync def main():\n    async with MCPServerStreamableHttp(\n        name=\"Polarion\",\n        params={\n            \"url\": \"https://YOUR-SERVER/mcp\",\n            \"headers\": {\"Authorization\": \"Bearer YOUR_POLARION_PAT\"},\n        },\n        cache_tools_list=True,\n    ) as server:\n        agent = Agent(name=\"Polarion assistant\", mcp_servers=[server])\n        result = await Runner.run(agent, \"Which Polarion user am I? Use getCurrentUser.\")\n        print(result.final_output)\n\nasyncio.run(main())",
        "needs": [
          "An OpenAI API key",
          "Python 3.10+"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The printed final_output names your Polarion user."
        },
        "fails": [
          {
            "symptom": "RuntimeError or 'server not initialized'",
            "fix": "Use the server only inside the async with block, and call Runner.run before it ends."
          },
          {
            "symptom": "401 from the server",
            "fix": "The header must be exactly Authorization: Bearer <your PAT>."
          },
          {
            "symptom": "Tools list looks outdated",
            "fix": "cache_tools_list=True caches the list. Call server.invalidate_tools_cache() or remove the option."
          }
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "codex-cli",
      "name": "Codex",
      "label": "Codex",
      "icon": "terminal",
      "provider": "openai",
      "sources": [
        "https://learn.chatgpt.com/docs/extend/mcp?surface=cli",
        "https://learn.chatgpt.com/docs/extend/mcp?surface=ide",
        "https://learn.chatgpt.com/docs/cli/reference",
        "https://github.com/openai/codex/blob/f752c97f7d0be0cbef5cece327f52a16ad6fb1c6/codex-rs/cli/src/mcp_cmd.rs"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [],
      "defaultMode": "local",
      "unverified": [
        "Windows path of config.toml: the Codex source resolves $CODEX_HOME, else <home>/.codex (https://github.com/openai/codex/blob/f752c97f7d0be0cbef5cece327f52a16ad6fb1c6/codex-rs/utils/home-dir/src/lib.rs). %USERPROFILE%\\.codex\\config.toml follows from how the dirs crate resolves the home folder, which is not shown in that repository.",
        "Codex reads the bearer_token_env_var variable from the environment of the process that hosts the MCP client and fails if it is unset or empty (source: codex-rs/codex-mcp/src/rmcp_client.rs). Which environment the IDE extension or desktop app gives that process is not documented.",
        "Whether the desktop app or IDE form can set a bearer token env var: the pages list name, STDIO or Streamable HTTP, and command or URL only.",
        "Whether a plain CLI session picks up a server added with codex mcp add without a new session: the command only writes the global config; only the app-server has a reload path for running threads."
      ],
      "summary": "OpenAI Codex in your terminal.",
      "local": {
        "setup": "cli",
        "steps": [
          "Replace YOUR-POLARION (URL ends in /polarion/rest/v1) and YOUR_POLARION_PAT",
          "Run the command below; it writes ~/.codex/config.toml (shared by the CLI, the IDE extension and the desktop app). Alternatively use the desktop app (Settings, MCP servers, Add server, STDIO) or the IDE extension (gear menu, MCP servers, Add server, STDIO), then Save and select Restart or Restart extension.",
          "Run codex mcp list (or codex mcp get polarion) to check it was saved",
          "Start Codex and type /mcp; polarion must be listed"
        ],
        "snippet": "codex mcp add polarion --env API_BASE_URL=https://YOUR-POLARION/polarion/rest/v1 --env BEARER_TOKEN=YOUR_POLARION_PAT -- npx -y polarion-mcp\n\n# Alternative: ~/.codex/config.toml\n[mcp_servers.polarion]\ncommand = \"npx\"\nargs = [\"-y\", \"polarion-mcp\"]\nstartup_timeout_sec = 30\n\n[mcp_servers.polarion.env]\nAPI_BASE_URL = \"https://YOUR-POLARION/polarion/rest/v1\"\nBEARER_TOKEN = \"YOUR_POLARION_PAT\"",
        "note": "Codex reads ~/.codex/config.toml; a project-scoped .codex/config.toml only applies to trusted projects, so put this server in the user file to use it everywhere. The default startup_timeout_sec is 10 and tool_timeout_sec is 60; set required = true to make Codex fail at startup if the server cannot initialize, and enabled = false to switch it off without deleting it. Remove it with codex mcp remove polarion.",
        "needs": [
          "Codex (CLI, IDE extension or desktop app)",
          "Node.js 22+"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Codex asks to call getCurrentUser; approve it. It shows your Polarion user, and /mcp shows polarion enabled."
        },
        "fails": [
          {
            "symptom": "polarion shows a startup timeout",
            "fix": "The default startup_timeout_sec is 10. Set startup_timeout_sec = 30 under [mcp_servers.polarion], or run npx -y polarion-mcp once beforehand."
          },
          {
            "symptom": "Server missing in /mcp after adding",
            "fix": "Restart Codex. In the IDE select \"Restart extension\"; in the desktop app select Restart after saving. Run codex mcp list to confirm the entry exists."
          },
          {
            "symptom": "Server added in a project but missing elsewhere",
            "fix": "A project .codex/config.toml only applies to trusted projects. Add the server to ~/.codex/config.toml instead."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ]
      },
      "server": {
        "setup": "remote-cli",
        "snippet": "export POLARION_PAT=YOUR_POLARION_PAT\ncodex mcp add polarion --url https://YOUR-SERVER/mcp --bearer-token-env-var POLARION_PAT\n\n# Alternative: ~/.codex/config.toml\n[mcp_servers.polarion]\nurl = \"https://YOUR-SERVER/mcp\"\nbearer_token_env_var = \"POLARION_PAT\"",
        "steps": [
          "Run: export POLARION_PAT=YOUR_POLARION_PAT (PowerShell: $env:POLARION_PAT=\"...\")",
          "Run the codex mcp add command below (replace YOUR-SERVER). It registers a streamable HTTP server; --url cannot be combined with a command.",
          "Run codex mcp list (or codex mcp get polarion) to check it was saved",
          "Start Codex from that same terminal and type /mcp",
          "The desktop app and IDE extension can add a Streamable HTTP server under MCP servers, Add server; for the PAT use the TOML key bearer_token_env_var."
        ],
        "note": "The PAT is read from POLARION_PAT at runtime. Keep it in a private environment. Codex defaults to auth = \"oauth\" for HTTP servers; this server uses the PAT, so do not run codex mcp login. If no credential source resolves, Codex may connect without authentication. The config is shared by CLI, IDE extension and desktop app; a project .codex/config.toml only applies to trusted projects. Defaults: startup_timeout_sec 10, tool_timeout_sec 60.",
        "needs": [
          "Codex (CLI, IDE extension or desktop app)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Codex asks to call getCurrentUser; approve it. It shows your Polarion user, and /mcp shows polarion enabled."
        },
        "fails": [
          {
            "symptom": "401 from the server",
            "fix": "POLARION_PAT is not set in the environment that started Codex, so Codex may connect without authentication. Export it and restart Codex."
          },
          {
            "symptom": "Server missing after adding",
            "fix": "Restart Codex, or use Restart extension (IDE) or Restart (desktop app). Run codex mcp list to confirm the entry exists."
          },
          {
            "symptom": "Server added in a project but missing elsewhere",
            "fix": "A project .codex/config.toml only applies to trusted projects. Add the server to ~/.codex/config.toml instead."
          }
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "copilot-studio",
      "name": "Microsoft Copilot Studio",
      "label": "Copilot Studio",
      "icon": "bot",
      "provider": "microsoft",
      "sources": [
        "https://learn.microsoft.com/en-us/microsoft-copilot-studio/mcp-add-existing-server-to-agent",
        "https://learn.microsoft.com/en-us/microsoft-copilot-studio/agent-extend-action-mcp",
        "https://learn.microsoft.com/en-us/microsoft-copilot-studio/mcp-add-components-to-agent",
        "https://learn.microsoft.com/en-us/microsoft-copilot-studio/mcp-troubleshooting",
        "https://learn.microsoft.com/en-us/microsoft-copilot-studio/add-tools-custom-agent",
        "https://learn.microsoft.com/en-us/microsoft-copilot-studio/requirements-licensing"
      ],
      "checked": "2026-10-30",
      "note": "Generative orchestration must be on (it is the default for new agents); MCP tools cannot be called from topics. Only the Streamable transport is supported (SSE is not). Microsoft caps the tools per agent (the limit is 128) and 25 to 30 give the best results, but the default Code Mode lists only two tools (`search`, `execute`), which stays far below that limit. Alternative: Add a tool > New tool > Custom connector with an OpenAPI file (Power Apps).",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Microsoft's page (updated 2026-10-15) does not state the label of the API key value field in the Create a new connection dialog or that the value is sent unchanged; 'Bearer PAT' is inferred from the Header option description.",
        "Microsoft documents no test procedure specific to MCP servers; the verify step relies on generative orchestration choosing the tool.",
        "The wizard also offers OAuth 2.0 (Dynamic discovery, Dynamic, Manual); the PAT path was chosen to avoid callback setup. Microsoft says a callback URL may appear for Dynamic and Manual but does not mention one for Dynamic discovery; whether this server's OAuth works with Copilot Studio is not verified.",
        "The MCP pages do not state how MCP tool calls are billed (Copilot Credits) or any regional availability; they point to the separate licensing guide.",
        "Not checked whether this server's tool schemas hit the documented Copilot Studio schema limits (reference-type inputs, array-typed type fields, integer exclusiveMinimum)."
      ],
      "summary": "Microsoft Copilot Studio agents for your team.",
      "local": {
        "reason": "Cloud service; it cannot run npx. Use the Docker or Remote URL mode."
      },
      "server": {
        "setup": "connector",
        "steps": [
          "Open your agent in Copilot Studio and go to the Tools page",
          "Select Add a tool > New tool > Model Context Protocol. The MCP onboarding wizard opens",
          "Enter a Server name, a Server description and Server URL https://YOUR-SERVER/mcp. The orchestrator uses the description to decide when to call the server, so say what Polarion data it covers",
          "Under authentication choose API key, set Type to Header and enter Authorization as the header name",
          "Select Create. The Add tool dialog appears",
          "Select Create a new connection (or pick an existing one) and enter Bearer YOUR_POLARION_PAT as the API key value",
          "Select Add to agent (the list flow labels it Add and configure). The server's settings page opens",
          "On the settings page, check the Tools list. All tools are on (Allow all). To limit them, turn off Allow all and switch off the tools you do not need; tools added to the server later then stay off",
          "Under Details, leave Authentication on End user so each person supplies their own PAT. Optionally set Ask the end user before running",
          "Test the agent with the prompt under Verify"
        ],
        "note": "Generative orchestration must be on (it is the default for new agents); MCP tools cannot be called from topics. Only the Streamable transport is supported (SSE is not). Microsoft caps the tools per agent (the limit is 128) and 25 to 30 give the best results, but the default Code Mode lists only two tools (`search`, `execute`), which stays far below that limit. Alternative: Add a tool > New tool > Custom connector with an OpenAPI file (Power Apps).",
        "snippet": "https://YOUR-SERVER/mcp\n\nHeader name:  Authorization\nAPI key value: Bearer YOUR_POLARION_PAT",
        "needs": [
          "A Copilot Studio agent you can edit, with generative orchestration turned on",
          "A Copilot Studio licence (tenant licence plus a per-user licence; a trial can build and test but not publish; guest users cannot use Copilot Studio)",
          "Server on a public HTTPS /mcp URL that speaks Streamable HTTP",
          "Power Platform data policies that allow the connector"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls getCurrentUser and shows your Polarion user. A 403 means this account lacks global REST read access; see Troubleshooting."
        },
        "fails": [
          {
            "symptom": "The tool cannot be added or is greyed out in Add a tool",
            "fix": "A Power Platform data policy regulates connectors, and MCP access relies on connectors. Select the information icon next to the tool to see the policy and ask your Power Platform administrator."
          },
          {
            "symptom": "Copilot Studio cannot reach the server",
            "fix": "The server must be reachable over public HTTPS. http://localhost:3000/mcp will not work."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "The agent never calls a Polarion tool",
            "fix": "Check that generative orchestration is on and that the tool is enabled on its settings page. The orchestrator relies on the server and tool descriptions; Copilot Studio does not let you edit MCP tool descriptions."
          },
          {
            "symptom": "Some Polarion tools are missing from the Tools list",
            "fix": "Microsoft documents that tools with reference-type inputs in their schema are filtered out, array-typed type fields are truncated and enum inputs are read as strings. Fixes belong on the server side."
          },
          {
            "symptom": "Every user is asked to create a connection",
            "fix": "This is expected with Authentication set to End user: each person supplies their own PAT. Maker-provided would share your credentials."
          }
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "github-copilot",
      "name": "GitHub Copilot",
      "label": "GitHub Copilot",
      "icon": "code",
      "provider": "microsoft",
      "sources": [
        "https://code.visualstudio.com/docs/agents/reference/mcp-configuration",
        "https://code.visualstudio.com/docs/copilot/customization/mcp-servers",
        "https://code.visualstudio.com/docs/agents/run/manage-mcp-servers",
        "https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp-in-your-ide/extend-copilot-chat-with-mcp",
        "https://docs.github.com/en/copilot/concepts/context/mcp",
        "https://learn.microsoft.com/en-us/visualstudio/ide/mcp-servers",
        "https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-github-copilot-troubleshoot"
      ],
      "checked": "2026-10-30",
      "note": "MCP works in VS Code, Visual Studio, JetBrains IDEs, Xcode and Eclipse. On Copilot Business and Enterprise an organization policy (\"MCP servers in Copilot\") is off by default and an admin must enable it; Copilot Free, Pro, Pro+ and Max are not governed by it. JetBrains AI Assistant is a separate client.",
      "redirectUris": [],
      "defaultMode": "local",
      "unverified": [
        "Microsoft gives no per-OS file path for the VS Code user profile mcp.json (only the command MCP: Open User Configuration). The guided MCP: Add Server flow now writes to ~/.copilot/mcp-config.json (mcpServers key) and labels the user-profile mcp.json deprecated there; the snippet keeps the VS Code servers format.",
        "The exact wording of the VS Code trust prompt is not documented (only 'Only trust configurations you have reviewed').",
        "GitHub publishes no minimum version for JetBrains or the Xcode extension, and no tool-count limit for IDEs appears on the pages read.",
        "Whether JetBrains, Eclipse and Xcode accept the VS Code keys type, headers and env is not documented; GitHub shows only url with requestInit.headers (remote) and command with args (local) for them, so the main snippet is untested there.",
        "The Visual Studio page shows only a url entry plus OAuth; header support in .mcp.json is not stated, and the page describes the format inconsistently (servers object in the example, array of server objects in the text).",
        "Earlier versions of this entry called Eclipse, JetBrains and Visual Studio support public preview; the current GitHub and Visual Studio pages do not state a preview status."
      ],
      "summary": "GitHub Copilot agent mode in VS Code, Visual Studio, JetBrains IDEs, Eclipse and Xcode.",
      "local": {
        "setup": "vscode-json",
        "steps": [
          "Open the MCP configuration for your IDE (see IDE variants below; in VS Code run MCP: Open User Configuration).",
          "Add the polarion entry from the snippet, merging with existing content. Use one location per server: duplicates can conflict.",
          "Replace the placeholders and save.",
          "VS Code: run MCP: List Servers, select polarion, choose Start Server and confirm the trust prompt (or select Start above the server in mcp.json). Visual Studio: saving valid JSON restarts the agent. Other IDEs: save the file.",
          "In Copilot Chat switch to Agent mode and open the tools icon (VS Code also offers Configure Tools). Confirm the polarion tools are listed and tick the ones you need; Visual Studio keeps tools disabled until you enable them.",
          "Run the prompt under Verify and approve the tool call (Continue in VS Code, Allow or Confirm in Visual Studio)."
        ],
        "note": "Prefer a user-level file so the PAT is not committed. In VS Code format an inputs entry of type promptString can prompt for the token instead of storing it.",
        "snippet": "{\n  \"servers\": {\n    \"polarion\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"polarion-mcp\"\n      ],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "needs": [
          "GitHub Copilot with MCP access in VS Code 1.99+, Visual Studio 2022 17.14+ or 2026, a JetBrains IDE, Eclipse 2024-09+ or Xcode (see the IDE list)",
          "Node.js 22+ (npx must be on the PATH of the IDE)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "'npx not found' or 'command not found'",
            "fix": "Install Node.js 22+, then fully quit and reopen the IDE. Stdio servers need the runtime on the PATH of the IDE's environment."
          },
          {
            "symptom": "No Polarion tools in the tools list",
            "fix": "VS Code: run MCP: List Servers, select polarion, choose Show Output; after edits choose Restart Server. Check the server status shows Running. Visual Studio: enable the tools in the tool picker."
          },
          {
            "symptom": "Copilot Business/Enterprise: MCP blocked",
            "fix": "Your organisation must enable the policy 'MCP servers in Copilot' (off by default; Free, Pro, Pro+ and Max are not governed by it). An enterprise MCP allowlist can also block the server; local configuration cannot override it. Ask your GitHub admin."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ]
      },
      "server": {
        "setup": "remote-json",
        "snippet": "{\n  \"servers\": {\n    \"polarion\": {\n      \"type\": \"http\",\n      \"url\": \"https://YOUR-SERVER/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "steps": [
          "Open the MCP configuration for your IDE (see IDE variants below; in VS Code run MCP: Open User Configuration).",
          "Add the polarion entry from the snippet, merging with existing content. Use one location per server: duplicates can conflict.",
          "Replace the placeholders and save.",
          "VS Code: run MCP: List Servers, select polarion, choose Start Server and confirm the trust prompt (or select Start above the server in mcp.json). Visual Studio: saving valid JSON restarts the agent. Other IDEs: save the file.",
          "In Copilot Chat switch to Agent mode and open the tools icon (VS Code also offers Configure Tools). Confirm the polarion tools are listed and tick the ones you need; Visual Studio keeps tools disabled until you enable them.",
          "Run the prompt under Verify and approve the tool call (Continue in VS Code, Allow or Confirm in Visual Studio)."
        ],
        "note": "Remote MCP uses per-user PATs. The client must be able to reach this URL. In VS Code format an inputs entry of type promptString can prompt for the token instead of storing it. Custom servers in JetBrains, Eclipse and Xcode: use the requestInit variant below.",
        "needs": [
          "GitHub Copilot with MCP access in VS Code 1.99+, Visual Studio 2022 17.14+ or 2026, a JetBrains IDE, Eclipse 2024-09+ or Xcode (see the IDE list)"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "No Polarion tools in the tools list",
            "fix": "VS Code: run MCP: List Servers, select polarion, choose Show Output; after edits choose Restart Server. Check the server status shows Running. Visual Studio: enable the tools in the tool picker."
          },
          {
            "symptom": "Copilot Business/Enterprise: MCP blocked",
            "fix": "Your organisation must enable the policy 'MCP servers in Copilot' (off by default; Free, Pro, Pro+ and Max are not governed by it). An enterprise MCP allowlist can also block the server; local configuration cannot override it. Ask your GitHub admin."
          },
          {
            "symptom": "The server cannot be reached",
            "fix": "The URL must be reachable from your machine over HTTPS. Check the endpoint and your network or proxy."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ],
        "serverSetup": "docker",
        "alternative": {
          "title": "JetBrains, Eclipse and Xcode: remote server with requestInit headers",
          "description": "GitHub's documentation for these IDEs puts remote headers under requestInit.headers instead of the VS Code format.",
          "needs": [
            "GitHub Copilot in a JetBrains IDE, Eclipse or Xcode"
          ],
          "steps": [
            "Open the MCP configuration for your IDE (see IDE variants below).",
            "Add the polarion entry from this snippet, merging with existing content, and replace YOUR-SERVER and YOUR_POLARION_PAT.",
            "Save, then open the tools icon in Copilot Chat (Agent mode) and confirm the polarion tools are listed."
          ],
          "snippet": "{\n  \"servers\": {\n    \"polarion\": {\n      \"url\": \"https://YOUR-SERVER/mcp\",\n      \"requestInit\": {\n        \"headers\": {\n          \"Authorization\": \"Bearer YOUR_POLARION_PAT\"\n        }\n      }\n    }\n  }\n}",
          "language": "json",
          "note": "Taken from GitHub Docs (remote server with a PAT). Not tested against this server."
        }
      },
      "legacyIds": [
        "vscode-copilot"
      ],
      "variants": [
        {
          "id": "vscode",
          "label": "VS Code",
          "minVersion": "VS Code 1.99+ with GitHub Copilot",
          "openSteps": [
            "Run MCP: Open User Configuration from the Command Palette (it opens the user profile mcp.json). For one repository use .vscode/mcp.json in the repo root (MCP: Open Workspace Folder MCP Configuration).",
            "Then continue with the steps below. MCP: Add Server and Chat: Open Customizations > MCP Servers > Add Server are guided alternatives."
          ]
        },
        {
          "id": "visual-studio",
          "label": "Visual Studio",
          "minVersion": "Visual Studio 2022 17.14+ or Visual Studio 2026, signed in to GitHub",
          "openSteps": [
            "In Copilot Chat switch to Agent mode, open the tools icon and select the plus button, then Add custom MCP server (Visual Studio 2022: the Add MCP server dialog). Enter the server ID, type (HTTP/SSE or stdio) and URL or command.",
            "Or create %USERPROFILE%\\.mcp.json (all solutions), <SOLUTIONDIR>\\.mcp.json (shared in source control) or <SOLUTIONDIR>\\.vs\\mcp.json (just you), paste the snippet and use the Authentication Required or Manage Authentication CodeLens for OAuth servers (enable CodeLens under Tools > Options > Text Editor if it is missing)."
          ]
        },
        {
          "id": "jetbrains",
          "label": "JetBrains IDEs",
          "minVersion": "A JetBrains IDE listed by GitHub (IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider and others) with the GitHub Copilot plugin; GitHub publishes no minimum version",
          "openSteps": [
            "Click the Copilot icon in the lower-right corner, choose Open Chat, make sure Agent mode is on and click the tools icon (Configure your MCP server), then Add MCP Tools.",
            "Define the server in the opened mcp.json. For a remote server use the requestInit variant under the alternative setup."
          ]
        },
        {
          "id": "eclipse",
          "label": "Eclipse",
          "minVersion": "Eclipse 2024-09+ with the GitHub Copilot plugin",
          "openSteps": [
            "Click the Copilot icon in the status bar, choose Open Chat and click the Configure Tools icon, or choose Edit preferences, expand GitHub Copilot and click MCP.",
            "Under Server Configurations paste the server definition. For a remote server use the requestInit variant under the alternative setup."
          ]
        },
        {
          "id": "xcode",
          "label": "Xcode",
          "minVersion": "Xcode with the GitHub Copilot for Xcode extension; GitHub publishes no minimum version",
          "openSteps": [
            "Open the GitHub Copilot for Xcode settings (Editor > GitHub Copilot > Open GitHub Copilot for Xcode Settings, or the gear icon in Copilot Chat), select the MCP tab and click Edit Config.",
            "Edit mcp.json. For a remote server use the requestInit variant under the alternative setup."
          ]
        }
      ]
    },
    {
      "id": "antigravity",
      "name": "Antigravity (CLI + IDE)",
      "label": "Antigravity",
      "icon": "terminal",
      "provider": "google",
      "sources": [
        "https://antigravity.google/docs/mcp",
        "https://developers.google.com/workspace/guides/configure-mcp-servers",
        "https://geminicli.com/docs/tools/mcp-server/"
      ],
      "checked": "2026-10-30",
      "note": "Antigravity CLI, IDE and App read the same mcp_config.json schema. Gemini CLI users can import their servers once; Gemini CLI itself keeps working for Code Assist and API-key users.",
      "redirectUris": [],
      "defaultMode": "local",
      "unverified": [
        "Google's Antigravity page documents ~/.gemini/config/mcp_config.json (global, CLI) and <workspace>/.agents/mcp_config.json (workspace). Older Google material and third-party guides name ~/.gemini/antigravity/mcp_config.json or ~/.gemini/antigravity-cli/mcp_config.json. Which file the IDE reads is not stated; the steps open the file from the IDE or /mcp so you do not need the path.",
        "Google does not document environment variable substitution inside mcp_config.json, so the snippets put the PAT inline.",
        "Google does not document an agy mcp add command or per-OS config paths; the CLI steps edit the file instead.",
        "Google lists no plan or licence requirement for MCP servers."
      ],
      "summary": "Google’s agent CLI (agy) and IDE, the successor to Gemini CLI.",
      "local": {
        "setup": "antigravity-json",
        "steps": [
          "Open mcp_config.json. IDE: click the ellipsis at the top of the agent side panel, choose MCP Servers > Manage MCP Servers > View raw config. CLI: run agy and type /mcp. File: ~/.gemini/config/mcp_config.json (all projects) or <workspace>/.agents/mcp_config.json (this workspace only).",
          "Add the polarion entry to mcpServers; replace YOUR-POLARION and YOUR_POLARION_PAT.",
          "Save, then reload the config: in agy use the /mcp overlay, in the IDE reload the window, in the App use the refresh button under Settings > Customizations > Installed MCP Servers.",
          "Type /mcp in agy; polarion must show as connected. Tools without a rule run in Ask mode, so approve each call or add an mcp(polarion/*) permission rule."
        ],
        "note": "Same command, args and env as other local clients; the top-level key is `mcpServers`. Antigravity waits up to 300 seconds to connect and 180 seconds per tool call; set timeoutSeconds in the entry to change both (-1 turns the limits off).",
        "needs": [
          "Antigravity CLI (agy), IDE or App signed in",
          "Node.js 22+"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "polarion missing in /mcp",
            "fix": "Check the JSON for typos. Edit ~/.gemini/config/mcp_config.json (or .agents/mcp_config.json in the workspace), save, then reload from the /mcp overlay or restart agy."
          },
          {
            "symptom": "Server shows disabled or no tools",
            "fix": "Remove \"disabled\": true and check enabledTools or disabledTools in the entry."
          },
          {
            "symptom": "Connection or tool call times out",
            "fix": "Defaults are 300 s to connect and 180 s per call. Set timeoutSeconds in the entry, or check that npx can start the server."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off or expired. Create a new token and paste it unchanged."
          }
        ]
      },
      "server": {
        "setup": "antigravity-remote",
        "steps": [
          "Open mcp_config.json as in the local steps (~/.gemini/config/mcp_config.json or <workspace>/.agents/mcp_config.json).",
          "Add the polarion entry with serverUrl (url also works; httpUrl and the legacy SSE transport are not supported) and the Authorization header in headers; replace YOUR-SERVER and YOUR_POLARION_PAT.",
          "Save, then reload the config from the /mcp overlay, the IDE or the App refresh button.",
          "Type /mcp in agy; polarion must show as connected. Tools without a rule run in Ask mode."
        ],
        "note": "Remote MCP uses per-user PATs sent as a header. The client must be able to reach this URL over Streamable HTTP. Antigravity can also run OAuth with dynamic client registration on its own; the redirect URI for manual client credentials is https://antigravity.google/oauth-callback. This guide uses the PAT header instead.",
        "needs": [
          "Antigravity CLI (agy), IDE or App signed in",
          "The https://.../mcp address from your admin"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "polarion missing or disconnected",
            "fix": "Use serverUrl (or url), not httpUrl. Check the URL ends in /mcp and uses Streamable HTTP."
          },
          {
            "symptom": "Connection or tool call times out",
            "fix": "Defaults are 300 s to connect and 180 s per call. Set timeoutSeconds in the entry and check the server is reachable."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off or expired. Create a new token and paste it unchanged."
          }
        ],
        "serverSetup": "docker"
      },
      "legacyIds": [
        "gemini-cli"
      ]
    },
    {
      "id": "gemini-enterprise",
      "name": "Gemini (Enterprise)",
      "label": "Gemini (Enterprise)",
      "icon": "building",
      "provider": "google",
      "sources": [
        "https://docs.cloud.google.com/gemini/enterprise/docs/connectors/custom-mcp-server/set-up-custom-mcp-server"
      ],
      "checked": "2026-10-30",
      "note": "An administrator may need to override the organization policy that blocks custom MCP data stores. Tools are disabled until you enable them.",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Google requires you to register Gemini Enterprise as an OAuth client with your identity provider and enter a Client ID and Client Secret. How to obtain them from THIS server (its dynamic registration endpoint /register vs a preconfigured client) is not documented by Google. This server's /register issues a client ID and, for client_secret_post or client_secret_basic registrations, a client secret (tests/dcr-client-compat.test.ts); whether Gemini Enterprise can use dynamic registration at all is untested. Google documents only No authentication or OAuth 2.0, no PAT/Authorization header option.",
        "The server's /authorize and /token paths are taken from the repo deployment docs (Apache proxy list), not from a live run against Gemini Enterprise.",
        "Google gives the redirect URL https://vertexaisearch.cloud.google.com/oauth-redirect; the repo 'gemini' preset has no fixed callback, so it must be added as an exact entry.",
        "The scopes value for this server is not defined by Google; ask the server administrator.",
        "Google has no dedicated testing or error-message section; the final prompt step is generic."
      ],
      "summary": "Gemini Enterprise agents for your organization.",
      "local": {
        "reason": "Cloud service; it cannot run npx. Use the Docker or Remote URL mode."
      },
      "server": {
        "setup": "connector",
        "steps": [
          "Admin, once: override the organization policy that blocks Custom MCP data stores, allow the domains of the MCP, authorization and token URLs (domain only, no path), and add custom_mcp to allowed data sources if project enforcement or VPC Service Controls is on.",
          "Grant the person creating the data store Discovery Engine Editor (roles/discoveryengine.editor).",
          "Register Gemini Enterprise as an OAuth client at the server's login (redirect URL https://vertexaisearch.cloud.google.com/oauth-redirect) and note Client ID and Client Secret.",
          "Google Cloud console > Gemini Enterprise > Apps > your app > Connected Data Stores > New data store. Standalone Custom MCP data stores cannot be linked to an app later.",
          "Search sources for Custom MCP Server, click Add MCP server, choose OAuth 2.0, and enter MCP Server URL, Authorization URL (no query parameters) and Token URL from the snippet.",
          "Enter Client ID, Client Secret and Scopes (space-separated; include offline_access if the server supports refresh tokens), enable PKCE, keep Use HTTP Basic Authentication as the server needs, click Verify Auth, then Continue.",
          "Optional: add an MCP Server Description. Continue, pick the Multi-region location, name the data connector, optionally set a tag (cannot be changed later) and a sensitive data protection policy, then Create.",
          "Wait until the data store state changes from Creating to Active.",
          "Open the data store > Actions > Reload custom actions, select the actions to enable (100 at most) and click Enable actions."
        ],
        "note": "Only Streamable HTTP is supported (not SSE) and the server needs a certificate from a publicly trusted CA. Tools (actions) are disabled until you enable them, and each call asks for user confirmation unless the tool sets readOnlyHint. Click Reload custom actions after any server or annotation change.",
        "snippet": "MCP Server URL:  https://YOUR-SERVER/mcp\nAuthorization URL: https://YOUR-SERVER/authorize\nToken URL:        https://YOUR-SERVER/token\nRedirect URL to register at the server: https://vertexaisearch.cloud.google.com/oauth-redirect",
        "needs": [
          "Google Cloud project with Gemini Enterprise and an app",
          "Discovery Engine Editor role for the admin creating the data store",
          "Server on public HTTPS (publicly trusted certificate) with OAuth login enabled"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Gemini Enterprise calls a Polarion action and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "Cannot create the Custom MCP Server data store",
            "fix": "An admin must override the org policy that blocks Custom MCP data stores, allow the domains of your MCP, authorization and token URLs, and add custom_mcp to allowed data sources if enforcement or VPC Service Controls is on."
          },
          {
            "symptom": "Verify Auth fails",
            "fix": "Allow https://vertexaisearch.cloud.google.com/oauth-redirect (MCP_ALLOWED_REDIRECT_PREFIXES) and check the Authorization URL has no query parameters."
          },
          {
            "symptom": "Tools missing in Actions",
            "fix": "Click Reload custom actions. Tools stay disabled until you enable them."
          },
          {
            "symptom": "Certificate or transport error",
            "fix": "Use a publicly trusted CA certificate and Streamable HTTP; SSE is not supported."
          },
          {
            "symptom": "Session fails after the access token expires",
            "fix": "Request offline_access in Scopes (or access_type=offline in Authorization URL Parameters) so refresh tokens are issued."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "cursor",
      "name": "Cursor",
      "label": "Cursor",
      "icon": "cursor",
      "provider": "tools",
      "sources": [
        "https://cursor.com/docs/mcp"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [
        {
          "uri": "https://www.cursor.com/agents/mcp/oauth/callback",
          "verified": true
        },
        {
          "uri": "http://localhost:8787/callback",
          "verified": true,
          "notes": "Desktop callback; loopback fixed port."
        }
      ],
      "defaultMode": "local",
      "unverified": [
        "Cursor docs give only the ~ path for the global file and no Windows path (presumably the .cursor folder in your user folder; not stated).",
        "Docs do not state a plan requirement or a tool-count limit for MCP servers.",
        "Docs do not state whether Cursor must be restarted after editing mcp.json; they say to update local files and restart Cursor when updating a custom server, so the restart step is kept as a fallback.",
        "Docs do not give a Settings menu path for MCP; only Customize in the sidebar is documented."
      ],
      "summary": "Cursor editor.",
      "local": {
        "setup": "local-json",
        "steps": [
          "Open Customize in the sidebar, or create the file yourself: ~/.cursor/mcp.json for all projects, or .cursor/mcp.json in a project for that project only",
          "Add the polarion entry inside the existing mcpServers object (type stdio is required for local servers)",
          "Replace YOUR-POLARION and YOUR_POLARION_PAT, then save",
          "Restart Cursor if the server does not show up, then open Customize and turn the polarion toggle on",
          "Open a chat in Agent mode, ask the prompt and approve the tool call when Cursor asks"
        ],
        "note": "The command must be on your system path or be a full path, so Cursor must be able to find npx. Keep tokens out of project files you commit; Cursor resolves ${env:NAME} in command, args, env, url and headers, so you can reference an environment variable instead of pasting the PAT.",
        "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"polarion-mcp\"\n      ],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "needs": [
          "Cursor",
          "Node.js 22+"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "polarion missing or its toggle is off",
            "fix": "Check the JSON is valid. Servers are enabled and disabled under Customize; a disabled server does not load and does not appear in chat. After editing the file, restart Cursor."
          },
          {
            "symptom": "Server fails to connect",
            "fix": "Press Cmd/Ctrl+Shift+U, choose MCP Logs in the Output panel and read the initialization and error lines. A crashed or timed-out server only fails its own tool call; other servers keep working."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "A tool call waits for approval",
            "fix": "Cursor asks before running MCP tools by default. Click the arrow beside the tool name to see its arguments, then approve. Run Modes control this."
          },
          {
            "symptom": "Team blocks the server",
            "fix": "An admin can restrict servers with an MCP Allowlist (Team Settings > MCP Configuration): command entries approve stdio servers, URL entries approve remote servers. Ask the admin to add yours."
          },
          {
            "symptom": "spawn npx ENOENT or command not found",
            "fix": "npx is not on the path Cursor sees. Install Node.js 22+ and restart Cursor, or put the full path to npx in command."
          }
        ]
      },
      "server": {
        "setup": "remote-json",
        "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"url\": \"https://YOUR-SERVER/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "steps": [
          "Open Customize in the sidebar, or create the file yourself: ~/.cursor/mcp.json for all projects, or .cursor/mcp.json in a project for that project only",
          "Add the polarion entry inside the existing mcpServers object",
          "Replace YOUR-SERVER and YOUR_POLARION_PAT, then save",
          "Restart Cursor if the server does not show up, then open Customize and turn the polarion toggle on",
          "Open a chat in Agent mode, ask the prompt and approve the tool call when Cursor asks"
        ],
        "note": "Remote MCP uses per-user PATs. The client must be able to reach this URL. Cursor resolves ${env:NAME} in url and headers, so you can write Bearer ${env:POLARION_PAT} and keep the token out of the file. A remote entry needs only url and headers; this server uses a PAT header, so no OAuth auth block is needed.",
        "needs": [
          "Cursor"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "polarion missing or its toggle is off",
            "fix": "Check the JSON is valid. Servers are enabled and disabled under Customize; a disabled server does not load and does not appear in chat. After editing the file, restart Cursor."
          },
          {
            "symptom": "Server fails to connect",
            "fix": "Press Cmd/Ctrl+Shift+U, choose MCP Logs in the Output panel and read the initialization and error lines. A crashed or timed-out server only fails its own tool call; other servers keep working."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "A tool call waits for approval",
            "fix": "Cursor asks before running MCP tools by default. Click the arrow beside the tool name to see its arguments, then approve. Run Modes control this."
          },
          {
            "symptom": "Team blocks the server",
            "fix": "An admin can restrict servers with an MCP Allowlist (Team Settings > MCP Configuration): command entries approve stdio servers, URL entries approve remote servers. Ask the admin to add yours."
          }
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "windsurf",
      "name": "Windsurf / Cascade",
      "label": "Windsurf",
      "icon": "sail",
      "provider": "tools",
      "sources": [
        "https://docs.windsurf.com/windsurf/cascade/mcp",
        "https://docs.windsurf.com/fr/windsurf/cascade/mcp",
        "https://docs.devin.ai/desktop/cascade/mcp",
        "https://docs.devin.ai/cli/extensibility/mcp/configuration"
      ],
      "checked": "2026-10-30",
      "note": "The vendor now documents this as legacy Cascade in Devin Desktop. Its 100-tool budget requires selecting a subset of Polarion tools. This config does not apply to the Devin Local agent.",
      "redirectUris": [],
      "defaultMode": "local",
      "unverified": [
        "docs.windsurf.com now redirects to docs.devin.ai/desktop/cascade/mcp, which at fetch time returned the Devin Local customizations page, not the Cascade MCP page. The Cascade details above (mcp_config.json path, serverUrl, Actions menu, ${env:} interpolation, 100-tool limit, admin allowlist) come from the earlier Cascade page and an older docs.windsurf.com/fr copy; they could not be re-checked on a current English page.",
        "The older Cascade copy describes the entry as the MCPs icon in the Cascade panel or Windsurf Settings > Cascade > MCP Servers; the Actions (...) > Open MCP config file wording is not confirmed on a current page.",
        "The Devin Local page names .devin/config.json, .devin/config.local.json and ~/.config/devin/config.json as MCP config files, while the Devin CLI page names mcp_config.json files (and migration from config.json since v3000.3). Which file the Devin Desktop app reads is not documented.",
        "The Devin Local page gives no JSON schema, no Windows path and no tool limit; the schema comes from the Devin CLI page.",
        "Whether ${env:} works in Devin headers is not documented (Devin CLI docs show it only for OAuth fields).",
        "No plan requirement is documented beyond admin controls for Teams and Enterprise."
      ],
      "summary": "Windsurf editor.",
      "local": {
        "setup": "local-json",
        "steps": [
          "Open the legacy Cascade panel (not the Devin Local agent). On Enterprise, an admin must have enabled MCP first.",
          "Click ... (Actions) > MCPs > Open MCP config file, or edit ~/.codeium/windsurf/mcp_config.json directly.",
          "Add the polarion entry to mcpServers; replace YOUR-POLARION and YOUR_POLARION_PAT. ${env:NAME} is resolved in command, args, env, serverUrl, url and headers.",
          "Save, then switch on the polarion toggle under MCPs.",
          "Ask the test prompt in Cascade."
        ],
        "note": "Cascade allows 100 enabled tools in total. This config does not apply to the Devin Local agent.",
        "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"polarion-mcp\"\n      ],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "needs": [
          "Windsurf / Devin Desktop, legacy Cascade agent",
          "Node.js 22 or newer"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls getCurrentUser and shows your Polarion user. A 403 means this account lacks global REST read access; see Troubleshooting."
        },
        "fails": [
          {
            "symptom": "Too many tools: some are missing",
            "fix": "Cascade allows 100 enabled tools in total across all MCP servers. Switch off other servers, or open the MCPs page, select the server and switch off individual tools."
          },
          {
            "symptom": "Nothing changes in Devin Local agent",
            "fix": "This mcp_config.json only applies to the legacy Cascade agent. For the Devin Local agent use Customize > MCPs or the alternative below."
          },
          {
            "symptom": "MCP is missing or disabled on a team plan",
            "fix": "On Teams and Enterprise, admins control MCP access and may keep an allowlist; once one server is allowlisted, all others are blocked. The Server ID must match your mcp_config.json key (polarion) exactly, including case."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ],
        "alternative": {
          "title": "Devin Local agent / Devin CLI",
          "description": "For the Devin Local agent in Devin Desktop. Servers appear under Customize > MCPs. The Devin CLI documents the file format; whether Devin Desktop reads the same file is not documented, so check the MCPs tab afterwards.",
          "needs": [
            "Devin Desktop (Devin Local agent) or Devin CLI",
            "Node.js 22 or newer"
          ],
          "steps": [
            "Put the PAT in a gitignored file: .devin/mcp_config.local.json in your project (user scope: ~/.config/devin/mcp_config.json, on Windows %APPDATA%\\devin\\mcp_config.json).",
            "Add the polarion entry; replace YOUR-POLARION and YOUR_POLARION_PAT. Never commit the PAT.",
            "In Devin Desktop open Customize in the agent sidebar > MCPs, pick Install MCPs for > This computer and switch polarion on (refresh the list if needed). In the CLI run devin mcp list.",
            "Approve the tool call when the agent asks; MCP tools need approval by default."
          ],
          "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"polarion-mcp\"\n      ],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
          "language": "json",
          "note": "Devin versions before v3000.3 used mcpServers inside .devin/config.json and ~/.config/devin/config.json; newer versions migrate those entries to mcp_config.json."
        }
      },
      "server": {
        "setup": "remote-json",
        "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"serverUrl\": \"https://YOUR-SERVER/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "steps": [
          "Open the legacy Cascade panel (not the Devin Local agent). On Enterprise, an admin must have enabled MCP first.",
          "Click ... (Actions) > MCPs > Open MCP config file, or edit ~/.codeium/windsurf/mcp_config.json directly.",
          "Add the polarion entry to mcpServers; replace YOUR-SERVER and YOUR_POLARION_PAT. The URL must end in /mcp. serverUrl and url are both accepted.",
          "Save, then switch on the polarion toggle under MCPs.",
          "Ask the test prompt in Cascade."
        ],
        "note": "Remote MCP uses per-user PATs. The client must be able to reach this URL. Cascade resolves ${env:NAME} in serverUrl and headers, so Bearer ${env:POLARION_PAT} keeps the token out of the file.",
        "needs": [
          "Windsurf / Devin Desktop, legacy Cascade agent",
          "The https://.../mcp address from your admin"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls getCurrentUser and shows your Polarion user. A 403 means this account lacks global REST read access; see Troubleshooting."
        },
        "fails": [
          {
            "symptom": "Too many tools: some are missing",
            "fix": "Cascade allows 100 enabled tools in total across all MCP servers. Switch off other servers, or open the MCPs page, select the server and switch off individual tools."
          },
          {
            "symptom": "Nothing changes in Devin Local agent",
            "fix": "This mcp_config.json only applies to the legacy Cascade agent. For the Devin Local agent use Customize > MCPs or the alternative below."
          },
          {
            "symptom": "MCP is missing or disabled on a team plan",
            "fix": "On Teams and Enterprise, admins control MCP access and may keep an allowlist; once one server is allowlisted, all others are blocked. The Server ID must match your mcp_config.json key (polarion) exactly, including case."
          },
          {
            "symptom": "401 or 'Polarion did not accept this token'",
            "fix": "PAT is wrong, expired or revoked. Create a new PAT in Polarion and paste it again."
          },
          {
            "symptom": "Server shows an error or never connects",
            "fix": "Open the /mcp address in a browser. If it does not load, the address is wrong or unreachable."
          }
        ],
        "serverSetup": "docker",
        "alternative": {
          "title": "Devin Local agent / Devin CLI",
          "description": "For the Devin Local agent in Devin Desktop. The Devin CLI documents the file format; whether Devin Desktop reads the same file is not documented, so check Customize > MCPs afterwards.",
          "needs": [
            "Devin Desktop (Devin Local agent) or Devin CLI",
            "The https://.../mcp address from your admin"
          ],
          "steps": [
            "Put the PAT in a gitignored file: .devin/mcp_config.local.json in your project (user scope: ~/.config/devin/mcp_config.json, on Windows %APPDATA%\\devin\\mcp_config.json).",
            "Add the polarion entry; replace YOUR-SERVER and YOUR_POLARION_PAT. Never commit the PAT. transport http tries Streamable HTTP first and falls back to SSE after a non-auth 4xx.",
            "In Devin Desktop open Customize in the agent sidebar > MCPs and switch polarion on (refresh the list if needed). In the CLI run devin mcp list.",
            "Approve the tool call when the agent asks; MCP tools need approval by default."
          ],
          "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"url\": \"https://YOUR-SERVER/mcp\",\n      \"transport\": \"http\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
          "language": "json",
          "note": "A 401 is reported directly with no SSE fallback. Devin Desktop supports stdio, Streamable HTTP and SSE."
        }
      }
    },
    {
      "id": "jetbrains-ai",
      "name": "JetBrains AI Assistant",
      "label": "JetBrains",
      "icon": "ide",
      "provider": "tools",
      "sources": [
        "https://www.jetbrains.com/help/ai-assistant/mcp.html"
      ],
      "checked": "2026-10-30",
      "note": "",
      "redirectUris": [],
      "defaultMode": "local",
      "referenceNote": "The vendor documents Streamable HTTP but no authentication configuration matching this server. This guide therefore offers npx or Docker stdio; remote URL is disabled rather than inventing a PAT header field.",
      "unverified": [
        "The JetBrains page (AI Assistant 2026.2) states no IDE version requirement and no subscription requirement for connecting MCP servers.",
        "The page documents Streamable HTTP and SSE with a url-only JSON example and gives no headers field or Authorization option. Remote stays unsupported here; a JetBrains tracker issue (LLM-24541) reports 401 without an authentication link for authenticated HTTP servers, seen only in a search result and not read.",
        "The page shows only command and args for STDIO and does not say whether env is accepted. env is used because the standard mcpServers format includes it; if your IDE ignores it, the server fails with a missing-token error.",
        "The STDIO dialog also has a Working directory field; the page does not say whether it is needed for npx or docker."
      ],
      "summary": "AI Assistant in JetBrains IDEs.",
      "local": {
        "setup": "local-json",
        "steps": [
          "Open Settings > Tools > AI Assistant > Model Context Protocol (MCP), or type / in the AI chat and choose Add Command.",
          "Click Add and choose the connection type STDIO.",
          "Paste the snippet; replace YOUR-POLARION and YOUR_POLARION_PAT.",
          "Set the Level (global or current project), then click OK and Apply.",
          "Check the Status column for polarion (click its icon to review the tools), then ask the test prompt in the chat."
        ],
        "note": "Import from Claude in the same dialog copies all servers from an existing Claude Desktop configuration; it is not used here. The vendor page shows only command and args for STDIO and does not mention env, which this server needs.",
        "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"polarion-mcp\"\n      ],\n      \"env\": {\n        \"API_BASE_URL\": \"https://YOUR-POLARION/polarion/rest/v1\",\n        \"BEARER_TOKEN\": \"YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "needs": [
          "A JetBrains IDE with AI Assistant",
          "Node.js 22 or newer"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls getCurrentUser and shows your Polarion user. A 403 means this account lacks global REST read access; see Troubleshooting."
        },
        "fails": [
          {
            "symptom": "Status shows error or not connected",
            "fix": "Select polarion and click Reconnect. Check the JSON and that Node.js 22+ is visible to the IDE. Per-server logs are in the mcp folder: Help > Show Log in Finder (macOS) or Show Log in Explorer (Windows), then open mcp."
          },
          {
            "symptom": "You cannot add servers",
            "fix": "Your administrator may manage servers through JetBrains IDE Services or JetBrains Central and may block adding your own."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Server stays off or does not restart after a change",
            "fix": "Tick its checkbox and click Apply. You can also enable Automatically enable new and changed MCP servers. Use the icon in the Status column to review the tools it exposes."
          }
        ],
        "alternative": {
          "title": "Docker stdio",
          "description": "A local container launched by the IDE. It is not a shared HTTP team server.",
          "needs": [
            "A JetBrains IDE with AI Assistant",
            "Docker installed and running"
          ],
          "steps": [
            "Open Settings > Tools > AI Assistant > Model Context Protocol (MCP), or type / in the AI chat and choose Add Command.",
            "Click Add and choose the connection type STDIO.",
            "Paste the snippet; replace YOUR-POLARION and YOUR_POLARION_PAT (do not add -d or -t).",
            "Set the Level (global or current project), then click OK and Apply.",
            "Check the Status column for polarion, then ask the test prompt in the chat."
          ],
          "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"API_BASE_URL=https://YOUR-POLARION/polarion/rest/v1\",\n        \"-e\",\n        \"BEARER_TOKEN=YOUR_POLARION_PAT\",\n        \"ghcr.io/phillipboesger/polarion-mcp:1.6.1\",\n        \"node\",\n        \"build/index.js\"\n      ]\n    }\n  }\n}",
          "language": "json",
          "note": "Launches a local stdio container. It is not a shared HTTP team server."
        }
      },
      "server": {
        "reason": "JetBrains documents Streamable HTTP but no way to send an Authorization header, so a remote server cannot authenticate. Use Local (npm), or the Docker stdio alternative in the Local steps."
      }
    },
    {
      "id": "docker",
      "name": "Docker team server",
      "label": "Docker",
      "icon": "server",
      "provider": "custom",
      "sources": [
        "https://github.com/phillipboesger/polarion-mcp/blob/main/Dockerfile",
        "https://github.com/phillipboesger/polarion-mcp/blob/main/docs/deployment.md"
      ],
      "checked": "2026-10-24",
      "note": "",
      "redirectUris": [],
      "defaultMode": "server",
      "summary": "Host the server yourself in a container.",
      "local": {
        "reason": "This entry deploys a server. Pick your AI client for npx."
      },
      "server": {
        "setup": "connector",
        "steps": [
          "Ask your administrator for the MCP URL (ends in /mcp).",
          "Open your client's MCP settings and choose Streamable HTTP.",
          "Enter the URL and add header Authorization: Bearer YOUR_POLARION_PAT.",
          "Save and reconnect the client."
        ],
        "snippet": "https://YOUR-SERVER/mcp\nAuthorization: Bearer YOUR_POLARION_PAT",
        "note": "No new container is needed when your team already hosts the server.",
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The client shows your Polarion user, or at least the tool list."
        },
        "fails": [
          {
            "symptom": "401 Unauthorized.",
            "fix": "Token missing, cut off, expired or from another Polarion. Create a new PAT and retest."
          },
          {
            "symptom": "Cannot connect or certificate error.",
            "fix": "Open https://YOUR-SERVER/health. It must show {\"status\":\"ok\"} with a padlock; else check server and proxy."
          }
        ],
        "needs": [
          "Server URL from your administrator"
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "generic-stdio",
      "name": "Other MCP client (starts a local program)",
      "label": "MCP, local",
      "icon": "terminal",
      "provider": "custom",
      "sources": [
        "https://modelcontextprotocol.io/specification/2025-11-25/basic/transports"
      ],
      "checked": "2026-10-24",
      "note": "Your AI provider does not need a dedicated integration. Use any MCP-capable client. If it accepts OpenAPI instead, choose REST / OpenAPI below.",
      "redirectUris": [],
      "defaultMode": "local",
      "summary": "Any MCP client that starts local programs.",
      "local": {
        "setup": "local-json",
        "steps": [
          "Open your client's MCP settings and add a server of type stdio.",
          "Set command npx and arguments -y polarion-mcp; add env API_BASE_URL and BEARER_TOKEN.",
          "Replace YOUR-POLARION and YOUR_POLARION_PAT as in the snippet.",
          "Save and restart the client.",
          "Start a new chat and check that polarion is listed and enabled."
        ],
        "note": "Any MCP-capable client works. For OpenAPI-only integrations, choose REST / OpenAPI.",
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "Server disconnected or failed",
            "fix": "Run npx -y polarion-mcp in a terminal (Node 22+). On Windows try command cmd, args /c npx."
          },
          {
            "symptom": "Server starts but no tools appear",
            "fix": "The server lists two tools, `search` and `execute`. Enable them in the client; a client that cannot approve `execute` needs `MCP_MODE=full` or `MCP_READ_ONLY=true`."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          }
        ],
        "needs": [
          "Node.js 22 or newer"
        ]
      },
      "server": {
        "setup": "remote-json",
        "snippet": "{\n  \"mcpServers\": {\n    \"polarion\": {\n      \"url\": \"https://YOUR-SERVER/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_POLARION_PAT\"\n      }\n    }\n  }\n}",
        "steps": [
          "Get the MCP URL (ends in /mcp) from your administrator.",
          "Add a server of type http or Streamable HTTP in your client's MCP settings.",
          "Paste the snippet, or enter the URL and header Authorization: Bearer YOUR_POLARION_PAT.",
          "Save and restart or reconnect the client."
        ],
        "note": "Remote MCP uses per-user PATs. The client must be able to reach this URL.",
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The assistant calls a Polarion tool and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "401 Unauthorized.",
            "fix": "Token missing, cut off, expired or from another Polarion. Create a new PAT and retest."
          },
          {
            "symptom": "Client does not accept an Authorization header",
            "fix": "Use a client that supports headers or OAuth. Ask the vendor how to send a custom HTTP header."
          }
        ],
        "needs": [
          "The server URL"
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "generic-http",
      "name": "Other MCP client (connects by URL)",
      "label": "MCP, by URL",
      "icon": "plug",
      "provider": "custom",
      "sources": [
        "https://modelcontextprotocol.io/specification/2025-11-25/basic/transports"
      ],
      "checked": "2026-10-24",
      "note": "",
      "redirectUris": [],
      "defaultMode": "server",
      "summary": "Any MCP client that connects to a URL.",
      "local": {
        "reason": "An HTTP-only client cannot launch a stdio subprocess."
      },
      "server": {
        "setup": "connector",
        "steps": [
          "Set the transport to Streamable HTTP (not SSE) and the URL to the MCP address.",
          "Add header Authorization: Bearer YOUR_POLARION_PAT.",
          "Add Accept: application/json, text/event-stream if your library does not.",
          "Send initialize, then tools/list (most libraries do this).",
          "Check first with curl (see Check that it works)."
        ],
        "note": "",
        "snippet": "URL: https://YOUR-SERVER/mcp\nTransport: Streamable HTTP\nAuthorization: Bearer YOUR_POLARION_PAT",
        "verify": {
          "prompt": "curl -i -X POST https://YOUR-SERVER/mcp -H \"Authorization: Bearer YOUR_POLARION_PAT\" -H \"Content-Type: application/json\" -H \"Accept: application/json, text/event-stream\" -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-03-26\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1\"}}}'",
          "expect": "HTTP 200 with \"serverInfo\" and an mcp-session-id header. No key gives 401."
        },
        "fails": [
          {
            "symptom": "401 Unauthorized.",
            "fix": "Token missing, cut off, expired or from another Polarion. Create a new PAT and retest."
          },
          {
            "symptom": "406 Not Acceptable.",
            "fix": "Send the header Accept: application/json, text/event-stream."
          }
        ],
        "needs": [
          "The MCP URL"
        ],
        "serverSetup": "docker"
      }
    },
    {
      "id": "rest-wrapper",
      "name": "REST wrapper / OpenAPI",
      "label": "REST / OpenAPI",
      "icon": "swap",
      "provider": "custom",
      "sources": [
        "https://github.com/phillipboesger/polarion-mcp/blob/main/src/http-server.ts",
        "https://github.com/phillipboesger/polarion-mcp/blob/main/src/rest-api.ts"
      ],
      "checked": "2026-10-24",
      "note": "",
      "redirectUris": [],
      "defaultMode": "server",
      "summary": "REST/OpenAPI endpoint for clients without MCP.",
      "local": {
        "reason": "npx starts MCP stdio. This needs the separate REST wrapper."
      },
      "server": {
        "setup": "connector",
        "snippet": "OpenAPI: https://YOUR-SERVER/openapi.json\nGPT Actions: https://YOUR-SERVER/openapi-gpt.json\nAuthorization: Bearer YOUR_WRAPPER_API_KEY",
        "steps": [
          "Ask your administrator for the wrapper address and HTTP_API_KEY.",
          "Import https://YOUR-SERVER/openapi.json (all) or /openapi-gpt.json (30 actions).",
          "Set authentication to Bearer token and paste the HTTP_API_KEY.",
          "Call getCurrentUser to check access. The 30-action GPT schema has no getCurrentUser; use getProject with a projectId there."
        ],
        "note": "REST uses the deployment PAT, shared by all calls through this wrapper.",
        "verify": {
          "prompt": "curl -X POST https://YOUR-SERVER/api/tools/getCurrentUser -H \"Authorization: Bearer YOUR_WRAPPER_API_KEY\" -H \"Content-Type: application/json\" -d '{}'",
          "expect": "JSON with your Polarion user. Without the key, /api/tools answers 401."
        },
        "fails": [
          {
            "symptom": "401 Unauthorized.",
            "fix": "The Bearer value must be HTTP_API_KEY (the wrapper key), not your Polarion PAT."
          },
          {
            "symptom": "429 Too many requests.",
            "fix": "Limit is 100 calls per 15 minutes per caller. Set TRUST_PROXY=1 behind a proxy."
          }
        ],
        "needs": [
          "Wrapper address and HTTP_API_KEY"
        ],
        "serverSetup": "rest"
      }
    },
    {
      "id": "n8n",
      "name": "n8n REST workflow",
      "label": "n8n",
      "icon": "nodes",
      "provider": "custom",
      "sources": [
        "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/",
        "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/common-issues/",
        "https://docs.n8n.io/integrations/builtin/credentials/httprequest/",
        "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/"
      ],
      "checked": "2026-10-30",
      "note": "Use the HTTP Request node as a workflow step or attach it as a tool to an AI Agent.",
      "redirectUris": [],
      "referenceNote": "This confirmed path uses REST. The MCP Client Tool documentation still describes an SSE Endpoint, so it is not used as evidence for a Streamable HTTP setup here.",
      "defaultMode": "server",
      "summary": "n8n workflows calling the REST wrapper.",
      "local": {
        "reason": "npx starts MCP stdio. This needs the separate REST wrapper."
      },
      "server": {
        "setup": "n8n-rest",
        "steps": [
          "Ask your administrator for the wrapper address and HTTP_API_KEY.",
          "Create a Header Auth credential (a generic credential type): Name Authorization, Value Bearer YOUR_WRAPPER_API_KEY. Bearer auth is a special case of Header Auth.",
          "Add an HTTP Request node, select Import cURL, paste the snippet and select Import. This overwrites the node configuration and stores all values as strings; switch to Using JSON if you need typed values.",
          "Replace the address. Under Authentication choose the generic credential type Header Auth, select the credential and remove the imported Authorization header.",
          "Execute the node. To let an AI Agent call it, attach the node as a tool; Optimize Response can shrink the result sent to the model."
        ],
        "note": "If the wrapper runs in Docker on the same host as n8n, localhost is the n8n container itself. Use host.docker.internal (on Linux add host.docker.internal:host-gateway via extra_hosts or --add-host), or the service name and internal port inside one Compose stack.",
        "verify": {
          "prompt": "Execute the HTTP Request node.",
          "expect": "Node output shows the Polarion projects as JSON."
        },
        "fails": [
          {
            "symptom": "401 Unauthorized.",
            "fix": "The Bearer value must be HTTP_API_KEY (the wrapper key), not your Polarion PAT."
          },
          {
            "symptom": "403 Forbidden - perhaps check your credentials",
            "fix": "The credential is not accepted or is formatted wrongly. Check the Header Auth Name (Authorization) and the Bearer prefix, or create a new key."
          },
          {
            "symptom": "The node cannot connect (ECONNREFUSED).",
            "fix": "The wrapper must be reachable from n8n. Inside Docker, localhost is the container itself: use host.docker.internal, or http://127.0.0.1:PORT on Node.js 17+ (localhost may resolve to IPv6 ::1). Test with wget from inside the n8n container."
          },
          {
            "symptom": "n8n Cloud cannot reach the wrapper.",
            "fix": "Cloud workflows cannot reach localhost or services on your machine. Use a public https address or expose the wrapper through a tunnel."
          },
          {
            "symptom": "JSON parameter need to be an valid JSON",
            "fix": "The body is not valid JSON. Check quotes, commas and brackets; when you use an expression wrap the whole JSON in double curly brackets."
          },
          {
            "symptom": "429 Too Many Requests",
            "fix": "Use Batching (Items per Batch, Batch Interval) or turn on Retry on Fail in the node settings. The wrapper itself allows 100 requests per 15 minutes per caller."
          }
        ],
        "needs": [
          "Wrapper address and HTTP_API_KEY"
        ],
        "serverSetup": "rest"
      },
      "unverified": [
        "The n8n MCP Client Tool page (n8n-nodes-langchain.toolmcp) was read again: it documents an SSE Endpoint parameter, Bearer, generic header, multiple headers and OAuth2 credentials, and Tools to Include (All, Selected, All Except). It does not document a Streamable HTTP transport option, version requirements, environment variables or troubleshooting, so MCP Client Tool is still not used for this server.",
        "The HTTP Request docs do not describe a timeout or SSL fix for this case; Timeout and Ignore SSL Issues exist as node options but no troubleshooting for them is documented.",
        "The Header Auth credential page does not give the node steps for selecting a generic credential; the Authentication wording above follows the node page's description of generic credentials."
      ]
    },
    {
      "id": "m365-copilot",
      "name": "Microsoft 365 Copilot / Teams",
      "label": "M365 Copilot",
      "icon": "bot",
      "provider": "microsoft",
      "sources": [
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/plugin-authentication-oauth",
        "https://microsoft.github.io/copilot-camp/pages/extend-m365-copilot/10-mcp-auth",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/build-mcp-plugins",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/plugin-authentication",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/plugin-authentication-dynamic-client-registration",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/plugin-dynamic-tool-discovery",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/prerequisites",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/publish",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/configure-plugin-mcp-servers",
        "https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/build-reuse-mcp-servers"
      ],
      "checked": "2026-10-30",
      "note": "Sideloading for development needs the Upload custom apps setting; publishing to the whole organisation depends on the method and may need an admin. Preview alternative: Work IQ Dev Tools (wiqd CLI, Node.js 24+) or the agentConnectors section of the app manifest.",
      "redirectUris": [
        {
          "uri": "https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect",
          "verified": true,
          "notes": "Same for every plugin and provider per Microsoft Learn."
        }
      ],
      "defaultMode": "server",
      "unverified": [
        "End-to-end run in an M365 tenant has not been done yet. Agents Toolkit labels come from Microsoft Learn (build-mcp-plugins, updated 2026-09-30) and the Microsoft lab and may change.",
        "Microsoft states that dynamic client registration without a client secret is not supported yet and that the authorization server must issue a secret at registration. This server issues a secret for client_secret_post and client_secret_basic registrations and rejects a wrong one (covered by tests/dcr-client-compat.test.ts); only Microsoft's actual client behaviour is untested.",
        "Microsoft documents the steps to publish to the whole organisation only per method (publish-plugin-organization was not read); this guide covers sideloading for development.",
        "Microsoft documents no timeout or tool-count limit for MCP plugins in declarative agents; the 30 second tool-call limit and TLS 1.2 requirement appear only for the Work IQ Dev Tools connector route."
      ],
      "summary": "Declarative agents in Microsoft 365 Copilot Chat and Teams.",
      "local": {
        "reason": "Microsoft 365 Copilot calls the MCP server from Microsoft’s cloud, so it needs a public HTTPS server."
      },
      "server": {
        "setup": "connector",
        "steps": [
          "Set up the server with Docker and the m365 preset (see the server example under Prerequisites), reachable at https://YOUR-SERVER/mcp.",
          "Ask your tenant admin to allow custom apps: Teams admin center > Teams apps > Setup policies > Global (Org-wide default) > Upload custom apps On.",
          "In VS Code, install Microsoft 365 Agents Toolkit 6.12.0 or later and open it from the Activity Bar.",
          "In the Accounts pane select Sign in to Microsoft 365 and confirm that both Custom App Upload Enabled and Copilot Access Enabled show.",
          "Select Create a New Agent/App > Declarative Agent > Add an Action > Start with an MCP Server.",
          "Enter https://YOUR-SERVER/mcp as the server URL.",
          "For the authentication type choose OAuth (with dynamic registration). The toolkit reads the registration details from the server's well-known endpoints and creates the auth config; no client ID or secret is entered. (The other options are OAuth with static registration, Entra SSO and None.)",
          "Choose a project location and name the agent. The toolkit generates the project and opens it in a new VS Code window.",
          "Tools: by default the agent resolves all polarion tools from the server at runtime, so there is nothing to select. To pin a subset instead, open .vscode/mcp.json, select Start (and Allow if asked to authenticate), choose ATK: Fetch action from MCP > ai-plugin.json and tick the tools.",
          "In the Lifecycle pane select Provision, read the dialog and select Confirm, then wait until provisioning finishes.",
          "Open https://m365.cloud.microsoft/chat, find the agent under Agents in the sidebar (its name ends with dev) and select it.",
          "Send a prompt. If asked, allow the agent to send data to the plugin, then select Sign in to {agent name} and sign in with your Polarion PAT on the server login page.",
          "To sign out later, use Chat settings > Agents in Microsoft 365 Copilot; this clears the stored OAuth token."
        ],
        "note": "Sideloading for development needs the Upload custom apps setting; publishing to the whole organisation depends on the method and may need an admin. Preview alternative: Work IQ Dev Tools (wiqd CLI, Node.js 24+) or the agentConnectors section of the app manifest.",
        "needs": [
          "Microsoft 365 tenant where an admin turned on Upload custom apps. A Microsoft 365 Copilot licence is only needed for agents grounded in organisation data; custom actions also work in Copilot Chat",
          "VS Code with Microsoft 365 Agents Toolkit 6.12.0 or later",
          "Public HTTPS server address with OAuth and dynamic client registration (m365 preset). Microsoft requires protected resource metadata at /.well-known/oauth-protected-resource, authorization server metadata with a registration_endpoint, and a registration that issues a client secret"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The agent calls getCurrentUser and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off or expired. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Sign-in ends with a redirect_uri error",
            "fix": "The administrator must set MCP_ALLOWED_REDIRECT_PRESETS=m365 on the server."
          },
          {
            "symptom": "Provisioning works but every tool call returns 404",
            "fix": "The auth config ID in the manifest is wrong or the registration is bound to a Teams app ID. Recreate it with Any Teams app."
          },
          {
            "symptom": "Custom App Upload Enabled or Copilot Access Enabled is missing in the Accounts pane",
            "fix": "Ask your Microsoft 365 admin to turn on Upload custom apps and Copilot access for your account."
          },
          {
            "symptom": "Provisioning cannot register a client with the server",
            "fix": "Open the server's /.well-known/oauth-authorization-server URL in a browser and check that it returns registration_endpoint. In the Microsoft lab you also set wellKnownAuthorizationServer under dcr/register in m365agents.yml to that URL."
          },
          {
            "symptom": "The agent is not in the sidebar",
            "fix": "Look under Agents for the agent name with dev appended. Sideloaded apps are managed in Teams under Apps > Manage your apps."
          },
          {
            "symptom": "You want to see why Copilot did or did not pick a tool",
            "fix": "In a licensed Microsoft 365 Copilot chat type -developer on (and -developer off to stop). Developer mode is not available without the licence."
          }
        ],
        "serverSetup": "docker-m365"
      }
    },
    {
      "id": "mistral-le-chat",
      "name": "Mistral Le Chat",
      "label": "Le Chat",
      "icon": "chat",
      "provider": "mistral",
      "sources": [
        "https://docs.mistral.ai/le-chat/knowledge-integrations/connectors/mcp-connectors",
        "https://docs.mistral.ai/studio/connectors/management"
      ],
      "checked": "2026-10-30",
      "note": "Operated by Mistral AI in France. Le Chat registers itself (DCR) and may send an empty client secret.",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Mistral does not document a fixed OAuth callback URL for Le Chat, so no built-in preset exists.",
        "Mistral's docs do not say which menu group holds Connectors in every app version, or whether Team plans differ from Free/Pro/Student beyond 'administrator only'.",
        "Mistral's docs mention no client secret field for custom connectors; they only say OAuth 2.1 uses dynamic client registration. This server accepts public registration (no secret), an empty client_secret field, and secret-based registrations (tests/dcr-client-compat.test.ts); only Le Chat's real behaviour is untested.",
        "Not yet tested with a Le Chat account."
      ],
      "summary": "Mistral’s chat assistant, EU-hosted.",
      "local": {
        "reason": "Le Chat connects from Mistral's cloud, so it needs a public HTTPS server."
      },
      "server": {
        "setup": "connector",
        "steps": [
          "Set up the server with Docker and OAuth (see the server example under Prerequisites), reachable over HTTPS with a valid certificate at https://YOUR-SERVER/mcp.",
          "In Le Chat open Connectors > + Add Connector and switch to the Custom MCP Connector tab. Only an administrator can do this: on Free, Pro and Student plans the account owner is the admin; on Team plans ask an admin.",
          "Enter the connector name Polarion (no spaces or special characters), the Server URL https://YOUR-SERVER/mcp and an optional description.",
          "Click Connect. Le Chat detects the auth method from the server (OAuth 2.1 with dynamic client registration) and opens the server login, where you enter your Polarion PAT.",
          "Under Connectors > My Connectors > Polarion > Functions, keep write functions on Ask each time (the default) and set read functions to Always allow if you want; then use the connector in a new chat."
        ],
        "note": "Le Chat registers itself (DCR). If login fails with a redirect_uri error, copy the rejected URI from the server log into MCP_ALLOWED_REDIRECT_PREFIXES. Mistral does not review third-party MCP servers; connect only servers you trust. Custom connectors do not yet support dynamic tool discovery, resources or automatic prompt templates.",
        "needs": [
          "Le Chat account with the administrator role (account owner on Free, Pro, Student)",
          "Public HTTPS server address with a valid certificate and OAuth"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "Le Chat calls getCurrentUser and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "\"MCP connection requires additional information or is invalid\"",
            "fix": "Check the endpoint path (/mcp), HTTPS with a valid certificate, that unauthenticated requests get 401 with a WWW-Authenticate header, and that the server answers the initialize call. Test with the MCP Inspector or curl."
          },
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off or expired. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Sign-in ends with a redirect_uri error",
            "fix": "Add the rejected callback from the server log to MCP_ALLOWED_REDIRECT_PREFIXES and restart."
          },
          {
            "symptom": "Add Connector or Custom MCP Connector not available",
            "fix": "Only administrators can add custom connectors. Ask your Le Chat admin."
          }
        ],
        "serverSetup": "docker-mistral"
      }
    },
    {
      "id": "self-hosted",
      "name": "Open WebUI or LibreChat with your own models",
      "label": "Open WebUI",
      "icon": "server",
      "provider": "other",
      "sources": [
        "https://docs.openwebui.com/features/extensibility/mcp",
        "https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-ollama",
        "https://www.librechat.ai/docs/features/mcp",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_servers",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_settings",
        "https://docs.ollama.com/capabilities/tool-calling",
        "https://openrouter.ai/docs/features/tool-calling"
      ],
      "checked": "2026-10-30",
      "note": "Open WebUI is the MCP client. Ollama, vLLM and OpenRouter only supply the model, so only the model URL and key change per backend. The model must support tool calling.",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Open WebUI docs describe the Integrations page and Save but do not describe a Verify connection button or a tool list preview for Bearer connections (only Check OAuth Discovery for OAuth). The old 'tool list must appear' check is replaced by enabling the tool in a chat.",
        "Open WebUI's MCP page does not name the native function calling setting; its location (Model Settings > Advanced Params > Function Calling) comes from other Open WebUI doc pages found via search, and the page naming it was not opened.",
        "The Open WebUI Ollama page confirms http://host.docker.internal:11434; OLLAMA_BASE_URL and the OpenRouter base URL were not found on the pages read.",
        "Ollama's tool-calling page does not list which models support tools; OpenRouter documents the supported_parameters=tools model filter.",
        "The LibreChat MCP feature page does not say whether MCP tools need an agent; the YAML reference says agents can use servers and chatMenu controls the composer menu. The snippet follows the docs and was not run here.",
        "Not tested with Ollama or OpenRouter chats."
      ],
      "summary": "Open WebUI or LibreChat with Ollama, vLLM, OpenRouter or any OpenAI-compatible model.",
      "local": {
        "reason": "The chat UI connects to the server by URL; use the Local setup of a desktop client instead if you only need stdio."
      },
      "server": {
        "setup": "open-webui",
        "steps": [
          "Start the server on the same Docker network as Open WebUI (see the server example under Prerequisites). Open WebUI must be v0.6.31 or newer and started with WEBUI_SECRET_KEY set.",
          "In Open WebUI open Settings > Admin > Integrations. Under External Tool Servers click + Add Connection and set Type to MCP (Streamable HTTP), not OpenAPI. Only administrators can add MCP servers.",
          "Enter http://polarion-mcp:3000/mcp as Server URL, choose Auth Bearer and paste your Polarion PAT as Key.",
          "Click Save (restart Open WebUI if it asks you to). Optionally use Access Control to limit the server to users or groups.",
          "In a chat with a tool-calling model open + > Integrations > Tools and enable the polarion tool."
        ],
        "alternative": {
          "title": "LibreChat",
          "description": "Same connection in librechat.yaml.",
          "needs": [
            "LibreChat running (Docker), with an agent or chat model that supports tool calling"
          ],
          "steps": [
            "Add the block below to librechat.yaml. mcpSettings.allowedAddresses is needed because LibreChat blocks private and Docker-internal hosts by default; entries must include the port.",
            "Restart LibreChat; librechat.yaml servers load at startup.",
            "Open the MCP Servers section of the chat composer (or select the server in an agent) and enable polarion; the status should read Connected."
          ],
          "language": "yaml",
          "snippet": "mcpServers:\n  polarion:\n    type: streamable-http\n    url: http://polarion-mcp:3000/mcp\n    headers:\n      Authorization: \"Bearer YOUR_POLARION_PAT\"\n\nmcpSettings:\n  allowedAddresses:\n    - \"polarion-mcp:3000\"",
          "note": "Type streamable-http (alias http) is the recommended transport for multi-user use. Instead of one shared PAT you can let each user enter their own: declare customUserVars with a title and sensitive: true and use '{{VARIABLE}}' in the Authorization header. Servers added through MCP Settings in the UI can only reach remote URLs and drop ${ENV_VAR} placeholders from headers."
        },
        "note": "Choose the model backend in Open WebUI under Settings > Admin > Connections (for Ollama use Manage Ollama API Connections; with Docker and Ollama on the host the URL is http://host.docker.internal:11434; OpenRouter and vLLM go through an OpenAI-compatible connection). The MCP setup is identical for all of them. Pick a model with tool calling: Ollama tool-capable models, or OpenRouter models filtered with supported_parameters=tools (openrouter.ai/models?supported_parameters=tools). Open WebUI recommends reliable native tool calling; small local models often produce malformed tool calls.",
        "needs": [
          "Open WebUI v0.6.31+ (or LibreChat) running in Docker",
          "WEBUI_SECRET_KEY set on Open WebUI",
          "A model with tool calling support"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The model calls getCurrentUser and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Failed to connect to MCP server",
            "fix": "Read the Open WebUI server log. Typical fixes: with Bearer the Key must not be empty (an empty Bearer sends an empty Authorization header); raise MCP_INITIALIZE_TIMEOUT (default 10 seconds) for a slow server; if the Function Name Filter List is empty, try a single comma."
          },
          {
            "symptom": "External Tool Servers is greyed out or the Add Connection menu is missing",
            "fix": "ENABLE_TOOL_SERVERS is False, or your account is not an administrator. Only admins can add MCP servers."
          },
          {
            "symptom": "Endless loading spinner after saving",
            "fix": "The MCP config was saved as an OpenAPI connection (console: Cannot convert undefined or null to object). Delete the connection, refresh and re-add it with Type MCP (Streamable HTTP)."
          },
          {
            "symptom": "The model never calls the tool",
            "fix": "The model does not support tool calling or handles it badly. Pick a tool-capable model; in Open WebUI check Model Settings > Advanced Params > Function Calling (Native is the documented default) and try a stronger model."
          },
          {
            "symptom": "Connection refused to localhost:3000",
            "fix": "localhost inside the Open WebUI container is that container. Use the polarion-mcp container name on a shared Docker network, or http://host.docker.internal:PORT for a server on the Docker host."
          },
          {
            "symptom": "LibreChat shows Disconnected or blocks the URL",
            "fix": "Add the host and port to mcpSettings.allowedAddresses (for example polarion-mcp:3000), restart LibreChat and reconnect. Error messages say whether the server was unreachable, needed variables or needed sign-in."
          }
        ],
        "serverSetup": "docker-self-hosted"
      }
    },
    {
      "id": "ollama",
      "name": "Ollama with Open WebUI or LibreChat",
      "label": "Ollama",
      "icon": "server",
      "provider": "other",
      "sources": [
        "https://docs.openwebui.com/features/extensibility/mcp",
        "https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-ollama",
        "https://docs.ollama.com/capabilities/tool-calling",
        "https://www.librechat.ai/docs/features/mcp",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_servers",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_settings"
      ],
      "checked": "2026-10-30",
      "note": "Ollama runs the model; Open WebUI or LibreChat is the MCP client that talks to this server. The model must support tool calling.",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Open WebUI docs describe the Integrations page and Save but do not describe a Verify connection button or a tool list preview for Bearer connections. Enable the tool in a chat to check it.",
        "Open WebUI's MCP page does not name the native function calling setting; its location (Model Settings > Advanced Params > Function Calling) comes from other Open WebUI doc pages found via search, and the page naming it was not opened.",
        "Ollama's tool-calling page does not list which models support tools.",
        "The LibreChat MCP feature page does not say whether MCP tools need an agent. The snippet follows the YAML reference and was not run here.",
        "Not tested with Ollama."
      ],
      "summary": "Chat with local Ollama models in Open WebUI or LibreChat and let them use Polarion.",
      "local": {
        "reason": "The chat UI connects to the server by URL; use the Local setup of a desktop client instead if you only need stdio."
      },
      "server": {
        "setup": "open-webui",
        "steps": [
          "Connect Open WebUI to Ollama first: Settings > Admin > Connections > Manage Ollama API Connections. With Docker and Ollama on the host the URL is http://host.docker.internal:11434. Pull a model that supports tool calling.",
          "Start the server on the same Docker network as Open WebUI (see the server example under Prerequisites). Open WebUI must be v0.6.31 or newer and started with WEBUI_SECRET_KEY set.",
          "In Open WebUI open Settings > Admin > Integrations. Under External Tool Servers click + Add Connection and set Type to MCP (Streamable HTTP), not OpenAPI. Only administrators can add MCP servers.",
          "Enter http://polarion-mcp:3000/mcp as Server URL, choose Auth Bearer and paste your Polarion PAT as Key.",
          "Click Save (restart Open WebUI if it asks you to). Optionally use Access Control to limit the server to users or groups.",
          "In a chat with a tool-calling model open + > Integrations > Tools and enable the polarion tool."
        ],
        "alternative": {
          "title": "LibreChat",
          "description": "Same connection in librechat.yaml.",
          "needs": [
            "LibreChat running (Docker), with an agent or chat model that supports tool calling"
          ],
          "steps": [
            "Add the block below to librechat.yaml. mcpSettings.allowedAddresses is needed because LibreChat blocks private and Docker-internal hosts by default; entries must include the port.",
            "Restart LibreChat; librechat.yaml servers load at startup.",
            "Open the MCP Servers section of the chat composer (or select the server in an agent) and enable polarion; the status should read Connected."
          ],
          "language": "yaml",
          "snippet": "mcpServers:\n  polarion:\n    type: streamable-http\n    url: http://polarion-mcp:3000/mcp\n    headers:\n      Authorization: \"Bearer YOUR_POLARION_PAT\"\n\nmcpSettings:\n  allowedAddresses:\n    - \"polarion-mcp:3000\"",
          "note": "Type streamable-http (alias http) is the recommended transport for multi-user use. Instead of one shared PAT you can let each user enter their own: declare customUserVars with a title and sensitive: true and use '{{VARIABLE}}' in the Authorization header. Servers added through MCP Settings in the UI can only reach remote URLs and drop ${ENV_VAR} placeholders from headers."
        },
        "note": "Pick a model with tool calling. Open WebUI recommends reliable native tool calling; small models often produce malformed tool calls.",
        "needs": [
          "Open WebUI v0.6.31+ (or LibreChat) running in Docker",
          "WEBUI_SECRET_KEY set on Open WebUI",
          "A model with tool calling support"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The model calls getCurrentUser and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Failed to connect to MCP server",
            "fix": "Read the Open WebUI server log. Typical fixes: with Bearer the Key must not be empty (an empty Bearer sends an empty Authorization header); raise MCP_INITIALIZE_TIMEOUT (default 10 seconds) for a slow server; if the Function Name Filter List is empty, try a single comma."
          },
          {
            "symptom": "External Tool Servers is greyed out or the Add Connection menu is missing",
            "fix": "ENABLE_TOOL_SERVERS is False, or your account is not an administrator. Only admins can add MCP servers."
          },
          {
            "symptom": "Endless loading spinner after saving",
            "fix": "The MCP config was saved as an OpenAPI connection (console: Cannot convert undefined or null to object). Delete the connection, refresh and re-add it with Type MCP (Streamable HTTP)."
          },
          {
            "symptom": "The model never calls the tool",
            "fix": "The model does not support tool calling or handles it badly. Pick a tool-capable model; in Open WebUI check Model Settings > Advanced Params > Function Calling (Native is the documented default) and try a stronger model."
          },
          {
            "symptom": "Connection refused to localhost:3000",
            "fix": "localhost inside the Open WebUI container is that container. Use the polarion-mcp container name on a shared Docker network, or http://host.docker.internal:PORT for a server on the Docker host."
          },
          {
            "symptom": "LibreChat shows Disconnected or blocks the URL",
            "fix": "Add the host and port to mcpSettings.allowedAddresses (for example polarion-mcp:3000), restart LibreChat and reconnect. Error messages say whether the server was unreachable, needed variables or needed sign-in."
          }
        ],
        "serverSetup": "docker-self-hosted"
      }
    },
    {
      "id": "vllm",
      "name": "vLLM with Open WebUI or LibreChat",
      "label": "vLLM",
      "icon": "server",
      "provider": "other",
      "sources": [
        "https://docs.openwebui.com/features/extensibility/mcp",
        "https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-vllm",
        "https://docs.vllm.ai/en/stable/features/tool_calling/",
        "https://www.librechat.ai/docs/features/mcp",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_servers",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_settings"
      ],
      "checked": "2026-10-30",
      "note": "vLLM runs the model through an OpenAI-compatible API; Open WebUI or LibreChat is the MCP client that talks to this server. vLLM needs --enable-auto-tool-choice and a tool-call parser that matches the model.",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Open WebUI docs describe the Integrations page and Save but do not describe a Verify connection button or a tool list preview for Bearer connections (only Check OAuth Discovery for OAuth). The old 'tool list must appear' check is replaced by enabling the tool in a chat.",
        "Open WebUI's MCP page does not name the native function calling setting; its location (Model Settings > Advanced Params > Function Calling) comes from other Open WebUI doc pages found via search, and the page naming it was not opened.",
        "The Open WebUI vLLM page does not cover tool calling; the vLLM flags come from the vLLM tool-calling page (the parser list depends on the model).",
        "The LibreChat MCP feature page does not say whether MCP tools need an agent; the YAML reference says agents can use servers and chatMenu controls the composer menu. The snippet follows the docs and was not run here.",
        "Not tested with vLLM."
      ],
      "summary": "Chat with models served by vLLM in Open WebUI or LibreChat and let them use Polarion.",
      "local": {
        "reason": "The chat UI connects to the server by URL; use the Local setup of a desktop client instead if you only need stdio."
      },
      "server": {
        "setup": "open-webui",
        "steps": [
          "Start vLLM with tool calling enabled: vllm serve <model> --enable-auto-tool-choice --tool-call-parser <parser for your model>. In Open WebUI add it under Settings > Admin > Connections > Manage OpenAI API Connections > Add Connection with http://host.docker.internal:8000/v1 (Open WebUI in Docker) or http://localhost:8000/v1; choose Auth None unless you configured a key.",
          "Start the server on the same Docker network as Open WebUI (see the server example under Prerequisites). Open WebUI must be v0.6.31 or newer and started with WEBUI_SECRET_KEY set.",
          "In Open WebUI open Settings > Admin > Integrations. Under External Tool Servers click + Add Connection and set Type to MCP (Streamable HTTP), not OpenAPI. Only administrators can add MCP servers.",
          "Enter http://polarion-mcp:3000/mcp as Server URL, choose Auth Bearer and paste your Polarion PAT as Key.",
          "Click Save (restart Open WebUI if it asks you to). Optionally use Access Control to limit the server to users or groups.",
          "In a chat with a tool-calling model open + > Integrations > Tools and enable the polarion tool."
        ],
        "alternative": {
          "title": "LibreChat",
          "description": "Same connection in librechat.yaml.",
          "needs": [
            "LibreChat running (Docker), with an agent or chat model that supports tool calling"
          ],
          "steps": [
            "Add the block below to librechat.yaml. mcpSettings.allowedAddresses is needed because LibreChat blocks private and Docker-internal hosts by default; entries must include the port.",
            "Restart LibreChat; librechat.yaml servers load at startup.",
            "Open the MCP Servers section of the chat composer (or select the server in an agent) and enable polarion; the status should read Connected."
          ],
          "language": "yaml",
          "snippet": "mcpServers:\n  polarion:\n    type: streamable-http\n    url: http://polarion-mcp:3000/mcp\n    headers:\n      Authorization: \"Bearer YOUR_POLARION_PAT\"\n\nmcpSettings:\n  allowedAddresses:\n    - \"polarion-mcp:3000\"",
          "note": "Type streamable-http (alias http) is the recommended transport for multi-user use. Instead of one shared PAT you can let each user enter their own: declare customUserVars with a title and sensitive: true and use '{{VARIABLE}}' in the Authorization header. Servers added through MCP Settings in the UI can only reach remote URLs and drop ${ENV_VAR} placeholders from headers."
        },
        "note": "Pick a model with tool calling. Open WebUI recommends reliable native tool calling; small models often produce malformed tool calls.",
        "needs": [
          "Open WebUI v0.6.31+ (or LibreChat) running in Docker",
          "WEBUI_SECRET_KEY set on Open WebUI",
          "A model with tool calling support"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The model calls getCurrentUser and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Failed to connect to MCP server",
            "fix": "Read the Open WebUI server log. Typical fixes: with Bearer the Key must not be empty (an empty Bearer sends an empty Authorization header); raise MCP_INITIALIZE_TIMEOUT (default 10 seconds) for a slow server; if the Function Name Filter List is empty, try a single comma."
          },
          {
            "symptom": "External Tool Servers is greyed out or the Add Connection menu is missing",
            "fix": "ENABLE_TOOL_SERVERS is False, or your account is not an administrator. Only admins can add MCP servers."
          },
          {
            "symptom": "Endless loading spinner after saving",
            "fix": "The MCP config was saved as an OpenAPI connection (console: Cannot convert undefined or null to object). Delete the connection, refresh and re-add it with Type MCP (Streamable HTTP)."
          },
          {
            "symptom": "The model never calls the tool",
            "fix": "The model does not support tool calling or handles it badly. Pick a tool-capable model; in Open WebUI check Model Settings > Advanced Params > Function Calling (Native is the documented default) and try a stronger model."
          },
          {
            "symptom": "Connection refused to localhost:3000",
            "fix": "localhost inside the Open WebUI container is that container. Use the polarion-mcp container name on a shared Docker network, or http://host.docker.internal:PORT for a server on the Docker host."
          },
          {
            "symptom": "LibreChat shows Disconnected or blocks the URL",
            "fix": "Add the host and port to mcpSettings.allowedAddresses (for example polarion-mcp:3000), restart LibreChat and reconnect. Error messages say whether the server was unreachable, needed variables or needed sign-in."
          }
        ],
        "serverSetup": "docker-self-hosted"
      }
    },
    {
      "id": "openrouter",
      "name": "OpenRouter with Open WebUI or LibreChat",
      "label": "OpenRouter",
      "icon": "server",
      "provider": "other",
      "sources": [
        "https://docs.openwebui.com/features/extensibility/mcp",
        "https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible",
        "https://openrouter.ai/docs/features/tool-calling",
        "https://www.librechat.ai/docs/features/mcp",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_servers",
        "https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/mcp_settings"
      ],
      "checked": "2026-10-30",
      "note": "OpenRouter supplies the models through an OpenAI-compatible API; Open WebUI or LibreChat is the MCP client that talks to this server. Pick a model that supports tool calling.",
      "redirectUris": [],
      "defaultMode": "server",
      "unverified": [
        "Open WebUI docs describe the Integrations page and Save but do not describe a Verify connection button or a tool list preview for Bearer connections (only Check OAuth Discovery for OAuth). The old 'tool list must appear' check is replaced by enabling the tool in a chat.",
        "Open WebUI's MCP page does not name the native function calling setting; its location (Model Settings > Advanced Params > Function Calling) comes from other Open WebUI doc pages found via search, and the page naming it was not opened.",
        "The LibreChat MCP feature page does not say whether MCP tools need an agent; the YAML reference says agents can use servers and chatMenu controls the composer menu. The snippet follows the docs and was not run here.",
        "Not tested with OpenRouter."
      ],
      "summary": "Chat with OpenRouter models in Open WebUI or LibreChat and let them use Polarion.",
      "local": {
        "reason": "The chat UI connects to the server by URL; use the Local setup of a desktop client instead if you only need stdio."
      },
      "server": {
        "setup": "open-webui",
        "steps": [
          "Add OpenRouter in Open WebUI under Settings > Admin > Connections > Manage OpenAI API Connections: URL https://openrouter.ai/api/v1, API key from openrouter.ai/keys. Add only the model IDs you need to the Model IDs allowlist, and choose models that support tools (openrouter.ai/models?supported_parameters=tools).",
          "Start the server on the same Docker network as Open WebUI (see the server example under Prerequisites). Open WebUI must be v0.6.31 or newer and started with WEBUI_SECRET_KEY set.",
          "In Open WebUI open Settings > Admin > Integrations. Under External Tool Servers click + Add Connection and set Type to MCP (Streamable HTTP), not OpenAPI. Only administrators can add MCP servers.",
          "Enter http://polarion-mcp:3000/mcp as Server URL, choose Auth Bearer and paste your Polarion PAT as Key.",
          "Click Save (restart Open WebUI if it asks you to). Optionally use Access Control to limit the server to users or groups.",
          "In a chat with a tool-calling model open + > Integrations > Tools and enable the polarion tool."
        ],
        "alternative": {
          "title": "LibreChat",
          "description": "Same connection in librechat.yaml.",
          "needs": [
            "LibreChat running (Docker), with an agent or chat model that supports tool calling"
          ],
          "steps": [
            "Add the block below to librechat.yaml. mcpSettings.allowedAddresses is needed because LibreChat blocks private and Docker-internal hosts by default; entries must include the port.",
            "Restart LibreChat; librechat.yaml servers load at startup.",
            "Open the MCP Servers section of the chat composer (or select the server in an agent) and enable polarion; the status should read Connected."
          ],
          "language": "yaml",
          "snippet": "mcpServers:\n  polarion:\n    type: streamable-http\n    url: http://polarion-mcp:3000/mcp\n    headers:\n      Authorization: \"Bearer YOUR_POLARION_PAT\"\n\nmcpSettings:\n  allowedAddresses:\n    - \"polarion-mcp:3000\"",
          "note": "Type streamable-http (alias http) is the recommended transport for multi-user use. Instead of one shared PAT you can let each user enter their own: declare customUserVars with a title and sensitive: true and use '{{VARIABLE}}' in the Authorization header. Servers added through MCP Settings in the UI can only reach remote URLs and drop ${ENV_VAR} placeholders from headers."
        },
        "note": "Pick a model with tool calling. Open WebUI recommends reliable native tool calling; small models often produce malformed tool calls.",
        "needs": [
          "Open WebUI v0.6.31+ (or LibreChat) running in Docker",
          "WEBUI_SECRET_KEY set on Open WebUI",
          "A model with tool calling support"
        ],
        "verify": {
          "prompt": "Which Polarion user am I? Use getCurrentUser.",
          "expect": "The model calls getCurrentUser and shows your Polarion user."
        },
        "fails": [
          {
            "symptom": "401 \"Polarion did not accept this token\"",
            "fix": "The PAT was cut off, has expired or is for another Polarion. Create a new token and paste it unchanged."
          },
          {
            "symptom": "Failed to connect to MCP server",
            "fix": "Read the Open WebUI server log. Typical fixes: with Bearer the Key must not be empty (an empty Bearer sends an empty Authorization header); raise MCP_INITIALIZE_TIMEOUT (default 10 seconds) for a slow server; if the Function Name Filter List is empty, try a single comma."
          },
          {
            "symptom": "External Tool Servers is greyed out or the Add Connection menu is missing",
            "fix": "ENABLE_TOOL_SERVERS is False, or your account is not an administrator. Only admins can add MCP servers."
          },
          {
            "symptom": "Endless loading spinner after saving",
            "fix": "The MCP config was saved as an OpenAPI connection (console: Cannot convert undefined or null to object). Delete the connection, refresh and re-add it with Type MCP (Streamable HTTP)."
          },
          {
            "symptom": "The model never calls the tool",
            "fix": "The model does not support tool calling or handles it badly. Pick a tool-capable model; in Open WebUI check Model Settings > Advanced Params > Function Calling (Native is the documented default) and try a stronger model."
          },
          {
            "symptom": "Connection refused to localhost:3000",
            "fix": "localhost inside the Open WebUI container is that container. Use the polarion-mcp container name on a shared Docker network, or http://host.docker.internal:PORT for a server on the Docker host."
          },
          {
            "symptom": "LibreChat shows Disconnected or blocks the URL",
            "fix": "Add the host and port to mcpSettings.allowedAddresses (for example polarion-mcp:3000), restart LibreChat and reconnect. Error messages say whether the server was unreachable, needed variables or needed sign-in."
          }
        ],
        "serverSetup": "docker-self-hosted"
      }
    }
  ],
  "serverModes": [
    {
      "id": "local",
      "label": "Local (npm / npx)",
      "description": "Your client starts the server on your computer (stdio). Needs Node.js 22+ and a Polarion token."
    },
    {
      "id": "server",
      "label": "Server (Docker)",
      "description": "A server your client connects to by URL. Needs Docker to host it; cloud clients also need public HTTPS and OAuth."
    }
  ],
  "faq": [
    {
      "id": "setup-choice",
      "q": "Which setup do I need?",
      "a": "Local: your client starts the server on your computer with `npx`. Server: you host the server with Docker and the client connects by URL; claude.ai and ChatGPT need it. Custom GPT Actions and n8n use the REST wrapper on a server."
    },
    {
      "id": "create-pat",
      "q": "How do I create a Polarion personal access token (PAT)?",
      "a": "Polarion user page > Personal Access Token > name and expiry > Create Token. Copy it at once, it is shown only once. If the page says token generation is not allowed, your administrator must enable `com.siemens.polarion.rest.security.restApiToken.enabled=true`."
    },
    {
      "id": "data-safety",
      "q": "Is my data safe? Which permissions apply?",
      "a": "Polarion enforces the permissions of the token owner. Server mode uses each caller's own token and the server stores none. Tool results go to your AI provider, so your organization's data policies apply."
    },
    {
      "id": "read-only",
      "q": "Can I limit the server to read-only?",
      "a": "Yes: set `MCP_READ_ONLY=1` and restart. Only read tools are exposed. In write-enabled sessions every write tool can preview with `dry_run: true`."
    },
    {
      "id": "disconnected",
      "q": "My AI client says \"Disconnected\" or \"Failed to connect\".",
      "a": "Local: run `npx -y polarion-mcp` in a terminal with the same values to see the real error (Node older than 22 and JSON typos are common). Server: open `https://YOUR-SERVER/health`, then read `docker logs polarion-mcp`."
    }
  ],
  "faqMore": [
    {
      "id": "pat-401",
      "q": "It says 401 \"Polarion did not accept this token\".",
      "a": "The token was cut off, has expired, or belongs to another Polarion. Test the token with the `/metadata` request in the setup guide (docs/guides/local-npm.md or docs/troubleshooting.md) and create a new token."
    },
    {
      "id": "forbidden-403",
      "q": "It says 403 \"Polarion denied access\".",
      "a": "Polarion denied access. Check the user's license and REST or item permissions for the affected tool. On Polarion 2512+ the login check reads /metadata and needs no global REST GET permission. On 2506 it reads /projects, which does. A 403 during login is rejected."
    },
    {
      "id": "oauth-loop",
      "q": "The connector login in claude.ai or ChatGPT fails or loops.",
      "a": "Check `MCP_PUBLIC_URL` (exact https address, no path), the padlock, that the redirect preset or callback is allowed (`MCP_ALLOWED_REDIRECT_PRESETS=claude`; the log says `redirect_uri rejected`), and that `MCP_TOKEN_SECRET` did not change."
    },
    {
      "id": "polarion-2506",
      "q": "Does HTTP/OAuth work with Polarion 2506?",
      "a": "Yes. On 2512+ the login check calls GET /metadata and needs no global REST GET permission. 2506 has no /metadata, so the server reads GET /projects instead; that user must be allowed global REST GET. A 403 is never accepted. Tool access still follows your Polarion permissions."
    },
    {
      "id": "bearer",
      "q": "What does Bearer mean in an Authorization header?",
      "a": "It is just the word Bearer, one space, then your token: `Bearer YOUR_POLARION_PAT`. Without the word Bearer the server answers 401."
    },
    {
      "id": "token-storage",
      "q": "Where do I keep my token safely?",
      "a": "In your personal client settings or an environment variable, never in a file inside a shared project or repository. Anyone who can read the file can act as you in Polarion. With the OAuth connectors you type the token only on the server's login page and the AI client never stores it."
    },
    {
      "id": "polarion-versions",
      "q": "Which Polarion versions work?",
      "a": "Live integration tests run against Polarion 2506, 2512 and 2606, including HTTP/OAuth. The full tool set is targeted at the newest release; 2506 and 2512 stay usable with the limits in Polarion versions. The tools are generated from a Polarion OpenAPI definition, which does not guarantee every operation on every release. Verify the operations you rely on against your own instance."
    },
    {
      "id": "clients-list",
      "q": "Which AI clients can I use?",
      "a": "Any client that supports MCP over stdio or Streamable HTTP. The setup guide above lists the tested paths for Claude, ChatGPT and Codex, Copilot Studio, VS Code, Gemini, Cursor, Windsurf and JetBrains. Other clients can use the generic stdio or HTTP entries, or the REST wrapper."
    },
    {
      "id": "unreachable-503",
      "q": "It says 503 \"Polarion could not be reached\".",
      "a": "The server got no usable answer from Polarion. Read the `Polarion token probe GET /metadata failed` line in `docker logs polarion-mcp`. Check that `API_BASE_URL` is the full `/polarion/rest/v1` URL and reachable from the MCP container (not `localhost` inside Docker). Use the container-side probe in docs/troubleshooting.md. `/health` only confirms the MCP server runs."
    },
    {
      "id": "laptop-server",
      "q": "Can claude.ai or ChatGPT connect to a server on my own laptop?",
      "a": "The provider must reach the MCP endpoint over public HTTPS, so `http://localhost` does not work for claude.ai or ChatGPT. Polarion itself can stay private if the MCP container can reach it over your network or VPN. Desktop and command-line clients may use `http://localhost:3000/mcp`. Use a local stdio setup if you do not want to publish an endpoint."
    },
    {
      "id": "chatgpt-connector-vs-gpt",
      "q": "What is the difference between the ChatGPT connector and a Custom GPT?",
      "a": "The ChatGPT connector speaks MCP and everyone signs in with their own Polarion token. A Custom GPT uses the separate REST wrapper with one shared key (`HTTP_API_KEY`), so every call runs as the one Polarion user whose token the wrapper holds."
    },
    {
      "id": "certificate-public",
      "q": "Certificate errors: the public HTTPS address does not work.",
      "a": "For cloud connectors, ensure the MCP hostname resolves publicly, ports 80 and 443 reach the TLS proxy, and the certificate is valid for that hostname. Keep certificate verification enabled. A private Polarion hostname may still be used for the separate connection from the MCP container."
    },
    {
      "id": "certificate-polarion",
      "q": "My Polarion uses a company or self-signed certificate.",
      "a": "Keep TLS verification enabled. Mount the company CA PEM into the MCP container and set `NODE_EXTRA_CA_CERTS=/certs/ca.pem` (for example `-v /path/ca.pem:/certs/ca.pem:ro -e NODE_EXTRA_CA_CERTS=/certs/ca.pem`). For npm mode, set `NODE_EXTRA_CA_CERTS` in the client environment. This adds trusted roots without disabling certificate checks."
    },
    {
      "id": "pin-version",
      "q": "Should I use polarion-mcp@latest or a pinned version?",
      "a": "The plain `npx -y polarion-mcp` can keep using an older copy from npm's cache. `polarion-mcp@latest` checks the registry at every start and picks up new releases, which can change the tool list without notice. `polarion-mcp@1.6.1` always runs exactly that release. Teams should pin and upgrade on purpose. To force a refresh, switch to `@latest` or a newer pinned version and restart the client."
    },
    {
      "id": "update-docker",
      "q": "How do I update the Docker server?",
      "a": "Choose the new tag on the GitHub package page, then run `docker pull ghcr.io/phillipboesger/polarion-mcp:NEWTAG`, `docker rm -f polarion-mcp`, and the same `docker run` command with the new tag. Keep `MCP_TOKEN_SECRET` unchanged so users stay signed in. With a team URL the administrator updates the server and you only reconnect."
    },
    {
      "id": "unsupported-engine",
      "q": "It says \"Unsupported engine\" or the Node version is too old.",
      "a": "The package needs Node.js 22 or newer: `node -v` must print v22 or higher. Install the LTS from nodejs.org and open a new terminal; with nvm run `nvm install 22 && nvm use 22`. Desktop apps can use a different Node than your terminal, so install Node system-wide and fully restart the app. Docker avoids this because the image bundles Node 22."
    },
    {
      "id": "windows-npx",
      "q": "Windows: the client cannot start npx.",
      "a": "Typical symptoms are `spawn npx ENOENT` or a server that never starts. Use `cmd` as the command with the arguments `/c`, `npx`, `-y`, `polarion-mcp`, because npx is `npx.cmd` on Windows. Backslashes in JSON paths must be doubled (`C:\\\\path\\\\ca.pem`). Restart the app completely after every change."
    },
    {
      "id": "port-in-use",
      "q": "Port 3000 is already in use.",
      "a": "Change only the left number of the port mapping: `-p 127.0.0.1:3100:3000`, then use `http://localhost:3100/mcp` and set `MCP_ALLOWED_HOSTS=localhost:3100,127.0.0.1:3100`. Remove an old container with `docker rm -f polarion-mcp`. On macOS and Linux `lsof -i :3000` shows who uses the port; on Windows use `netstat -ano | findstr :3000`."
    },
    {
      "id": "rate-limit-429",
      "q": "It says 429 \"Too many requests\".",
      "a": "The server limits requests per address. Behind a proxy set `TRUST_PROXY=1`, otherwise all users share one counter, then wait 15 minutes for the window to reset. The REST wrapper has a fixed limit per 15 minutes."
    },
    {
      "id": "gemini-cli-replaced",
      "q": "Gemini CLI says it was replaced. Which tool should I use?",
      "a": "Google's page says Gemini CLI was replaced by Antigravity CLI on 18 June 2026 for no-cost-tier and Google One users. If your Gemini CLI still runs, for example with an API key or a company license, the steps in this guide work. Antigravity CLI has its own setup that this guide does not cover yet."
    },
    {
      "id": "windsurf-devin",
      "q": "Windsurf now says Devin. Which steps do I follow?",
      "a": "The vendor docs moved to docs.devin.ai and describe this configuration only for the legacy Cascade agent. If your tab uses the Devin Local agent, MCP servers are set up in Devin CLI config files, which this guide does not cover yet."
    },
    {
      "id": "request-rejected-400",
      "q": "The error says `request_rejected HTTP 400`.",
      "a": "Polarion or a proxy in front of it refused the hostname in `API_BASE_URL`. Use the address your users open in the browser. For the Polarion Docker image, add the name (for example `host.docker.internal`) to `ALLOWED_HOSTS` on the Polarion container and recreate it. See \"ALLOWED_HOSTS recipe\" in docs/troubleshooting.md. `MCP_ALLOWED_HOSTS` is a different setting."
    },
    {
      "id": "rest-disabled-404",
      "q": "Every call returns 404, or `/rest/v1` does not exist.",
      "a": "The REST API is not enabled or the path is wrong. Open `https://YOUR-POLARION/polarion/rest/v1/swagger-ui` in a browser; it must load. `API_BASE_URL` has to end in `/polarion/rest/v1`. Ask your Polarion administrator to enable the REST API if the page is missing."
    },
    {
      "id": "pat-disabled-or-expired",
      "q": "The PAT page says token generation is not allowed, or my token stopped working.",
      "a": "An administrator must set `com.siemens.polarion.rest.security.restApiToken.enabled=true` and restart Polarion before PATs exist. A token also stops working when it expires or is revoked. Create a new one and replace it in your client; never paste it into a chat."
    },
    {
      "id": "tool-limit",
      "q": "My client warns about too many tools (VS Code 128, Cursor, Windsurf 100).",
      "a": "The server lists two tools (`search`, `execute`) by default, so tool-count limits do not apply. Only `MCP_MODE=full` lists the 304-tool catalog; leave it unset. In VS Code you can also untick tools in the tools picker."
    },
    {
      "id": "org-mcp-policy",
      "q": "GitHub Copilot shows no MCP servers on Business or Enterprise.",
      "a": "The organization policy \"MCP servers in Copilot\" is off by default. An organization or enterprise owner must enable it in the Copilot policies. Free and Pro plans are not affected by this policy."
    },
    {
      "id": "corporate-proxy",
      "q": "My network needs a proxy to reach Polarion.",
      "a": "Set `HTTPS_PROXY` (for example `http://proxy.corp:3128`, credentials as `user:pass@` are allowed) and `NO_PROXY` (for example `.corp.example,localhost`) in the environment of the local server or the container. Only https:// Polarion URLs go through the proxy, using CONNECT. A 407 means the proxy credentials are wrong."
    },
    {
      "id": "self-hosted-no-tool-calls",
      "q": "My Ollama or other self-hosted model never calls the tools.",
      "a": "The model must support tool calling; many small models do not. Pick one that does, enable native function calling for it in Open WebUI, and make sure the MCP URL is reachable from the Open WebUI container (use the container name, not `localhost`)."
    }
  ],
  "githubStars": 6
}
