Connector guide2-minute read5 MCP tools7 languages

Connect LinkedIn to Gemini CLI via MCP

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

HCBy HelpCode teamUpdated 2 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

LinkedIn

LinkedIn

Post to LinkedIn as the signed-in member and read their basic profile: create and delete posts, register image uploads. Uses a member access token from the LinkedIn developer portal. Reading posts and company pages needs LinkedIn's approval of the app. 5 tools.

tools

5

Region

INTL

Category

Social Media

Authentication

Bearer Token

Required env vars

LINKEDIN_ACCESS_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

Guided setup

Connect LinkedIn to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect LinkedIn in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for LinkedIn

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

LinkedIn · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → LinkedIn, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

LinkedIn + Gemini

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

LINKEDIN_ACCESS_TOKEN

Step 1 — Get credentials

HEAVY GATING: LinkedIn's API is one of the most restricted public APIs. Most useful endpoints (read posts, search profiles, fetch connections, manage company pages) require Marketing Developer Platform approval from LinkedIn — a partnership program with significant requirements (existing app + revenue commitments).

What WORKS without partnership:

  • 'Sign in with LinkedIn using OpenID Connect' product scopes: openid, profile, email, w_member_social (post on behalf of user).

…(continued in the in-app connector instructions)

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (or %APPDATA%\gemini\settings.json on Windows). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Get your MCP API key from AnythingMCP → MCP Servers → your server → API keys.
  2. Save the file and restart gemini.
  3. Run /mcp inside the Gemini CLI — LinkedIn should be listed as available.
  4. Vertex AI Studio: pass https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID to the tools array of your request with the same X-API-Key header.

Available tools

ToolWhat it does
linkedin_userinfoGet the authenticated user's profile (OpenID Connect userinfo endpoint)
linkedin_create_postShare a text or article post on behalf of the user
linkedin_get_postGet a previously-created post by URN (you can only fetch posts you authored unless you have higher-tier scopes)
linkedin_delete_postDelete a post you authored
linkedin_register_image_uploadStep 1 of image upload: register an upload

FAQ

Does Gemini 1.5 Pro or 2.x support MCP? Yes — Gemini CLI ≥ 0.4 and Vertex AI tools API both accept MCP httpUrl connectors with custom headers.

Next steps

Was this guide helpful?

Connect LinkedIn to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect LinkedIn in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

Related guides

Connectors

Connect LinkedIn to Microsoft Copilot via MCP

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

Connectors

Connect LinkedIn to Meta Muse via MCP

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

Connectors

Connect LinkedIn to Claude via MCP: Profile and Posts

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

Connectors

Connect LinkedIn to Cursor via MCP: Profile and Posts

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

Connectors

LinkedIn MCP Server: Profile and Posts

Drive LinkedIn (profile + shared posts) for the authenticated user from any AI agent. Limited scope: most LinkedIn features require Marketing Developer Platform approval. 5 tools, OAuth2 Bearer auth.

Connectors

Connect iiko to Gemini CLI via MCP: Orders and Menus

iiko and Syrve restaurant management through the iikoCloud API (Syrve Cloud API): organizations and terminal groups, menu and external menus, stop lists, delivery and table orders, reservations, couriers, order and payment types, discounts and loyalty customers. API login from the web back office.