Connect Perfect Wiki to Visual Studio, and GitHub Copilot in agent mode reads and updates your team's docs while you work on the solution.
How to connect
- Create
%USERPROFILE%\.mcp.jsonto use Perfect Wiki in every solution, or<solution>\.mcp.jsonfor one solution. - Add a
perfect-wikientry underservers. Alternatively, open Copilot Chat โ Agent mode โ Tools โ + to add a custom MCP server.{ "servers": { "perfect-wiki": { "url": "https://api.perfectwiki.xyz/mcp" } } } - Click the Authentication Required CodeLens above the server and choose Authenticate. Sign in to Perfect Wiki and click Allow access.
- In Copilot Chat, switch to Agent mode and make sure the perfect-wiki tools are enabled.
Visual Studio also reads .vs\mcp.json and .vscode\mcp.json in the solution folder, so a config shared with VS Code users works too. Sign-in uses OAuth, so nothing secret goes in the file.
Tip: Copilot agent mode 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 ยท Visual Studio MCP docs