Google Gemini logo Setup guide · about 2 minutes

Connect LinkedIn to Gemini

One command in Gemini CLI. OAuth is discovered automatically, so there is no key to create and nothing to paste but the endpoint.

Create a free account

The whole setup

gemini mcp add --transport http blabigo https://studio.blabigo.ai/api/mcp/linkedin

Gemini CLI registers the server over streamable HTTP, then discovers Blabigo's OAuth configuration from the endpoint itself — it detects the 401, finds the authorization server, registers dynamically and runs the flow.

The four steps

  1. 1

    Create a Blabigo account and connect LinkedIn

    Sign up free, then connect your LinkedIn profile and any company Pages you manage from the dashboard. You authorize Blabigo against your own account through LinkedIn's normal consent screen. Gemini never handles your LinkedIn credentials, because it never sees them.

  2. 2

    Add the server to Gemini CLI

    One command registers Blabigo as an MCP server over streamable HTTP. Add --scope project if you want it available only inside the current directory rather than for your user.

  3. 3

    Authenticate

    Blabigo publishes OAuth discovery metadata, and Gemini CLI detects it: on the first 401 it finds the endpoints, registers itself dynamically and runs the flow. If it does not prompt you automatically, run /mcp auth blabigo to start it. No API key is created.

  4. 4

    Check the tools are there

    Run /mcp list to confirm Blabigo is connected and see the tools it exposes, then ask Gemini to list your connected LinkedIn accounts. Getting your profile and Pages back exercises authentication, scope resolution and the LinkedIn API in a single call.

Or edit the config yourself

In ~/.gemini/settings.json for your user, or .gemini/settings.json inside a project:

{
  "mcpServers": {
    "blabigo": {
      "httpUrl": "https://studio.blabigo.ai/api/mcp/linkedin"
    }
  }
}

httpUrl is streamable HTTP; url is SSE. Blabigo speaks the former, and using the wrong field is the usual reason a hand-written config does not connect.

Fallback: run it locally over stdio

If you would rather hold an API key than run a browser flow, create one in the dashboard and use the CLI as a local MCP server instead:

{
  "mcpServers": {
    "blabigo": {
      "command": "npx",
      "args": ["-y", "@blabigo/cli", "mcp"]
    }
  }
}

What to ask once it is connected

  • “List my connected LinkedIn accounts.”
  • “How did my posts perform over the last 30 days? Which one got the most impressions?”
  • “Draft a post from these release notes and queue it for Thursday at 9am.”
  • “Show me everything scheduled for next week, and flag anything that overlaps in topic.”

When it does not work

The server shows as disconnected

Check you registered the endpoint itself rather than a documentation page — it ends in /api/mcp/linkedin. Discovery runs against the endpoint, so a URL pointing anywhere else has no OAuth metadata to find.

It never prompts you to sign in

Run /mcp auth blabigo to start the flow by hand. The same command re-authenticates when a token expires, which is the fix when calls that used to work start failing.

You used the wrong transport field

In settings.json, httpUrl is streamable HTTP and url is SSE. Blabigo speaks streamable HTTP, so httpUrl is the field you want; putting the endpoint in url will not connect.

Gemini can read analytics but not posts

That is scopes behaving correctly — the grant you approved covers analytics only. Re-run authentication to be prompted for the content scopes as well.

What Gemini can and cannot do once connected

It can list your accounts, read post and account analytics, refresh metrics, list and read posts, create and edit drafts, queue them, reschedule, cancel and archive. It cannot publish immediately and it cannot delete anything — those tools do not exist, for any client.

The full guardrails →

Frequently asked questions

How do I connect LinkedIn to Gemini?
Create a Blabigo account and connect your LinkedIn profile to it, then run `gemini mcp add --transport http blabigo` with Blabigo's MCP endpoint. Gemini CLI discovers the OAuth configuration automatically and walks you through signing in. After that the LinkedIn tools are available in your Gemini session.
Does Gemini support MCP servers?
Gemini CLI does. It supports stdio, SSE and streamable HTTP transports, configured either with the `gemini mcp add` command or by editing the mcpServers block in ~/.gemini/settings.json. It also supports OAuth 2.0 for remote servers, including discovering the configuration from the server rather than being told it.
Can Gemini post to LinkedIn?
It can draft a post and place it on your queue for a future time. It cannot publish — Blabigo's scheduler publishes at the scheduled time, and no tool in the integration reaches LinkedIn on demand. So Gemini can write and queue, while you keep the last look before anything goes out.
Where is the Gemini CLI settings file?
At ~/.gemini/settings.json for your user, or .gemini/settings.json inside a project for a project-scoped server. The `gemini mcp add` command writes to the user scope by default; pass --scope project to write the project one instead.
What is the difference between httpUrl and url in the config?
They select the transport. httpUrl is streamable HTTP and url is SSE. Blabigo's endpoint speaks streamable HTTP, so it belongs in httpUrl — this is the most common reason a hand-edited config fails to connect.
Does this work in the Gemini app as well as the CLI?
This guide covers Gemini CLI, which has documented MCP support and is the reliable path today. Support for custom MCP servers in Google's consumer and Workspace Gemini surfaces has been moving, so rather than describe a menu that may have changed, we would suggest checking Google's current documentation — the endpoint URL is the same wherever you end up adding it.

More on AI and LinkedIn

AI & Agents

The hub for everything Blabigo publishes about AI agents, the Model Context Protocol, and automating LinkedIn without handing over your feed.

Read more →

LinkedIn MCP server

The endpoint, all 13 tools, the three OAuth scopes, and the two ways to authenticate. Start here if you want the technical picture.

Read more →

Connect to Claude

A two-minute setup walkthrough for Claude Desktop, Claude Code and any config-file client — plus what to do when the connection fails.

Read more →

Scheduling with AI

The draft → review → queue loop, the prompts that make it work, and why an agent that queues beats an agent that publishes.

Read more →

Analytics for agents

Read-only access to impressions, clicks and engagement, so you can ask your assistant what actually worked instead of exporting spreadsheets.

Read more →

Agent guardrails

The written safety contract: no instant publish, no delete tool, hard server-side quotas, and an audit trail per credential.

Read more →

LinkedIn API alternative

Why LinkedIn's own API is hard to get, what you can and cannot do without partner access, and how to ship without waiting on an approval queue.

Read more →

MCP vs Zapier & n8n

Where trigger-action automation is the right tool, where a conversational agent is, and why the answer is usually both.

Read more →

Connect to ChatGPT

Custom connectors, what ChatGPT supports today, and the fallback path when your plan does not offer them.

Read more →

Claude Code & CLI

For developers: the MCP transport, the CLI, exit codes, idempotency keys, and shipping release notes from CI.

Read more →

One command away

Free account, connect LinkedIn, run one line in Gemini CLI.

Start free

Blabigo is an independent product, not affiliated with, authorized by, endorsed by or sponsored by LinkedIn Corporation, Microsoft or Google. “LinkedIn” and “Gemini” are trademarks of their respective owners, and their logos are used here only to identify the services this software works with. Gemini CLI's configuration format and MCP support are Google's to change.