Prerequisites
- VS Code with the GitHub Copilot extension installed
- Copilot agent mode enabled
- A TryPost Cloud account with an active trial or subscription (no card required to start)
Setup (IDE agent mode)
Create the MCP configuration file
In your project root, create or edit No
.vscode/mcp.json:Authorization header — Copilot uses VS Code’s MCP layer, which discovers OAuth from the URL.Sign in through your browser
Open Copilot Chat in agent mode. VS Code prompts you to sign in to TryPost. Approve the request in the browser and the server flips to Connected.
Copilot coding agent (cloud) — Bearer required
GitHub’s coding agent (the one that runs on GitHub’s infrastructure to handle issues and PRs) does not yet support OAuth for remote MCP servers. To use TryPost there, you must use a Personal Access Token. In your repository’s Settings → Copilot → Coding agent → MCP servers, add a JSON entry like:TRYPOST_API_KEY to the repo’s Copilot agent secrets (not regular Actions secrets). Issue the key from Settings > API Keys on the TryPost dashboard.

