Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
gtm-api is a managed LinkedIn MCP server. It gives an AI agent one endpoint, three MCP tools and 160+ typed LinkedIn actions over the Model Context Protocol, so Claude, ChatGPT or Cursor can search, connect, message and enrich on a LinkedIn account you own, with account safety enforced server side.
This repository holds the public interface: what the server exposes, how to connect a client, and how the safety layer works.
A LinkedIn MCP server exposes LinkedIn actions as Model Context Protocol tools, so an AI agent calls them directly, the way a person would click through the UI. LinkedIn publishes no official API for invitations, member messages or open profile search, so a LinkedIn MCP server works through an account you own rather than through LinkedIn's developer platform.
Two shapes exist today. Cookie-driven open-source servers run a browser session with your own cookie and no pacing. Managed servers run each account in isolated infrastructure with limits enforced before every action. gtm-api is the second kind.
Any MCP-compatible client:
Not using MCP? Every tool is also a typed REST endpoint with webhooks. One schema generates all three surfaces.
1. Sign up. Create an account at app.gtm-api.com (forever free plan, no card) and connect a LinkedIn account. It opens in a dedicated anti-detect cloud browser with its own proxy.
2. Add the server to your MCP client. For Claude Desktop, edit claude_desktop_config.json (example in examples/):
There is no key to paste. The endpoint authenticates with OAuth: your client gets a WWW-Authenticate challenge on the first call, registers itself with the authorization server (dynamic client registration), and opens a consent page in your browser.
Headless clients can skip the browser. The same API key (gtm_live_...) that authenticates the REST API also works on this endpoint as a plain bearer token, which is what makes it usable from CI and servers:
For command-spawning clients, the launcher below reads the key from GTM_API_KEY instead (1.3.0 or newer; older pins ignore it and do OAuth only). Pick one mode per connection: with a key attached, the OAuth flow never starts. Interactive clients such as claude.ai connectors have no header field and always use OAuth. Full matrix: docs.gtm-api.com/mcp/connect.
Client can only spawn a command, not open a URL? The @gtm-api/linkedin-mcp launcher bridges stdio clients to the same endpoint and runs the same OAuth flow (config in examples/):
For Claude Code it is one line: claude mcp add --transport http gtm-api https://mcp.gtm-api.com/mcp.
The same launcher also ships as a Docker image, gtmapi/linkedin-mcp (config in examples/). Mount a volume on the token cache so the consent step runs once rather than on every container:
3. Restart the client and prompt in plain English:
"Every morning, accept new connection invitations from founders, reply with a short welcome, and add anyone hiring SDRs to a warm list."
The agent discovers the actions and chains them: fetch the latest connection invitations, accept the ones that match, send each new contact a short message. Every outward action runs a preview-then-confirm step and a server-side daily-limit check before it reaches LinkedIn.
The server exposes exactly three MCP tools. Discovery is progressive: an agent lists the toolsets, inspects one, then invokes an action. The 160+ LinkedIn actions never load into the model's context at once, so the schema footprint stays around 400 tokens.
call_tool validates arguments against the target action's own input schema, so preview-then-confirm, rate limits and typed errors apply exactly as if the action were mounted directly.
160+ typed actions across 11 LinkedIn toolsets, grouped here into seven areas:
| Toolset | What it covers |
|---|---|
| Messaging | member messages, voice notes, InMail, Sales Navigator chats, inbox search and sync |
| Network | connection requests, accept or ignore invitations, withdraw, connections and followers |
| Content | track posts and metrics, comment, react, get engagers and commenters |
| Enrichment | lite and full profile, experience, skills, education, company data |
| Search | people, company and post search, similar profiles, employees, decision-makers, saved searches |
| Account health | smart limits, health snapshots, quota-hit, block and activity logs |
| Infrastructure | anti-detect cloud browsers, dedicated proxies, webhooks |
The same endpoint also serves the account, billing and orchestration toolsets, 250+ typed actions in total. This repo documents the LinkedIn half.
LinkedIn is the live channel today. Email (Gmail, Outlook, IMAP), messengers (WhatsApp, Telegram, Instagram DMs) and calendars (Google, Microsoft) are on the roadmap on the same typed contract.
Safety is enforced by the server itself, under every tool call. Six mechanisms:
On this setup, gtm-api reports 20,000+ LinkedIn accounts at under a 1% ban rate. Full method: gtm-api.com/safe-linkedin-automation.
Cookie-driven servers such as stickerdaniel/linkedin-mcp-server run a browser session with your own LinkedIn cookie and leave pacing to you: the project's README documents the cookie login flow and lists no rate limiting. Apify's LinkedIn actors are a different shape, hosted scrapers priced per result and focused on pulling data out.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gtm-api-linkedin-mcp-server)<a href="https://allmcps.com/mcp/gtm-api-linkedin-mcp-server"><img src="https://allmcps.com/api/badge/gtm-api-linkedin-mcp-server?style=directory" alt="GTM API: LinkedIn MCP Server on AllMCPs" /></a>