Kiro Integration

Updated today

โ€ข

1 min read

Connect Perfect Wiki to Kiro, and its agent reads your requirements and specs from the wiki in the IDE and the Kiro CLI.

How to connect

  1. Open the Command Palette and run Kiro: Open user MCP config (JSON), or create .kiro/settings/mcp.json in your workspace.
  2. Add the perfect-wiki server and save. The file is shared by the IDE and Kiro CLI; kiro-cli mcp add has no URL flag, so edit the JSON directly.
    {
      "mcpServers": {
        "perfect-wiki": {
          "url": "https://api.perfectwiki.xyz/mcp"
        }
      }
    }
  3. Kiro opens the Perfect Wiki sign-in in your browser: choose the knowledge bases and the access level, then click Allow access. In the CLI, /mcp auth signs you in again.
  4. Try it: "Summarize our onboarding requirements from Perfect Wiki."

With an API token

{
  "mcpServers": {
    "perfect-wiki": {
      "url": "https://api.perfectwiki.xyz/mcp",
      "headers": { "Authorization": "Bearer ${PERFECT_WIKI_TOKEN}" }
    }
  }
}

Kiro only expands ${PERFECT_WIKI_TOKEN} if the variable is approved under Settings โ†’ "Mcp Approved Env Vars". The token covers one knowledge base and has read & write access.

Tip: Kiro 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 ยท Kiro MCP docs

Was this page helpful?