mcp-linkedin

ldraney/mcp-linkedin

3.2

If you are the rightful owner of mcp-linkedin and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

MCP server for managing LinkedIn posts - create, update, and manage posts to share expertise and GitHub projects.

mcp-linkedin

Post to LinkedIn from Claude Desktop.

Install in 30 seconds. Authenticate once. Post forever.

Quick Start

Option A: One-Click Install (Recommended)

  1. Download mcp-linkedin.mcpb
  2. Open with Claude Desktop
  3. Authorize when prompted (one-time LinkedIn OAuth)

Option B: Command Line

npx @ldraney/mcp-linkedin

What You Can Do

Ask Claude things like:

  • "Post about my new GitHub project with a link"
  • "Create a poll asking my network about AI trends"
  • "Schedule a post for tomorrow at 9am"
  • "Upload this PDF and share it with my network"
  • "Add a comment to my latest post"

21 Tools Available

CategoryTools
PostingText, links, images, videos, documents, polls
Multi-mediaUp to 20 images per post
SchedulingSchedule posts for future publication
EngagementComment and react to posts
ManagementEdit, delete, list your posts

Tool Status (API v202510)

ToolStatusNotes
linkedin_get_user_infoPassed
linkedin_create_postPassed
linkedin_create_post_with_linkPassed
linkedin_create_pollPassed
linkedin_create_post_with_imagePassedValidation tested
linkedin_create_post_with_videoPassedValidation tested
linkedin_create_post_with_documentPassedValidation tested
linkedin_create_post_with_multi_imagesPassedValidation tested
linkedin_update_postPassed
linkedin_delete_postPassed
linkedin_get_my_postsPassedRequires API v202510 (broken in v202601)
linkedin_add_commentPassedRequires API v202510 (broken in v202601)
linkedin_add_reactionPassedRequires API v202510 (broken in v202601)
linkedin_schedule_postPassedLocal SQLite scheduling
linkedin_list_scheduled_postsPassed
linkedin_cancel_scheduled_postPassed
linkedin_get_scheduled_postPassed
linkedin_get_auth_urlPassed
linkedin_save_credentialsPassed
linkedin_exchange_codePassed
linkedin_refresh_tokenPassed

Note: LinkedIn API v202601 reclassified get_my_posts, add_comment, and add_reaction as partner-only endpoints. Use API v202510 for full functionality.

How It Works

You install mcp-linkedin (npm or .mcpb)
         │
         └─► First use triggers OAuth
                   │
                   └─► Tokens stored locally on your machine
                             │
                             └─► Claude posts to LinkedIn for you

Your credentials stay on your machine. The OAuth relay only handles the initial handshake.

Privacy

  • Your LinkedIn access token is stored locally on your machine
  • We never store or access your LinkedIn credentials
  • All API calls go directly from your machine to LinkedIn

Requirements

Feedback

Found a bug? Have a feature request? Open an issue

For security vulnerabilities, see .

For Developers

git clone https://github.com/ldraney/mcp-linkedin.git
cd mcp-linkedin
npm install
npm test  # 135 tests

See for architecture and API details.

License

MIT