Connect LinkedIn (through Unipile) to Gemini
Supported. API key
What you need:
- Gemini CLI
- A Unipile account (paid, from 49 EUR a month, 7 day free trial)
- Your account linked in Unipile
- A scoped Unipile API key, saved in the app's secret store or connector screen
Plan: Gemini CLI on your computer.
- Create a Unipile account. It is paid, from 49 EUR a month for up to 10 accounts, with a 7 day free trial.
- Connect your LinkedIn in Unipile, on Unipile's hosted sign in page.
- Make a scoped API key in Unipile. Keep it in Unipile and your app's secret store only.
- In ~/.gemini/settings.json, add a server with "httpUrl": "https://developer.unipile.com/mcp?branch=v2.0" and a header X-API-KEY set to your key. The key goes in this file, never in a chat.
- Start Gemini CLI and run /mcp to check it.
Test it: Ask: list my 10 newest LinkedIn chats. Don't send anything.
What it can do: Read and send LinkedIn messages for the account you link in Unipile.
What it can't do: It can send, so ask read questions first and approve each send.
This uses Gemini CLI, not the Gemini app. Unipile documents Gemini CLI.
From unipile.com and developer.unipile.com and developer.unipile.com. Last checked Oct 28, 2026.
Never paste an API key into a chat. Use the app's connector screen.
LinkedIn (through Unipile) with another AI: ChatGPT · Claude · Claude Code · Grok Bot · Copilot
All tools for Gemini · Every AI and tool
Don't see your work here?
Tell me what you do every day, and I'll make guides and prompts for it.
Got it. Thank you. I read every request.