# GTM API: LinkedIn MCP Server [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/gtm-api/linkedin-mcp  
**GitHub Stars:** 61  
**npm Downloads (last month):** 657  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gtm-api-linkedin-mcp-server

## Description
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gtm-api-linkedin-mcp-server": {
    "command": "npx",
    "args": ["-y","@gtm-api/linkedin-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/gtm-api-linkedin-mcp-server/readme_

