Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LINKEDIN_DB_PATHNoScheduler database.$LINKEDIN_MCP_HOME/schedule.sqlite
LINKEDIN_POLL_MSNoScheduler poll interval.30000
LINKEDIN_HEADLESSNoRun non-login actions headless. Login is always headed.false
LINKEDIN_MCP_HOMENoRoot for session + scheduler state.~/.linkedin-mcp
LINKEDIN_PACING_MSNoRandomized delay between UI steps (`min,max`).400,1200
LINKEDIN_SESSION_DIRNoPersistent Chrome profile (your logged-in session).$LINKEDIN_MCP_HOME/session
LINKEDIN_LOGIN_TIMEOUT_SECNoHow long login waits for you.300

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
linkedin_loginA

Open a real Chromium window and wait for you to log in manually (including 2FA / security checkpoints). The session is saved locally and reused; your password is never read or stored. Run once, or again if the session expires.

linkedin_session_statusA

Report whether the saved LinkedIn session is still logged in, and warn if core page selectors have drifted (a maintenance signal).

create_postA

Publish a text post to your personal LinkedIn profile, now. For a future time use schedule_post (which first asks the user native vs local scheduler).

schedule_postA

Publish a post at a future time, through ONE of two schedulers. There is no default — ask the user which one they want BEFORE calling this, and state the trade-off:

  • "native": LinkedIn schedules it itself (composer -> clock icon). Fires at the requested time even if this machine is asleep or Claude is closed, but the queued post then lives on linkedin.com and this server can neither list nor cancel it. Drives the browser now, so the session must be live and the text is final at that moment.

  • "local": queued in this server's SQLite queue, so list_scheduled_posts and cancel_scheduled_post keep working. But it fires ONLY while this server process is running; if the machine is off at the scheduled time, it posts on the next tick after the process is running again — late.

list_scheduled_postsA

List queued/scheduled posts and their status. LOCAL queue only — posts handed to LinkedIn's native scheduler are held by LinkedIn and only visible on linkedin.com.

cancel_scheduled_postA

Cancel a still-pending post in the LOCAL queue by id. Natively scheduled posts must be canceled in LinkedIn's own scheduled-posts view.

list_my_postsA

List your recent posts (their refs can be passed to read_post_comments).

read_post_commentsA

Read comments on a post. post is a post URL or an activity/share URN.

reply_to_commentA

Reply to a comment (use commentRef from read_post_comments).

list_pagesA

List Company/showcase Pages surfaced to your account. Best-effort — may include followed (non-admin) companies; verify admin rights before posting as a Page.

create_page_postA

Publish a text post AS a Company/showcase Page you admin. page is the Page name or id from list_pages.

read_feedA

Read a light snapshot of your home feed (best-effort; feed layout changes often).

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/HDHNezherParking-cum-Y638-Intl-Ltd/linkedin-mcp'

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