GTM API: LinkedIn MCP Server logo

GTM API: LinkedIn MCP Server

Managed LinkedIn MCP access with 160+ typed actions for search, networking, messaging, and account enrichment.

Install GTM API: LinkedIn MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gtm-api-linkedin-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@gtm-api/linkedin-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

GTM API: LinkedIn MCP Server connects AI agents to LinkedIn accounts you own through a hosted MCP endpoint. It exposes three discovery and invocation tools that provide access to more than 160 typed LinkedIn actions, including search, connection management, messaging, and enrichment. OAuth supports interactive clients, while bearer authentication with a GTM API key supports headless and server environments. Reach for it when an agent needs to perform LinkedIn workflows with previews, confirmations, and server-side action limits.

Use cases

  • Search LinkedIn accounts and profiles
  • Manage connection invitations and requests
  • Send and organize LinkedIn messages
  • Enrich information from owned LinkedIn accounts
  • Track posts, comments, reactions, and engagers

Key features

  • 160+ typed LinkedIn actions
  • Progressive toolset discovery
  • OAuth and bearer-token authentication
  • Preview-before-confirm for dangerous actions
  • Server-side rate and daily-limit checks
  • REST endpoints and webhooks

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

25/26 checks healthy over the last 92d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @gtm-api/linkedin-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars68Stargazers on the source repository.
npm downloads556Package downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How GTM API: LinkedIn MCP Server works

What GTM API: LinkedIn MCP Server does

GTM API: LinkedIn MCP Server gives an AI agent access to LinkedIn actions through the Model Context Protocol. The managed service operates accounts connected through gtm-api rather than using LinkedIn’s developer API. It is intended for actions on an account you own, including profile and account search, connection requests and invitation handling, member messaging, and enrichment workflows.

The service provides more than 160 typed actions organized into 11 toolsets. Supported areas include messaging, networking, and content operations such as working with posts, comments, reactions, engagers, and commenters. The same action definitions are also available through typed REST endpoints and webhooks.

How it works

The hosted MCP endpoint is https://mcp.gtm-api.com/mcp. Rather than loading every LinkedIn action into the model context, the server exposes three MCP tools:

  • list_toolsets returns available domains.
  • get_toolset_tools reveals the actions in a selected domain, with an optional verbose schema view.
  • call_tool invokes a discovered action with its arguments.

An agent normally discovers a toolset, inspects its actions, and then calls the selected operation. The target action’s input schema validates the arguments. Actions considered dangerous use a preview-then-confirm flow, with a commit token required for the confirming call. Server-side limits are checked before outward actions are sent to LinkedIn.

Setup and configuration

Create an account at app.gtm-api.com, connect a LinkedIn account, and add the hosted endpoint to an MCP client. Interactive clients authenticate through OAuth: the first request triggers an authorization challenge, client registration, and a browser consent flow.

For headless use, send a bearer token containing a gtm_live_... API key. Claude Code can add the HTTP endpoint directly with claude mcp add --transport http. Clients that only launch local commands can use the @gtm-api/linkedin-mcp npm package, which bridges stdio to the hosted endpoint. The launcher can also run from the gtmapi/linkedin-mcp Docker image; mounting its token cache avoids repeating consent inside new containers.

A Cursor plugin is included. Installing it registers the hosted server and adds a skill that encourages tool discovery, previews before sends, and stopping when a server limit refuses an action. The plugin performs OAuth in the browser and carries no API key.

Tools and capabilities

The available action groups support workflows such as:

  • Searching LinkedIn accounts and profiles.
  • Sending, accepting, ignoring, or withdrawing connection requests.
  • Reading, searching, and synchronizing inbox messages.
  • Sending member messages, voice notes, InMail, and Sales Navigator messages.
  • Tracking posts and metrics, and working with comments, reactions, engagers, and commenters.
  • Enriching information associated with LinkedIn accounts you own.

Agents can chain discovered actions into routines, such as reviewing new invitations, accepting matching contacts, and preparing follow-up messages. Outbound operations pass through preview, confirmation, and daily-limit checks before execution.

Limitations and notes

LinkedIn does not provide an official developer API for invitations, member messages, or open profile search, so this service works through connected LinkedIn accounts rather than those developer-platform endpoints. It is a managed service: each account runs in isolated infrastructure with limits enforced before actions execute.

The MCP interface requires authorization. OAuth is suited to interactive clients, while API-key bearer authentication is intended for CI and server-side connections. A client that cannot use HTTP directly needs the npm or Docker launcher. The server’s three MCP tools are discovery wrappers; the LinkedIn actions themselves are exposed through the selected toolset and invoked by name.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GTM API: LinkedIn MCP Server

GTM API: LinkedIn MCP Server is an MCP server that connects AI agents to LinkedIn accounts you own. Its three main tools discover toolsets, inspect typed actions, and invoke operations for search, connections, messaging, content workflows, and enrichment. It uses OAuth or GTM API bearer tokens and applies confirmation and safety checks.

Add https://mcp.gtm-api.com/mcp to an MCP client, then authorize through OAuth. Headless clients can use a gtm_live_ API key as a bearer token. Stdio-only clients can run the @gtm-api/linkedin-mcp npm launcher or its Docker image.

Yes, it works with Cursor through the hosted MCP endpoint or the included Cursor plugin. Install the plugin from the Cursor Marketplace, or configure the endpoint directly. The first tool call opens the OAuth consent flow, and the plugin adds a skill for discovery and send previews.

It previews dangerous actions before execution and requires a commit token on the confirmation call. Server-side rate and daily-limit checks also run before an outward action reaches LinkedIn. The included Cursor skill instructs the agent to stop rather than retry when a limit refusal occurs.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGTM API: LinkedIn MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gtm-api-linkedin-mcp-server?style=directory)](https://allmcps.com/mcp/gtm-api-linkedin-mcp-server)
HTML Embed
<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>