VS Code (with GitHub Copilot Chat)
Requires VS Code 1.101+ with GitHub Copilot Chat installed. Start without a token so VS Code can use its native auth flow; fall back to a token only if needed.
Open the config
Section titled “Open the config”In VS Code, open the Command Palette and run MCP: Open User Configuration, or edit the file directly:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Code/User/mcp.json |
| Windows | %APPDATA%\Code\User\mcp.json |
| Linux | ~/.config/Code/User/mcp.json |
{ "servers": { "popcorn": { "type": "http", "url": "https://api.popcorn.co/mcp" } }}When VS Code asks you to sign in or approve access, choose the browser-based flow.
First, generate a security token.
{ "inputs": [ { "type": "promptString", "id": "popcorn-key", "description": "Popcorn API key", "password": true } ], "servers": { "popcorn": { "type": "http", "url": "https://api.popcorn.co/mcp", "headers": { "Authorization": "Bearer ${input:popcorn-key}" } } }}