VS Code and GitHub Copilot
Add PostChamp to GitHub Copilot in VS Code, or to the Copilot CLI.
Add PostChamp to GitHub Copilot in VS Code, or to the Copilot CLI. The connection URL is the same for every client:
https://api.postchampai.com/api/v1/mcp
https://api.postchampai.com/api/v1/mcpBefore you start
- VS Code with GitHub Copilot.
- If your organization manages Copilot, its policy must allow MCP servers. Otherwise the option is greyed out.
- A PostChamp account on a plan that includes assistants, with the owner or admin role in the workspace you want to share. See Authentication.
Connect VS Code and GitHub Copilot
One-click install link. It opens VS Code and GitHub Copilot with the server filled in.
Choose Add to VS Code above and confirm in VS Code.
Or do it by hand: run Chat: Open Customizations, choose MCP Servers, then Add Server (+) in the User group. Pick HTTP, enter
https://api.postchampai.com/api/v1/mcp, give it the IDpostchamp, and choose Global. You can also run MCP: Add Server from the Command Palette.Review the trust prompt and accept it.
Start the server. VS Code opens the PostChamp sign-in. Sign in, choose the workspaces to share and approve.
In Copilot Chat, switch to Agent mode and ask for something to check that the tools run.
Command line
copilot mcp add --transport http postchamp https://api.postchampai.com/api/v1/mcp
copilot mcp add --transport http postchamp https://api.postchampai.com/api/v1/mcpCheck the connection
Ask:
Use PostChamp to list my workspaces.
Use PostChamp to list my workspaces.This reads your workspaces, costs nothing and changes nothing. Then try one of these:
- Plan next week: three posts, one on each of my main topics. Show me the plan before you schedule anything.
- Write a LinkedIn post about what I learned from my last client project, in my voice.
- Check my newest draft for filler and weak lines, then suggest fixes.
- How did my posts do over the last 30 days? What worked best?
Disconnect
- In VS Code, open Chat: Open Customizations, choose MCP Servers and remove or stop the server.
- In PostChamp, open Settings and choose Assistants to disconnect it. The change applies on the next request.
Troubleshooting
Your organization policy for Copilot blocks MCP servers. Ask an admin to allow them.
Use the guided steps above. In some Insiders builds, add the server manually.
Use Agent mode. Chat in Ask mode does not call tools.
Only owners and admins of a workspace can connect an assistant to it, and the plan must include assistants. Sign in with an account that has that role. Check the account in Settings, Members.
FAQ
No. PostChamp signs in with OAuth in your browser, so there is no key to paste. VS Code advises against putting credentials in shared configuration.
A workspace file can hold the server entry, but each person signs in with their own PostChamp account.
Related
- How sign-in, consent and revocation work.
- Every tool the assistant can call.