GitHub Copilot
GitHub Copilot in VS Code reads MCP servers from the workspace. VS Code asks for the key once and stores it securely.
Set up
Create an API key on the Access page with the permissions this agent should have, and set it where the agent runs:
Terminal
export SOCIALYFY_API_KEY=sfk_…- 1Add the file below to your project.
- 2Start the server from the file and paste your key when VS Code asks.
- 3Ask Copilot in agent mode.
.vscode/mcp.json
{
"inputs": [
{ "type": "promptString", "id": "socialyfy-key", "description": "Socialyfy Console API key", "password": true }
],
"servers": {
"socialyfy": {
"type": "http",
"url": "https://console.socialyfy.com/mcp",
"headers": { "Authorization": "Bearer ${input:socialyfy-key}" }
}
}
}The key's permissions decide what the agent can do. To cut the agent off, revoke the key on the Access page.
Browser sign-in, with no key to copy, comes with the Console's own sign-in.
Try it
Ask for something small first: “List my connected accounts.” Your agent should answer with the accounts on your Accounts page.