Editor Setup
Connect CodeWiki MCP to VS Code or Claude Desktop.
VS Code — Command Palette (recommended)
The fastest way to add CodeWiki MCP to VS Code:
- Open the Command Palette — press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(macOS) - Type MCP and select MCP: Add Server
- Choose Command (stdio) as the server type
- Enter the command:
codewiki-mcp - Enter a server ID — e.g.
codewikiMcpNaming convention VS Code recommends camelCase for server IDs — no spaces or special characters. - Select a configuration scope:
- User (Global) — available across all VS Code workspaces. Saved in your global user
mcp.json. - Workspace — available only in the current workspace. Saved in
.vscode/mcp.json(great for sharing with your team via source control).
- User (Global) — available across all VS Code workspaces. Saved in your global user
- VS Code creates and opens the
mcp.jsonfile — click Start above the server name to launch it - When prompted, confirm that you trust the server
Tip
Use MCP: List Servers from the Command Palette to start, stop, restart, or view logs for any configured server.
VS Code — Manual JSON Config
Alternatively, create or edit .vscode/mcp.json in your workspace root:
{
"servers": {
"codewikiMcp": {
"type": "stdio",
"command": "codewiki-mcp"
}
}
}
After saving, VS Code should detect the server. Click Start in the code lens above the server entry, or use MCP: List Servers > Start Server.
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"codewiki": {
"command": "codewiki-mcp"
}
}
}
Using MCP Tools in Chat
Once the server is running, open GitHub Copilot Chat in Agent mode. The 4 CodeWiki tools will appear in the tool picker.
You can also reference tools directly in your prompt by typing # followed by the tool name.
Example prompt
"Using CodeWiki, explain the architecture of
microsoft/vscode"
Troubleshooting
Server not starting?
- Verify
codewiki-mcpis on your PATH: runcodewiki-mcp --helpin a terminal - Check the MCP output log: MCP: List Servers > select the server > Show Output
- If using Docker, don't use the
-d(detach) flag — the server must run in the foreground
Reset trust
If you need to re-authorize the server, run MCP: Reset Trust from the Command Palette.
Next Steps
Learn about the available tools → Tools Reference