Connect LinkedIn (through Unipile) to Gemini

Supported. API key

What you need:

Plan: Gemini CLI on your computer.

  1. Create a Unipile account. It is paid, from 49 EUR a month for up to 10 accounts, with a 7 day free trial.
  2. Connect your LinkedIn in Unipile, on Unipile's hosted sign in page.
  3. Make a scoped API key in Unipile. Keep it in Unipile and your app's secret store only.
  4. 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.
  5. 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.

Want this built for you? Get it built.