Skip to main content

MCP server wrapping the LinkedIn Python SDK (v202510)

Project description

linkedin-mcp

MCP server for the LinkedIn API v202510 — create posts, upload media, manage engagement, and schedule content.

Installation

Claude Desktop (one-click)

Download the .mcpb extension from the latest release and double-click to install.

Manual

uvx ldraney-linkedin-mcp

Or add to your Claude Code config:

{
  "mcpServers": {
    "linkedin": {
      "command": "uvx",
      "args": ["ldraney-linkedin-mcp"],
      "env": {
        "LINKEDIN_ACCESS_TOKEN": "your_token",
        "LINKEDIN_PERSON_ID": "your_person_id"
      }
    }
  }
}

Authentication

The server supports multiple authentication methods:

  1. Environment variables: Set LINKEDIN_ACCESS_TOKEN and LINKEDIN_PERSON_ID
  2. OS Keychain: Use the save_credentials tool to store credentials securely
  3. OAuth flow: Use get_auth_url to start the OAuth flow

Tools (21)

Auth (4)

  • get_auth_url — Get LinkedIn OAuth authorization URL
  • exchange_code — Exchange OAuth code for access token
  • save_credentials — Save credentials to OS keychain
  • refresh_token — Refresh an expired token

Posts (4)

  • create_post — Create a text post
  • get_my_posts — List your recent posts
  • delete_post — Delete a post
  • update_post — Update a post

Media (6)

  • create_post_with_link — Post with article preview
  • create_post_with_image — Post with image
  • create_post_with_document — Post with PDF/DOC/PPT
  • create_post_with_video — Post with video
  • create_poll — Create a poll
  • create_post_with_multi_images — Post with multiple images

Engagement (2)

  • add_comment — Comment on a post
  • add_reaction — React to a post

Users (1)

  • get_user_info — Get your profile info

Scheduler (4)

  • schedule_post — Schedule a future post
  • list_scheduled_posts — List scheduled posts
  • cancel_scheduled_post — Cancel a scheduled post
  • get_scheduled_post — Get scheduled post details

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ldraney_linkedin_mcp-0.1.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ldraney_linkedin_mcp-0.1.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file ldraney_linkedin_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: ldraney_linkedin_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ldraney_linkedin_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dde8f8cf6afa0ea0b4804ce067327a225cd921eebacd194e16b638271df13971
MD5 bf12958f3209e9df4c7a781e5c828378
BLAKE2b-256 24d99fb1947a7648d1eb23cb3ccf86c3e43922881cf8303b465cf44867e373fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ldraney_linkedin_mcp-0.1.1.tar.gz:

Publisher: publish.yml on ldraney/linkedin-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ldraney_linkedin_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ldraney_linkedin_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 314ce88cf99c0117dd6f72e05d93d7b2520829c1aecbc7d2396e2492a97d8894
MD5 ac69aadb9c8112c26f88780b19ddc6b2
BLAKE2b-256 206d26b3f4f4fbbfa4c47e150d78de3ace41b91094feecf43656d701641ba455

See more details on using hashes here.

Provenance

The following attestation bundles were made for ldraney_linkedin_mcp-0.1.1-py3-none-any.whl:

Publisher: publish.yml on ldraney/linkedin-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page