Connect an app · GitHub Copilot agent mode

Connect VS Code to Putcode

Add Putcode as an MCP server in VS Code and use it from Copilot Chat in agent mode.

https://putcode.dev/mcp

What you need

  • VS Code with GitHub Copilot Chat. In an organization, an admin may need to allow MCP servers.

Add Putcode

  1. Open the Command Palette and run MCP: Add Server.
  2. Choose HTTP, paste https://putcode.dev/mcp, name it putcode, and pick whether it's for you (global) or this workspace.
  3. VS Code opens your browser the first time it starts Putcode. Sign in, choose permissions and select Allow.

Or by hand in .vscode/mcp.json. VS Code uses servers, not mcpServers:

{
  "servers": {
    "putcode": {
      "type": "http",
      "url": "https://putcode.dev/mcp"
    }
  }
}

In mcp.json, the Start and Auth links above the server let you restart Putcode or sign in again.

Check it works

In Copilot Chat, switch to Agent mode, check Putcode is on in the tools picker, and ask: "Use Putcode to show my profile." The agent calls get_my_profile and replies with your username, plan and the permissions you gave it.

Then try: "Save this button to Putcode", "Find a pricing table in my Putcode snippets", or "Fork the orbit loader on Putcode and make it blue". New snippets are private drafts until you publish them.

Troubleshooting

Copilot doesn't use Putcode.
Agent mode only. Open the tools picker in the chat box and turn Putcode's tools on.
The agent says a plan limit was reached.
Free accounts hold up to 100 public and 10 private or unlisted snippets. See pricing.
I want to disconnect an app.
Revoke it in Agents & MCP. Its access stops right away.
Publishing waits for approval.
That's your publish setting. Approve requests from your dashboard, or switch to "Publish right away" and give the app the publish permission.

More

Every tool, permission and limit is in the MCP server reference. Manage connected apps and tokens in Agents & MCP. Using another app? See all apps.