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:
- Environment variables: Set
LINKEDIN_ACCESS_TOKENandLINKEDIN_PERSON_ID - OS Keychain: Use the
save_credentialstool to store credentials securely - OAuth flow: Use
get_auth_urlto start the OAuth flow
Tools (21)
Auth (4)
get_auth_url— Get LinkedIn OAuth authorization URLexchange_code— Exchange OAuth code for access tokensave_credentials— Save credentials to OS keychainrefresh_token— Refresh an expired token
Posts (4)
create_post— Create a text postget_my_posts— List your recent postsdelete_post— Delete a postupdate_post— Update a post
Media (6)
create_post_with_link— Post with article previewcreate_post_with_image— Post with imagecreate_post_with_document— Post with PDF/DOC/PPTcreate_post_with_video— Post with videocreate_poll— Create a pollcreate_post_with_multi_images— Post with multiple images
Engagement (2)
add_comment— Comment on a postadd_reaction— React to a post
Users (1)
get_user_info— Get your profile info
Scheduler (4)
schedule_post— Schedule a future postlist_scheduled_posts— List scheduled postscancel_scheduled_post— Cancel a scheduled postget_scheduled_post— Get scheduled post details
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dde8f8cf6afa0ea0b4804ce067327a225cd921eebacd194e16b638271df13971
|
|
| MD5 |
bf12958f3209e9df4c7a781e5c828378
|
|
| BLAKE2b-256 |
24d99fb1947a7648d1eb23cb3ccf86c3e43922881cf8303b465cf44867e373fb
|
Provenance
The following attestation bundles were made for ldraney_linkedin_mcp-0.1.1.tar.gz:
Publisher:
publish.yml on ldraney/linkedin-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ldraney_linkedin_mcp-0.1.1.tar.gz -
Subject digest:
dde8f8cf6afa0ea0b4804ce067327a225cd921eebacd194e16b638271df13971 - Sigstore transparency entry: 931585080
- Sigstore integration time:
-
Permalink:
ldraney/linkedin-mcp@31336e5fc3aaa3175027a9414c8f2cb5abb04999 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ldraney
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@31336e5fc3aaa3175027a9414c8f2cb5abb04999 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ldraney_linkedin_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ldraney_linkedin_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
314ce88cf99c0117dd6f72e05d93d7b2520829c1aecbc7d2396e2492a97d8894
|
|
| MD5 |
ac69aadb9c8112c26f88780b19ddc6b2
|
|
| BLAKE2b-256 |
206d26b3f4f4fbbfa4c47e150d78de3ace41b91094feecf43656d701641ba455
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ldraney_linkedin_mcp-0.1.1-py3-none-any.whl -
Subject digest:
314ce88cf99c0117dd6f72e05d93d7b2520829c1aecbc7d2396e2492a97d8894 - Sigstore transparency entry: 931585121
- Sigstore integration time:
-
Permalink:
ldraney/linkedin-mcp@31336e5fc3aaa3175027a9414c8f2cb5abb04999 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ldraney
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@31336e5fc3aaa3175027a9414c8f2cb5abb04999 -
Trigger Event:
push
-
Statement type: