linkedin-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIMEOUT | No | Timeout in milliseconds for a single page operation (default: 5000). | |
| CHROME_PATH | No | Path to a Chrome/Chromium executable. | |
| PROXY_BYPASS | No | Comma-separated list of addresses to bypass proxy (e.g., 'localhost,127.0.0.1,::1'). | |
| PROXY_SERVER | No | Proxy server URL, as scheme://host:port. Also accepts combined http://user:pass@host:port form. | |
| TOOL_TIMEOUT | No | Timeout in seconds for a whole tool call (default: 180). | |
| PROXY_PASSWORD | No | Proxy password. | |
| PROXY_USERNAME | No | Proxy username. | |
| UV_HTTP_TIMEOUT | No | Timeout in seconds for uv HTTP requests during package installation (recommended: 300). | |
| LOGIN_INLINE_WAIT | No | How long a tool call waits for a login to finish before telling the model to retry (default: 25, max 45; 0 = return at once). | |
| LINKEDIN_MCP_CONTAINER | No | Override container detection: 'false' to force host mode, 'true' to force Docker mode. | |
| AUTO_IMPORT_FROM_BROWSER | No | Whether to import a session from a signed-in local browser on the first tool call that needs one (default: on). Set to 'false' to disable. | |
| FASTMCP_HTTP_ALLOWED_HOSTS | No | JSON array of allowed hostnames for the HTTP server, e.g. '["mcp.example"]'. | |
| EXPERIMENTAL_PERSIST_DERIVED_RUNTIME | No | In Docker, whether to keep the derived runtime profile between runs (default: off). |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_person_profileA | Get a specific person's LinkedIn profile. |
| search_peopleA | Search for people on LinkedIn. |
| connect_with_personA | Send a LinkedIn connection request or accept an incoming one. The tool is annotated with destructiveHint so MCP clients will prompt for user confirmation before execution. |
| get_sidebar_profilesA | Get profile links from sidebar recommendation sections on a LinkedIn profile page. Extracts profiles from "More profiles for you", "Explore premium profiles", and "People you may know" sidebar sections. Follows "Show all" links to return the full list from each section. Sections that redirect to linkedin.com/premium are skipped. |
| get_my_profileA | Get the authenticated user's own LinkedIn profile. Navigates to /in/me/ and resolves the redirect to obtain the real username before scraping, so the url field in the result is the actual profile URL (e.g. linkedin.com/in/johndoe/) rather than /in/me/. |
| get_company_profileA | Get a specific company's LinkedIn profile. |
| get_company_postsB | Get recent posts from a company's LinkedIn feed. |
| search_companiesB | Search for companies on LinkedIn. |
| get_company_employeesA | List employees at a company from the LinkedIn /people/ page, including the demographics aggregate that this view exposes: where employees live, where they studied, and a function breakdown (Engineering, Sales, Operations, etc.). The demographics are unique to this tool. For filtered search by network degree (1st/2nd/3rd) or location, prefer search_people with current_company set to the company URN id. That path also returns more result pages than the /people/ tab. The optional keywords filter narrows results by name, title, or skill. company_name must be the exact LinkedIn URL slug (the path segment after /company/), not the display name. LinkedIn assigns unique slugs and the display name often does not match. For example, the AI lab Anthropic lives at /company/anthropicresearch/, not /company/anthropic/. If you are unsure of the slug, call search_companies first and pick the slug from the returned references. |
| get_job_detailsA | Get job details for a specific job posting on LinkedIn. |
| search_jobsA | Search for jobs on LinkedIn. Returns job_ids that can be passed to get_job_details for full info. |
| get_saved_jobsA | List job postings saved by the authenticated LinkedIn user. Returns job_ids that can be passed to get_job_details for full info. |
| get_inboxA | List recent conversations from the LinkedIn messaging inbox. |
| get_conversationA | Read a specific messaging conversation. Provide either linkedin_username or thread_id to identify the conversation. When looked up by linkedin_username, resolution searches the messaging inbox for the participant's display name and click-visits every matching row to capture its thread ID — LinkedIn's sidebar has no anchor hrefs or thread-id attributes, so this is the only available path. Each visit selects the row in the LinkedIn UI and may mark it as read. Pass thread_id directly to skip this enumeration. |
| search_conversationsC | Search messages by keyword. |
| send_messageA | Send a message to a LinkedIn user. The recipient must be directly messageable from the profile page. This is a write operation when confirm_send is True. |
| get_feedA | Get posts from the authenticated user's LinkedIn feed. |
| search_postsA | Search LinkedIn posts/content globally by keyword (the "Posts" tab). Use this to catch informal hiring posts ("we're hiring", "Buscamos ...", "estamos contratando", "join our team") that often appear before a formal job listing exists. This is global content search, distinct from get_feed (your own home feed) and get_company_posts (one company's page). |
| comment_on_postA | Post a first-level comment on a LinkedIn post. The tool is annotated with destructiveHint so MCP clients will prompt for user confirmation before execution. This publishes the signed-in account's own words under someone else's post — it is public and permanent in every practical sense, which is why it never runs without confirm_comment=True. With confirm_comment=False this does a dry run: it navigates to the post, verifies LinkedIn exposes a usable comment box, and reports back without writing anything. No draft text is left behind, so the call is safe to make first to check reachability before committing the words. Keep each comment's own wording distinct from the others you post in a session. Identical or near-identical text under several posts within a short window reads as spam to LinkedIn regardless of how slowly it was typed, and that is the fastest way this tool can earn a restriction. |
| get_profile_post_urlsA | Resolve canonical post permalinks from a profile's recent activity. Navigates to the person's /activity/all/ page, scrolls until enough posts have loaded their SDUI/RSC payloads, and returns up to count unique post permalinks (most recent first). Each URL is in the form https://www.linkedin.com/posts/ — directly usable by comment_on_post. |
| close_sessionA | Close the current browser session and clean up resources. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/larscolombia/lubot-hunter-mcp-2026'
If you have feedback or need assistance with the MCP directory API, please join our Discord server