LinkedIn MCP Server

MCP server for LinkedIn's official API - create posts, manage events, and interact with LinkedIn through AI assistants

Local serverstdioGo

What is the LinkedIn MCP Server?

MCP server for LinkedIn's official API - create posts, manage events, and interact with LinkedIn through AI assistants

What it actually does

A Model Context Protocol (MCP) server that provides AI assistants with access to LinkedIn's official API. Create posts, manage events, and interact with LinkedIn - all through natural language via any MCP-compatible client.

Configuration

  1. Node.js 20+ 2. LinkedIn Developer App (see setup steps below)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
linkedin_auth_startStart OAuth 2.0 authentication flow
linkedin_auth_callbackComplete OAuth with authorization code
linkedin_auth_logoutRevoke token and log out
linkedin_get_my_profileGet your LinkedIn profile (name, headline, photo, email)
linkedin_get_my_emailGet your email address
linkedin_get_auth_statusCheck authentication status
linkedin_get_rate_limitsView API rate limit usage
linkedin_create_postCreate text, article, or image posts
linkedin_delete_postDelete your posts
linkedin_create_commentComment on posts
linkedin_react_to_postReact to posts (like, celebrate, support, love, insightful, funny)
linkedin_upload_imageUpload images for posts
linkedin_list_my_postsList posts created through this server with URNs for reference
linkedin_create_eventCreate LinkedIn events

How to install the LinkedIn MCP Server

{
  "mcpServers": {
    "linkedin": {
      "command": "node",
      "args": [
        "/path/to/linkedin-mcp-server/dist/index.js"
      ],
      "env": {
        "LINKEDIN_CLIENT_ID": "your_client_id",
        "LINKEDIN_CLIENT_SECRET": "YOUR_LINKEDIN_CLIENT_SECRET"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  1. Node.js 20+ 2. LinkedIn Developer App (see setup steps below)
VariableDescriptionRequired
LINKEDIN_CLIENT_IDDeclared in the maintainer’s client configuration.Check documentation
LINKEDIN_CLIENT_SECRETDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use LinkedIn to linkedin auth start.”
  • “Use LinkedIn to linkedin auth callback.”
  • “Use LinkedIn to linkedin auth logout.”

Frequently asked questions

The server uses OAuth 2.0 with a redirect URI (`http://localhost:3000/callback`). The assistant generates an authorization URL; you open it in a browser, authorize the app, then copy the redirect URL (which shows a “page not found” error) back to the assistant. The assistant extracts the code and state to complete the flow. The token is stored locally and persists across server restarts for up to 60 days.