Connect Perfect Wiki to GitHub Copilot CLI, and Copilot reads your runbooks, specs and conventions from the terminal, and updates them when things change.
How to connect
- Run the command below, or type
/mcp addinside a Copilot session for the interactive flow:copilot mcp add --transport http perfect-wiki https://api.perfectwiki.xyz/mcp - Start
copilotand ask something that needs your wiki. Follow the sign-in prompt the first time the server is used. - Sign in to Perfect Wiki, choose the knowledge bases and the access level, then click Allow access.
- For a single repository, put the server in
.mcp.jsonor.github/mcp.jsoninstead of the user-wide config.
With an API token
copilot mcp add --transport http perfect-wiki https://api.perfectwiki.xyz/mcp \
--header "Authorization: Bearer $PERFECT_WIKI_TOKEN"Generate 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: Copilot CLI can also move your old wiki or a docs folder into Perfect Wiki: ๐ค Import with an AI agent (ChatGPT, Claude, Codexโฆ)