Skip to main content
VS Code Copilot speaks MCP over streamable HTTP. The config file is not Cursor’s mcp.json. VS Code uses a servers object, and each remote entry needs "type": "http". This page is the VS Code editor. GitHub Copilot CLI (copilot mcp add, ~/.copilot/mcp-config.json) is a different product. Use Any MCP client for that CLI.
You need your PostQueen API key first. In the app at app.postqueen.ai, open Settings → API Keys and click Reveal.

Option A: Command Palette

1

Add the server

Open the Command Palette, run MCP: Add Server, choose HTTP, and name it postqueen. Pick Workspace (writes .vscode/mcp.json) or Global (user mcp.json).
2

Paste the URL

Use the streamable HTTP URL with your API key in the path:
3

Trust and start

VS Code asks you to trust the server before it starts. After it starts, Copilot Chat lists the 14 tools.

Option B: mcp.json

Two locations:
  • Workspace: .vscode/mcp.json in the project. Safe to commit only if the key is an input variable, not a literal.
  • User profile: MCP: Open User Configuration. Servers here apply to every workspace.
Do not paste a Cursor { "mcpServers": { "postqueen": { "url": "..." } } } block into this file. VS Code will not read mcpServers. Official reference: Add MCP servers in VS Code and the MCP configuration schema.
Your API key can post to every account you have connected. If you put it in a workspace .vscode/mcp.json, keep that file out of version control. If the key leaks, regenerate it in Settings → API Keys and update every client that uses it.

Self-hosted

Replace https://api.postqueen.ai with your NEXT_PUBLIC_BACKEND_URL:
Most self-hosted setups serve the backend under /api. Your reverse proxy has to forward /mcp and stream the response: MCP on a self-hosted install.

Verify

Open Copilot Chat in agent mode and ask:
“List my connected social media accounts”
Your channel names come back when the agent calls integrationList. If it fails, check that the server is enabled under MCP: List Servers, that mcp.json saved with "servers" and "type": "http", and that the API key was pasted in full.