Connect Perfect Wiki to Gemini CLI, and Gemini reads your team's docs from the terminal and keeps them up to date.
How to connect
- Register the server:
gemini mcp add --transport http --scope user perfect-wiki https://api.perfectwiki.xyz/mcp - Start
geminiand run/mcp auth perfect-wiki. - Your browser opens Perfect Wiki: sign in, choose the knowledge bases and the access level, then click Allow access.
- Run
/mcpto see the Perfect Wiki tools, then ask something like "What does our on-call handbook say about paging?"
With an API token
gemini mcp add --transport http --scope user \
--header "Authorization: Bearer $PERFECT_WIKI_TOKEN" \
perfect-wiki https://api.perfectwiki.xyz/mcpGenerate the token in the Perfect Wiki settings of the knowledge base you want to expose. Each token covers one knowledge base and has read & write access.
Tip: Gemini CLI can also move your old wiki or a docs folder into Perfect Wiki: ๐ค Import with an AI agent (ChatGPT, Claude, Codexโฆ)