← All MCP Servers
MIT v0.1.8 LinkedInOAuth2Rust

LinkedIn MCP

@kembec/linkedin-mcp · Model Context Protocol Server

Install

npm install -g @kembec/linkedin-mcp

Run `linkedin-mcp auth` after installing to connect your account. For multiple accounts: `linkedin-mcp auth work` / `linkedin-mcp auth personal`.

Connect Claude Desktop, Cursor, or any MCP-compatible client to LinkedIn through OAuth2. Publish posts, read your profile, manage company pages, and list connections directly from your AI agent. Authenticate once via the built-in OAuth flow — tokens are stored locally with 0600 permissions and credentials are never written to disk. Ships as a single static binary with no Node.js or Python runtime required. Supports multiple accounts with named profiles.

  1. Publish LinkedIn posts from Claude without opening a browser

  2. Read your recent posts and profile info from a chat interface

  3. Get company details by organization ID for research workflows

  4. Manage multiple LinkedIn accounts from a single MCP session

  • LinkedIn Developer App with OAuth 2.0 configured at linkedin.com/developers/apps
  • Redirect URI http://127.0.0.1:9876/callback registered under Auth → OAuth 2.0 settings
  • Client ID and Client Secret from the Auth tab of your Developer App
					{
  "mcpServers": {
    "linkedin": {
      "command": "npx",
      "args": ["-y", "@kembec/linkedin-mcp"],
      "env": {
        "LINKEDIN_CLIENT_ID": "your-client-id",
        "LINKEDIN_CLIENT_SECRET": "your-client-secret"
      }
    }
  }
}
				
					[mcp_servers.linkedin]
command = "npx"
args = ["-y", "@kembec/linkedin-mcp"]

[mcp_servers.linkedin.env]
LINKEDIN_CLIENT_ID = "your-client-id"
LINKEDIN_CLIENT_SECRET = "your-client-secret"
				
get-profile

Your profile: name, email, and profile picture URL

create-post

Publish a text post. Supports PUBLIC or CONNECTIONS visibility

get-own-posts

List your recent posts with pagination

delete-post

Delete a post by post ID or full URN

get-company

Organization details by org_id

manage-accounts

List or remove stored OAuth tokens

get-connections

List 1st-degree connections — requires LinkedIn Partner approval (r_network scope)

search-jobs

Search job postings by keywords and location — requires LinkedIn Partner approval

send-message

Send a direct message to a member URN — requires LinkedIn Partner approval