Skip to main content
Glama
2060-io

linkedin-mcp

by 2060-io

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoPort for HTTP transport (default 8000)8000
LI_MCP_TOONNoUse TOON format for responses (true/false)true
LI_MCP_DEDUPNoEnable engagement deduplication (true/false)true
MCP_TRANSPORTNoTransport mode: stdio or http (default stdio)stdio
LI_MCP_COMPACTNoUse compact response shapes (true/false)true
LI_MCP_MAX_POSTSNoMax posts per day (-1 unlimited, 0 disabled)5
LI_MCP_ADMIN_USERNoHTTP Basic Auth admin username (for HTTP transport)
LI_MCP_STATE_FILENoPath to state JSON filelinkedin-mcp-state.json
LINKEDIN_CLIENT_IDYesLinkedIn OAuth client ID from developer app
LI_MCP_MAX_DELETESNoMax post deletions per day (-1 unlimited, 0 disabled)3
LI_MCP_MAX_COMMENTSNoMax comments per day (-1 unlimited, 0 disabled)10
LI_MCP_MAX_REACTIONSNoMax reactions per day (-1 unlimited, 0 disabled)30
LINKEDIN_REDIRECT_URIYesOAuth redirect URI (must match LinkedIn app setting)
LI_MCP_ADMIN_PASSWORDNoHTTP Basic Auth admin password (for HTTP transport)
LINKEDIN_CLIENT_SECRETYesLinkedIn OAuth client secret

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_meA

Get the authenticated LinkedIn member's profile (Person URN, name, email).

create_postA

Publish a text post on LinkedIn as the authenticated member. Optionally attach a link (article share). For images use create_image_post.

upload_mediaA

Upload an image (base64) and return its image URN for use in create_image_post / create_multi_image_post.

create_image_postB

Publish a post with a single image. Provide image_urn (from upload_media) or image_data (base64).

create_multi_image_postA

Publish a post with 2-20 images. Each image may be an existing urn or base64 data.

reshare_postB

Reshare an existing post (by URN or URL) with your own commentary.

comment_on_postB

Add a comment to a post (by URN or URL) as the authenticated member.

react_to_postC

React to a post (by URN or URL). Reaction defaults to LIKE.

delete_postA

Delete one of your own posts (by URN or URL). Budget-limited; set LI_MCP_MAX_DELETES=0 to disable.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/2060-io/linkedin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server