Gemini CLI
Add the server to Gemini CLI's settings with your key in a header.
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 server to ~/.gemini/settings.json as below.
- 2Start Gemini CLI from a shell where SOCIALYFY_API_KEY is set, and run /mcp to check it.
- 3Ask in Gemini CLI.
~/.gemini/settings.json
{
"mcpServers": {
"socialyfy": {
"httpUrl": "https://console.socialyfy.com/mcp",
"headers": { "Authorization": "Bearer ${SOCIALYFY_API_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.