GTM API: LinkedIn MCP Server
About
Managed LinkedIn MCP server for AI agents - search, connect, message & enrich on LinkedIn from Claude, ChatGPT or Cursor. 20,000+ accounts at x3C1% ban.
Details
- Author
- gtm-api
- Categories
- Marketing, Other, AI, Search, Knowledge Base
Jump to
Setup
Install GTM API: LinkedIn MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/gtm-api/linkedin-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
Managed LinkedIn MCP server for AI agents - search, connect, message & enrich on LinkedIn from Claude, ChatGPT or Cursor. 20,000+ accounts at <1% ban.
gtm-api is a managed LinkedIn MCP server. It gives an AI agent one endpoint, three MCP tools and 160+ typed LinkedIn actions over theModel 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 noofficial APIfor invitations, member messages or open profile search, so a LinkedIn MCP server works through an account you own rather than throughLinkedIn's developer platform.
- Claude(Desktop, Code, and the API)
- Cursor
- ChatGPT(via connectors)
- LangChain,n8n, and custom agent runtimes
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 atapp.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, editclaude_desktop_config.json(example inexamples/):
{ "mcpServers": { "gtm-api": { "url": "https://mcp.gtm-api.com/mcp" } } }
There is no key to paste. The endpoint authenticates with OAuth: your client gets aWWW-Authenticatechallenge on the first call, registers itself with the authorization server (dynamic client registration), and opens a consent page in your browser. An API key (gtm_live_...) authenticates theREST APIinstead, and answers401 invalid_tokenhere.
Client can only spawn a command, not open a URL? The@gtm-api/linkedin-mcplauncher bridges stdio clients to the same endpoint and runs the same OAuth flow (config inexamples/):
{ "mcpServers": { "gtm-api": { "command": "npx", "args": ["-y", "@gtm-api/linkedin-mcp"] } } }
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 inexamples/). Mount a volume on the token cache so the consent step runs once rather than on every container:
{ "mcpServers": { "gtm-api": { "command": "docker", "args": ["run", "-i", "--rm", "-v", "gtm-mcp-auth:/home/node/.mcp-auth", "gtmapi/linkedin-mcp"] } } }
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.
[ { "name": "list_toolsets", "description": "List the available toolsets (domains) on this server. Each toolset groups related tools (e.g. linkedin.messaging, id.billing). Start here, then get_toolset_tools to inspect one, then call_tool to run a tool. Requires OAuth authorization (Bearer token).", "input_schema": { "type": "object", "properties": {} } }, { "name": "get_toolset_tools", "description": "List the tools in a toolset. Default (lite) returns name + title + one-line summary; pass verbose:true for full descriptions, safety flags, and parameter names. Run one via call_tool.", "input_schema": { "type": "object", "properties": { "toolset": { "type": "string", "description": "Toolset id from list_toolsets, e.g. \"linkedin.messaging\"." }, "verbose": { "type": "boolean", "description": "Include full descriptions + parameter names." } }, "required": ["toolset"] } }, { "name": "call_tool", "description": "Invoke a tool by name (discovered via get_toolset_tools) with its arguments object. Behaves exactly like calling the tool on its domain mount. Dangerous tools still require the two-step preview→confirm (pass commit_token inside arguments on the confirm call).", "input_schema": { "type": "object", "properties": { "name": { "type": "string", "description": "Exact tool name." }, "arguments": { "type": "object", "description": "The tool's arguments object." } }, "required": ["name"] } } ]
call_toolvalidates 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 10 LinkedIn toolsets, grouped here into seven areas:
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:
- Owned accounts.The agent acts through an account you connected and control. There is no shared account pool.
- Session isolation.Each account runs in its own anti-detect cloud browser with a dedicated proxy. One account, one session, one device signature.
- Warm-up.A new account starts at a fraction of platform maximum, and its allowance is raised programmatically as the account ages and builds history.
- Server-side limits.Per-action daily budgets are checked before dispatch, across 16 action buckets.
- Randomized pacing.Bulk work is spread with per-gap randomized intervals, because a fixed cadence is itself a detectable pattern.
- Preview then confirm.Outward actions return a preview and require confirmation, so an over-eager agent cannot burn an account.
On this setup gtm-api reports 20,000+ LinkedIn accounts running at under 1% monthly ban. Full method:gtm-api.com/safe-linkedin-automation.
How it compares to open-source LinkedIn MCP servers
Volume pricing per connected account per month, from $10/account at scale, with unlimited API calls and no per-action fees. Forever free plan, no card:gtm-api.com/pricing.
- Sign up (forever free plan):app.gtm-api.com
- Connecting any client, step by step:docs.gtm-api.com/mcp/connect
- How a LinkedIn MCP server works:gtm-api.com/linkedin-mcp-server
- The safety method in detail:gtm-api.com/safe-linkedin-automation
- npm launcher:npmjs.com/package/@gtm-api/linkedin-mcp
- Docker image:hub.docker.com/r/gtmapi/linkedin-mcp
- Model Context Protocol:modelcontextprotocol.io
gtm-api.com, the LinkedIn API and MCP server for AI agents.
Free MCP that drives an audit of your marketing. Your AI connects, adsOS digs through your ads, email and site, and hands back a growth plan you can run today.
Technical SEO audits in Claude: Search Console history, a first-party crawl and DataForSEO merged into one prioritised audit with paste-ready fixes.
Eagle MCP Server is a local Model Context Protocol bridge that lets AI assistants (e.g. Cursor, Claude) access your Eagle media library so you can tag, categorize, search, and batch-organize assets with natural language.
A context insertion and search server for Claude Desktop and Cursor IDE, using configurable API endpoints.
MCP server for Anthropic Claude Messages API — chat, vision, web search, extended thinking (Rust)
Manage and coordinate multiple Xcode/Swift projects with features like project tracking, smart search, and analytics.
Provides web search functionality powered by the Claude API from Anthropic.
Connect Claude, ChatGPT, Grok or Cursor to 27.6 crore Indian court case records, orders, judgments and cause lists.
e-Gov法令API v2 をラップした Model Context Protocol (MCP) サーバーです。日本の法令データ(法令一覧・改正履歴・法令本文・添付ファイルなど)をMCP対応クライアント(Claude Codeなど)から検索・取得できるようにします。
Server that connects Claude/Cursor to the FatSecret Platform API. Search foods, track your diet, manage recipes, and monitor weight directly from your AI assistant.
good-honker is a free conversational front end to the band Goose's show history, usable from Claude. Ask in plain English about setlists, jam charts, venue stats, song history, and upcoming shows. Every answer is fetched live from the open ElGoose.net API and credited to ElGoose; nothing is stored.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




