Skip to content

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

License

Notifications You must be signed in to change notification settings

ldraney/mcp-linkedin

Repository files navigation

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

Category Tools
Posting Text, links, images, videos, documents, polls
Multi-media Up to 20 images per post
Scheduling Schedule posts for future publication
Engagement Comment and react to posts
Management Edit, delete, list your posts

Tool Status (API v202510)

Tool Status Notes
linkedin_get_user_info Passed
linkedin_create_post Passed
linkedin_create_post_with_link Passed
linkedin_create_poll Passed
linkedin_create_post_with_image Passed Validation tested
linkedin_create_post_with_video Passed Validation tested
linkedin_create_post_with_document Passed Validation tested
linkedin_create_post_with_multi_images Passed Validation tested
linkedin_update_post Passed
linkedin_delete_post Passed
linkedin_get_my_posts Passed Requires API v202510 (broken in v202601)
linkedin_add_comment Passed Requires API v202510 (broken in v202601)
linkedin_add_reaction Passed Requires API v202510 (broken in v202601)
linkedin_schedule_post Passed Local SQLite scheduling
linkedin_list_scheduled_posts Passed
linkedin_cancel_scheduled_post Passed
linkedin_get_scheduled_post Passed
linkedin_get_auth_url Passed
linkedin_save_credentials Passed
linkedin_exchange_code Passed
linkedin_refresh_token Passed

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 SECURITY.md.

For Developers

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

See CLAUDE.md for architecture and API details.

License

MIT

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •