MCP servers · LinkedIn · MCP server
Connect Codex CLI to LinkedIn
One line gives Codex CLI your LinkedIn account as tools: 50 endpoints, profile, posts, shares, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect LinkedIn. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "Get a profile in LinkedIn".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in LinkedIn
Profile · View profile, email, connections count, verification status, and photos2
Get a profile
GET /v2/meGet profile pictures
GET /v2/profilePicturesPosts · Create, read, and delete posts for members or organizations6
Create a post
POST /v2/postsGet a post
GET /v2/posts/{postId}Delete a post
DELETE /v2/posts/{postId}Like post
POST /v2/socialActions/{activityId}/likesUnlike post
DELETE /v2/socialActions/{activityId}/likes/{likeId}Create an org post
POST /v2/postsShares · List shared content2
List shares
GET /v2/sharesGet share statistics
GET /v2/organizationalEntityShareStatisticsOrganizations · View and manage organization pages2
Get an organization
GET /v2/organizations/{organizationId}Update an organization
PUT /v2/organizations/{organizationId}Org analytics · Organization page analytics and statistics3
List admin orgs
GET /v2/organizationalEntityAclsGet ad analytics
GET /v2/adAnalyticsV2Get inmail analytics
GET /v2/adInMailContentV2Ads · Manage ad accounts, campaigns, and creatives2
List ad accounts
GET /v2/adAccountsV2Get an ad account
GET /v2/adAccountsV2/{adAccountId}LinkedIn in other AI clients
Claude Code + LinkedInMCP server + skillClaude (desktop & claude.ai) + LinkedInconnectorChatGPT + LinkedInconnector · GPT actionGemini CLI + LinkedInMCP serverCursor + LinkedInMCP serverVS Code (Copilot) + LinkedInMCP serverWindsurf + LinkedInMCP server
