Linkedin MCP Server — Hosted Api Connectors Integration
MCP Server language Hosted language PublicManage LinkedIn profiles, post content, search jobs, engage with company pages, and send messages — full REST API coverage for professional network automation.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"linkedin": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-linkedin",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the get_my_profile tool to get the authenticated user's linkedin profile. returns name, headline, summary, location, industry, profile url, and connection count”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-linkedin — LinkedIn MCP Server
Automate LinkedIn from any AI agent — manage profiles, publish posts, engage with company pages, search jobs, and send messages using the full LinkedIn REST API.
LinkedIn is the world's largest professional network with over 900 million members. This MCP server gives your AI agents complete access to the LinkedIn REST API: reading and updating profiles, publishing personal and company posts, searching jobs, managing conversations, liking and commenting on content, and tracking company followers.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-linkedin
What You Can Do
- Automated content publishing — Schedule and post thought leadership content on behalf of team members or company pages without touching the LinkedIn UI
- Lead generation pipeline — Search for companies by keyword, pull their follower demographics, find decision-makers via connections, and send personalized outreach messages
- Competitor monitoring — Track a competitor's company page posts and engagement metrics on a cron schedule, then summarize weekly findings
- Job market intelligence — Search job listings for specific roles and locations, extract salary and requirements data, and build a structured talent pipeline
- Community engagement — Automatically like and comment on relevant industry posts based on keyword monitoring to grow organic reach
Available Tools
| Tool | Description |
|---|---|
get_my_profile |
Get the authenticated user's profile (name, headline, summary, location) |
get_profile_by_id |
Get a LinkedIn member profile by URN or ID |
get_connections |
Get first-degree connections list (up to 500) |
get_profile_views |
Get who viewed your profile in the last 90 days |
create_post |
Create a text post (PUBLIC or CONNECTIONS visibility) |
create_post_with_image |
Create a post with an image from a URL |
delete_post |
Delete a post by URN |
get_post |
Get a specific post by URN |
like_post |
Like a LinkedIn post |
comment_on_post |
Add a comment to a post |
get_company |
Get company details (name, description, followers, industry) |
get_company_posts |
Get recent posts from a company page |
create_company_post |
Post on behalf of a company page (requires page admin) |
get_company_followers |
Get follower count and demographic summary |
search_companies |
Search for companies by name or keyword |
search_jobs |
Search LinkedIn jobs by keywords, location, or company |
get_job |
Get full job details by job ID |
send_message |
Send a direct message to a first-degree connection |
get_conversations |
Get list of message conversations |
get_conversation_messages |
Get messages in a specific conversation |
_ping |
Verify credentials by calling /v2/me |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
LINKEDIN_ACCESS_TOKEN |
Yes | OAuth 2.0 User Access Token with appropriate scopes | LinkedIn Developer Portal → Your App → Auth → OAuth 2.0 Tools → Generate Token |
Required OAuth scopes:
r_liteprofile— Read basic profile informationr_emailaddress— Read email addressw_member_social— Write posts, likes, and commentsrw_organization_admin— Read/write company page content (required for company tools)
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "LinkedIn" and click Add to Workspace
- Add your
LINKEDIN_ACCESS_TOKENunder Project → Secrets
Once added, every AI agent in your workspace can interact with LinkedIn professionally.
Example Prompts
"Post a LinkedIn update saying we just launched our new AI product, visibility PUBLIC"
"Get the last 5 posts from company ID 1234567 and summarize the engagement themes"
"Search for backend engineer jobs in San Francisco and return the top 10 with company names"
"Get my LinkedIn profile and tell me how to improve my headline for AI developer roles"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-linkedin \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-LINKEDIN-ACCESS-TOKEN: your-access-token' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_my_profile","arguments":{}}}'
License
MIT
terminal Tools (21)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
get_my_profile #1 Get the authenticated user's LinkedIn profile. Returns name, headline, summary, location, industry, profile URL, and connection count.
get_profile_by_id #2 Get a LinkedIn member profile by their URN or member ID. Returns name, headline, summary, current position, location, and industry.
get_connections #3 Get the authenticated user's first-degree connections list. Returns member IDs, names, and headlines. LinkedIn limits this to 500 results per call.
get_profile_views #4 Get who viewed your LinkedIn profile in the last 90 days. Returns viewer profiles and view timestamps. Requires premium LinkedIn account for full data.
create_post #5 Create a text post on LinkedIn on behalf of the authenticated user. Set visibility to PUBLIC or CONNECTIONS.
create_post_with_image #6 Create a LinkedIn post that includes an image from a URL. The image is attached as a media asset alongside the text content.
delete_post #7 Delete a LinkedIn post by its URN. You can only delete posts authored by the authenticated user.
get_post #8 Get details of a specific LinkedIn post by URN, including text, author, creation time, and social activity counts.
like_post #9 Like a LinkedIn post on behalf of the authenticated user.
comment_on_post #10 Add a comment to a LinkedIn post on behalf of the authenticated user.
get_company #11 Get company details by LinkedIn organization ID. Returns name, description, website, industry, follower count, employee count, and headquarters.
get_company_posts #12 Get recent posts from a LinkedIn company page. Returns post text, creation time, and engagement counts.
create_company_post #13 Post content on behalf of a LinkedIn company page. The authenticated user must be a page admin.
get_company_followers #14 Get follower count and follower demographic summary for a LinkedIn company page.
search_companies #15 Search for LinkedIn companies by name or keyword. Returns company names, IDs, industry, and follower counts.
search_jobs #16 Search LinkedIn job postings by keywords, location, and company. Returns job title, company, location, and job description snippet.
get_job #17 Get detailed information about a specific LinkedIn job posting by job ID. Returns job title, description, requirements, salary range, and application status.
send_message #18 Send a direct LinkedIn message to a connection. The recipient must be a first-degree connection.
get_conversations #19 Get the list of LinkedIn message conversations for the authenticated user. Returns conversation IDs, participants, last message preview, and timestamps.
get_conversation_messages #20 Get messages within a specific LinkedIn conversation by conversation ID.
_ping #21 Verify credentials by calling GET /v2/me with the access token. Returns the authenticated user's profile if the token is valid.
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-linkedin
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Frequently asked questions
What is the Linkedin MCP server and what can it do? +
The Linkedin MCP server is hosted on Aerostack and exposes these tools to your AI agent: `get_my_profile`, `get_profile_by_id`, `get_connections`, `get_profile_views`, `create_post`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Linkedin MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Linkedin MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Linkedin MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Linkedin MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-linkedin": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-linkedin"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Linkedin MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-linkedin", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-linkedin"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Linkedin MCP require authentication? +
Yes. Linkedin requires authentication. Check the MCP's documentation for the required credentials.