Skip to main content

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

Metadata

Release files for ldraney-linkedin-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ldraney-linkedin-mcp 0.1.1
File Size Uploaded
ldraney_linkedin_mcp-0.1.1.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ldraney-linkedin-mcp 0.1.1
File Interpreter ABI Platform
ldraney_linkedin_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.0 kB

Release files / ldraney_linkedin_mcp-0.1.1.tar.gz

Download URL ldraney_linkedin_mcp-0.1.1.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dde8f8cf6afa0ea0b4804ce067327a225cd921eebacd194e16b638271df13971
BLAKE2b-256 checksum
How to use checksums
24d99fb1947a7648d1eb23cb3ccf86c3e43922881cf8303b465cf44867e373fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 9, 2026.

Transparency log

Release files / ldraney_linkedin_mcp-0.1.1-py3-none-any.whl

Download URL ldraney_linkedin_mcp-0.1.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
314ce88cf99c0117dd6f72e05d93d7b2520829c1aecbc7d2396e2492a97d8894
BLAKE2b-256 checksum
How to use checksums
206d26b3f4f4fbbfa4c47e150d78de3ace41b91094feecf43656d701641ba455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page