Visual Studio Integration

Updated today

โ€ข

1 min read

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

  1. Create %USERPROFILE%\.mcp.json to use Perfect Wiki in every solution, or <solution>\.mcp.json for one solution.
  2. Add a perfect-wiki entry under servers. Alternatively, open Copilot Chat โ†’ Agent mode โ†’ Tools โ†’ + to add a custom MCP server.
    {
      "servers": {
        "perfect-wiki": {
          "url": "https://api.perfectwiki.xyz/mcp"
        }
      }
    }
  3. Click the Authentication Required CodeLens above the server and choose Authenticate. Sign in to Perfect Wiki and click Allow access.
  4. 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

Was this page helpful?