Connect HelpDocs to VS Code
Connect VS Code to HelpDocs via MCP so Copilot can read and manage your Knowledge Base from your editor. Add the server, authorize, and choose which actions need approval.
Model Context Protocol (MCP) lets you connect Visual Studio Code to your HelpDocs account so Copilot can read, search, and work with your Knowledge Base content directly from your editor. This guide shows you how to set up the connection with VS Code and what you can do with it.
Connecting VS Code to HelpDocs MCP
- Open the Command Palette with
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux) - Run MCP: Add Server
- Choose HTTP as the server type
- Paste in the HelpDocs MCP URL below, then press Enter
https://β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’β’
- Enter HelpDocs as the server name
- Choose Global to use HelpDocs in every project, or a workspace option to add it to the current project only
- Confirm you trust the server, then follow the authorization flow to give VS Code access to your Knowledge Base
Once authorization is complete, the HelpDocs tools show up in Copilot Chat. Ask Copilot to use HelpDocs and it can pull your Knowledge Base in alongside your code π
Adding HelpDocs with mcp.json
Want to commit the config so your whole team gets it? Create .vscode/mcp.json in your project and add HelpDocs to the servers object:
{
"servers": {
"helpdocs": {
"type": "http",
"url": "https://api.helpdocs.io/v1/mcp"
}
}
}Save the file and VS Code picks up the new server. Each person still authorizes with their own HelpDocs login the first time they use it, so no credentials end up in your repo.
~/.copilot/mcp-config.json) uses the same entry, but its top-level key is mcpServers instead of servers. Copying one into the other without changing the key is the most common reason a server doesn't appear.Setting Up Tool Permissions
You can control exactly which HelpDocs actions Copilot has access to. In the Chat view, click Configure Tools in the chat input to see every tool the HelpDocs server provides, then switch individual tools on or off.
By default, VS Code asks you to confirm each tool call before it runs. You can approve a single call, or allow that tool for the rest of the session or workspace.
Actions Available to Copilot
Here's everything the connection can do, grouped by what you'd use it for. Read actions only look at your content. Write actions change it, so those are the ones worth keeping on manual confirmation.
What you want to do | Actions | Read or write |
Search and read your content |
| Read |
See how your content is performing |
| Read |
Check who has access to what |
| Read |
Draft something new |
| Write |
Edit content you already have |
| Write |
Push edits live |
| Write |
Remove content |
| Write |
Recover something deleted |
| Read and write |
What You Can Ask Copilot to Do
Copilot can use your Knowledge Base alongside your codebase, which makes it handy for keeping docs in step with what you ship. A few examples:
Have we covered the new export feature in our HelpDocs yet?I just changed the API endpoint in this file. Check whether any HelpDocs articles mention the old oneCreate a draft HelpDocs article for this feature based on the implementationTroubleshooting
Run MCP: List Servers, select HelpDocs, and choose Show Output to see the server logs. The same list lets you start, stop, and restart the server.
- No HelpDocs tools in Copilot. The server may not have started. Check you accepted the trust prompt, then restart it from MCP: List Servers
- Nothing happened after a config change. Restart the server so VS Code discovers its tools again
- Trust prompt never appeared. Run MCP: Reset Trust, then start the server again
What did you think of this doc?
Connect HelpDocs to Cursor
Using an API Key with HelpDocs MCP