Cline Integration

Updated today

โ€ข

1 min read

Connect Perfect Wiki to Cline, and it checks your team's conventions and specs before it writes code. Cline connects with an API token.

How to connect

  1. Generate an API token in the Perfect Wiki settings of the knowledge base Cline should use.
  2. In Cline, click the MCP Servers icon, open the Remote Servers tab and enter the name perfect-wiki, the URL https://api.perfectwiki.xyz/mcp and the transport Streamable HTTP. Click Add Server.
  3. The form has no headers field, so open cline_mcp_settings.json and add the Authorization header with your token:
    {
      "mcpServers": {
        "perfect-wiki": {
          "type": "streamableHttp",
          "url": "https://api.perfectwiki.xyz/mcp",
          "headers": { "Authorization": "Bearer <your-api-token>" },
          "disabled": false,
          "autoApprove": []
        }
      }
    }
  4. Ask Cline something like "Check Perfect Wiki for our logging conventions."

Keep "type": "streamableHttp". Each token covers one knowledge base and has read & write access. Add tool names such as ask to autoApprove to skip the confirmation prompt for read-only calls.

Tip: Cline can also move your old wiki or a docs folder into Perfect Wiki: ๐Ÿค– Import with an AI agent (ChatGPT, Claude, Codexโ€ฆ)

More: ๐Ÿ”Œ Perfect Wiki MCP Server ยท Cline MCP docs

Was this page helpful?