Skip to main content
Glama
ni-ti-n

LinkedIn MCP Server

by ni-ti-n

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LINKEDIN_CLIENT_IDNoLinkedIn app client ID for interactive OAuth (PKCE).
LINKEDIN_ENABLE_ORGNoEnable organization tools once approved for Marketing Developer Platform.false
LINKEDIN_ACCESS_TOKENNoYour LinkedIn access token (bring your own token).
LINKEDIN_CLIENT_SECRETNoLinkedIn app client secret (only if your app is confidential).
LINKEDIN_MCP_TRANSPORTNoTransport for the MCP server (stdio or http).stdio
LINKEDIN_ENABLE_SOCIAL_FEEDNoEnable social feed tools (reactions/social metadata) once approved for Community Management API.false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
linkedin_get_profileA

Get the authenticated member's LinkedIn profile.

Returns name, email, profile picture, locale and — most importantly — the member's person URN (e.g. urn:li:person:abc123), which is the author_urn required by all post-creation tools. Call this first and reuse the URN.

linkedin_upload_imageA

Upload a local image file and return its image URN.

Pass the returned urn:li:image:... to linkedin_create_post as one of image_urns (one image = single-image post, 2–20 = multi-image).

Args: author_urn: The owner URN (urn:li:person:... or urn:li:organization:...). file_path: Absolute path to a local image (PNG/JPG/GIF).

linkedin_upload_videoB

Upload a local video file and return its video URN.

LinkedIn processes video asynchronously; a freshly uploaded video may take a short while before a post referencing it goes fully live.

Args: author_urn: The owner URN. file_path: Absolute path to a local video (MP4).

linkedin_upload_documentA

Upload a local document (e.g. PDF) and return its document URN.

Reference the returned urn:li:document:... via document_urn on linkedin_create_post to publish a document/carousel-style post.

Args: author_urn: The owner URN. file_path: Absolute path to a local document (PDF).

linkedin_create_postA

Create a LinkedIn post. Supports text, image, multi-image, video, document, and article/link posts — pick ONE media type per call.

  • Text only: pass just commentary.

  • Image: upload with linkedin_upload_image first, pass its URN in image_urns (1 = single image, 2–20 = multi-image carousel).

  • Video: pass video_urn from linkedin_upload_video.

  • Document: pass document_urn from linkedin_upload_document.

  • Article/link: pass article_url (+ optional title/description); no upload needed.

Args: author_urn: urn:li:person:... (self) or urn:li:organization:... (page). commentary: The post text (an empty string is coerced to a single space). visibility: PUBLIC, CONNECTIONS, or LOGGED_IN. image_urns: Image URNs for an image/multi-image post. image_alt_texts: Optional alt text per image (same order as image_urns). video_urn: A video URN for a video post. document_urn: A document URN for a document post. article_url: A URL for an article/link post.

linkedin_create_pollA

Create a poll post with 2–4 options.

Poll content cannot be edited after creation. Do not ask for political opinions, health status, or other sensitive data (LinkedIn policy).

Args: author_urn: The author URN. question: The poll question (used as the post commentary). options: 2 to 4 answer options. duration: ONE_DAY, THREE_DAYS, SEVEN_DAYS, or FOURTEEN_DAYS.

linkedin_reshare_postC

Reshare an existing post, optionally with your own commentary.

Args: author_urn: The resharing author's URN. reshared_post_urn: URN of the post to reshare (urn:li:share:... or urn:li:ugcPost:...). commentary: Optional text to add above the reshare.

linkedin_update_postA

Edit an existing post's commentary (text).

LinkedIn's partial-update only supports editing the commentary of an existing post; author, media, and poll content cannot be changed.

Args: post_urn: The post URN (urn:li:share:... or urn:li:ugcPost:...). commentary: New post text.

linkedin_delete_postC

Delete a post.

Args: post_urn: The post URN to delete.

linkedin_commentA

Comment on a post, or reply to a comment.

Scope: w_member_social.

Args: actor_urn: Who is commenting (urn:li:person:... or org URN). object_urn: The post URN being commented on. text: The comment body. parent_comment_urn: If replying to a comment, that comment's URN.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct resource+action: three upload tools split cleanly by media type (image/video/document), and the post operations (create, create_poll, reshare, update, delete) plus comment and get_profile are mutually exclusive in purpose. Descriptions reinforce the boundaries, e.g. noting that create_post takes exactly one media type.

Naming Consistency5/5

Every tool follows a uniform linkedin_verb_noun snake_case pattern (upload_video, create_post, create_poll, reshare_post, update_post, delete_post, get_profile). No mixed conventions or vague verbs appear.

Tool Count5/5

Ten tools is well-scoped for the domain: uploads, post lifecycle, engagement, and identity lookup each earn their place with no redundancy or filler.

Completeness4/5

Post creation lifecycle (create/update/delete), media uploads, polls, reshares, comments, and profile lookup are all covered, forming a coherent surface. Minor gaps remain: no read/list tools for existing posts or comments, and no reaction/like operations, but core publishing workflows are fully achievable.

Maintenance

ActivityMaintained
ResponsivenessNo issues