linkedin/linkedin

MCP Server

LinkedIn MCP Server - manage profile, posts, and connections

LinkedIn MCP server. Manage profile, posts, connections, skills, work experience, education, and content sharing.

MCP Server

  • Package: @pegasusheavy/linkedin-mcp
  • Transport: stdio
  • Command: npx -y @pegasusheavy/linkedin-mcp

Authentication

OAuth 2.0 with automatic token refresh

VariableRequiredDescription
LINKEDIN_CLIENT_IDNoOAuth app client ID
LINKEDIN_CLIENT_SECRETNoOAuth app client secret
LINKEDIN_ACCESS_TOKENNoExisting access token (alternative to OAuth)

Available Tools

ToolDescription
get_linkedin_profileGet profile
get_linkedin_postsGet posts
get_linkedin_connectionsGet connections
search_linkedin_peopleSearch people
share_linkedin_postShare post
add_linkedin_skillAdd skill
get_account_insightsAccount insights

Configuration Example

toml
[[mcp.servers]]
name = "linkedin"
type = "stdio"
command = "npx"
args = ["-y", "@pegasusheavy/linkedin-mcp"]
timeout_seconds = 60
env = { LINKEDIN_CLIENT_ID = "your-value", LINKEDIN_CLIENT_SECRET = "your-value", LINKEDIN_ACCESS_TOKEN = "your-value" }
tools = []

Notes: 18 tools. Uses OpenID Connect scopes. No special API access required.