No install? Use cloud.anythingmcp.com directly.
Sign in, install the LinkedIn in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
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.
💡 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
microsoft.com/en-us/linkedin/).
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
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
Step 3 — Add the connector in Gemini
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",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- Get your MCP API key from AnythingMCP → Profile → MCP API Keys → New Key.
- Save the file and restart
gemini. - Run
/mcpinside the Gemini CLI —LinkedInshould be listed as available. - Vertex AI Studio: pass
https://cloud.anythingmcp.com/mcpto thetoolsarray of your request with the same Bearer header.
Available tools
| Tool | What it does |
|---|---|
linkedin_userinfo | Get the authenticated user's profile (OpenID Connect userinfo endpoint) |
linkedin_create_post | Share a text or article post on behalf of the user |
linkedin_get_post | Get a previously-created post by URN (you can only fetch posts you authored unless you have higher-tier scopes) |
linkedin_delete_post | Delete a post you authored |
linkedin_register_image_upload | Step 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 Bearer headers.
Next steps
Was this guide helpful?