linkedin-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@linkedin-mcpSchedule a LinkedIn post about our new feature for Friday."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
linkedin-mcp
Publish and schedule posts on your own LinkedIn — from an AI assistant, via the official API.
An MCP server that lets Claude (or any MCP client) write a post and publish or schedule it on your LinkedIn profile through LinkedIn's official Posts API. Plus a content-calendar helper so you grow the profile the sustainable way.
✅ What it does — and what it deliberately doesn't
Does: posts as you (immediately or scheduled), lists your queue and history, and gives you proven post structures + a weekly cadence.
Does NOT: auto-connect, auto-like, auto-comment, mass-message, scrape, or run engagement bots. Those violate LinkedIn's User Agreement and get accounts permanently banned. There is no official API for them — only grey scraping — and it's not worth risking your account. Profiles grow from consistent, valuable content, not automation. That's what this tool supports.
Related MCP server: LinkedIn - Full Tools MCP (via Reepl)
Tools
Tool | What it does |
| Is the tool authorized, and as whom |
| Post immediately (PUBLIC / CONNECTIONS) |
| Queue for later ( |
| Scheduled queue + published history |
| Remove a queued post |
| Structured brief + rules to write a strong post |
| Safe weekly cadence and best-practice rules |
Setup
1. Create a LinkedIn app (once, ~10 min)
Go to developer.linkedin.com → My apps → Create app.
Fill in name, associate a LinkedIn Page (create a simple one if you don't have it — required by LinkedIn), upload a logo.
Open your app → Auth tab:
Copy the Client ID and Client Secret.
Under OAuth 2.0 redirect URLs, add exactly:
http://localhost:8710/callback
Open the Products tab and request:
Sign In with LinkedIn using OpenID Connect (gives
openid profile)Share on LinkedIn (gives
w_member_social— the posting scope)
These are self-serve for personal use and usually approve instantly. If a scope isn't yet granted, the auth step below will tell you which one is missing.
2. Install
cd linkedin-mcp
python3 -m venv .venv && source .venv/bin/activate
pip install -e .3. Authorize the tool (once)
Put your credentials in the environment (or ~/.linkedin-mcp/token.json):
export LINKEDIN_CLIENT_ID=xxxxxxxx
export LINKEDIN_CLIENT_SECRET=xxxxxxxx
export LINKEDIN_REDIRECT_URI=http://localhost:8710/callback
python -m linkedin_mcp.authA browser opens LinkedIn's consent page → approve → the token is saved to
~/.linkedin-mcp/token.json (chmod 600). Done.
4. Connect to Claude
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"linkedin": {
"command": "python",
"args": ["-m", "linkedin_mcp.server"],
"env": {
"LINKEDIN_CLIENT_ID": "xxxxxxxx",
"LINKEDIN_CLIENT_SECRET": "xxxxxxxx"
}
}
}
}Now you can say: "Write a build-in-public post about my AST taint scanner and
publish it" — the assistant uses post_brief to shape it, then publish_now.
5. Auto-posting on a schedule
schedule_post queues posts; a small scheduler publishes the due ones. Run it
from cron so posts go out even when you're offline:
*/15 * * * * cd /path/to/linkedin-mcp && .venv/bin/python -m linkedin_mcp.scheduler >> ~/.linkedin-mcp/scheduler.log 2>&1How growth actually works here
Ask the assistant for content_calendar() — it returns a Mon/Wed/Fri cadence
and rules (hook first, be specific, one idea, real numbers, end with a question).
Then generate posts with post_brief and schedule a week at a time. Consistency
substance is what moves a profile — and it can't be taken away by a ban.
Security & privacy
Token and posts are stored locally under
~/.linkedin-mcp/(chmod 600), never in the repo.The tool only calls the official LinkedIn API and only acts as you.
Access tokens expire (~60 days); the client auto-refreshes when a refresh token is present, otherwise re-run
python -m linkedin_mcp.auth.
License
MIT © nadirzhon — for use on your own LinkedIn account, within LinkedIn's terms.
Available Tools
7 toolsauth_statusA
Check whether the tool is authorized to post, and as which member.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. The verb 'Check' clearly implies a read-only, non-destructive operation, and it indicates the type of information returned (authorization status and member identity). It lacks details about the exact response format or edge cases, but for a status-check tool this is reasonably transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, front-loaded with the action and purpose. Every word earns its place, conveying both the authorization check and the member identity aspect without any fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is very simple: no parameters, no output schema, and a clear purpose. The description explains what the tool does and what it reveals (authorization and member), which is sufficient for an agent to know when and how to invoke it. There are no hidden complexities or side effects to disclose.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so per rubric the baseline is 4. The description does not need to add parameter details since the input schema is empty, and it correctly implies that no arguments are required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description uses the specific verb 'Check' and clearly states the resource (authorization to post) and the additional output (which member). It distinguishes itself from sibling tools that perform actions like publish_now or schedule_post.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use or exclusions are provided, but it is implied that this tool is used before posting or scheduling to verify authorization. Given the simplicity of the tool, the absence of explicit alternatives is acceptable but still leaves room for clearer guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
cancel_scheduledA
Remove a queued post by its id.
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
There are no annotations, and the description only states the action without disclosing side effects, reversibility, or requirements. For a destructive operation like 'Remove', the lack of additional behavioral context is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with zero wasted words. It efficiently communicates the core action and target resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with one parameter and no output schema, but the description lacks important behavioral context such as whether the removal is permanent or if there are constraints on which queued posts can be cancelled. It is adequate for a basic cancellation operation but leaves some gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With a single parameter (post_id) and 0% schema description coverage, the description's phrase 'by its id' clarifies that post_id is the identifier for the queued post. However, it adds minimal information beyond the parameter name itself, so it only partially compensates for the missing schema description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Remove' and identifies the resource as 'a queued post' with a clear method ('by its id'). It clearly distinguishes from sibling tools like schedule_post and publish_now by specifying the cancellation action.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: this tool is for removing queued posts, which implies it should be used when a scheduled post needs to be cancelled. It does not explicitly mention alternatives or exclusions, but the purpose is sufficiently unique among the sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
content_calendarC
A safe weekly posting cadence and best-practice rules for steady growth.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full responsibility for behavioral disclosure, but it only describes a static concept ('safe weekly posting cadence') without stating what happens when invoked, what data is returned, or whether any side effects occur.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that is not bloated. However, it lacks specificity, making it efficient but not fully informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having no parameters and a simple schema, the description fails to explain what the tool returns or how it relates to the broader content scheduling workflow. Given sibling tools like publish_now and schedule_post, more context is needed to define the tool's role.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the schema fully covers parameter semantics. The description need not add parameter details, and it does not introduce confusion, so a baseline of 4 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'A safe weekly posting cadence and best-practice rules for steady growth' is vague and lacks a clear verb or resource. It does not state what action the tool performs (e.g., retrieve, suggest, or manage) and does not distinguish itself from sibling tools like schedule_post or list_posts.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives. No context is given for prerequisites, scenarios, or exclusions, leaving the agent without direction on selecting it over sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_postsB
List posts. kind: 'scheduled', 'published', or 'all'.
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | all |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It simply says 'List posts' but does not disclose behaviors such as read-only nature, pagination, ordering, authentication requirements, or what the return value contains. This is a significant gap for an annotation-free tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence: 'List posts. kind: 'scheduled', 'published', or 'all'.' It is extremely concise, front-loaded, and every word adds value. No unnecessary fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is relatively simple (one optional parameter, no output schema), so the description covers the basics. However, it fails to mention what the output looks like (e.g., list of post IDs or full objects) and does not hint at whether all statuses other than scheduled/published are included. For a list tool, this is a moderate gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It directly explains the only parameter 'kind' with its allowed values 'scheduled', 'published', or 'all', providing meaning that the schema lacks (no enum). However, it doesn't elaborate on the semantics of each kind.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states 'List posts' with a specific verb and resource, and the kind parameter adds scope. It is clear but does not explicitly distinguish from siblings like content_calendar or post_brief, so it falls short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage by listing the 'kind' values but provides no explicit guidance on when to use this tool versus siblings like content_calendar or post_brief. No exclusions or alternatives are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
post_briefA
Get a structured brief + rules to write a strong post on a topic.
archetype: build_in_public | lesson | teardown | opinion | result. Use the returned structure and rules to write the actual post, then publish_now or schedule_post it.
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| archetype | No | build_in_public |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It discloses the tool produces a brief and rules, and explains the expected workflow. It doesn't mention side effects or limitations, but for a content-generation tool this is adequately transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is succinct and front-loaded with the core purpose. The archetype list and workflow instruction are directly useful, with no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple: two parameters, no output schema. The description tells the agent what to expect (structure + rules), how to use the output, and what to do next. Given the tool's simplicity, this is fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, so the description must add meaning. It explicitly lists the allowed archetype values (build_in_public, lesson, teardown, opinion, result), adding significant value. The topic parameter is only implied via 'on a topic,' but its meaning is self-evident.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it returns a structured brief and rules for writing a post. The verb 'get' and resource 'brief' are specific, and it distinguishes itself from sibling publish tools by explicitly directing the agent to follow with publish_now or schedule_post.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides clear usage context: use this first to prepare content, then publish. It explicitly names subsequent tools (publish_now, schedule_post) but doesn't give exclusions or alternatives for different scenarios, limiting a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
publish_nowA
Publish a text post to your LinkedIn profile immediately.
text: the full post body. visibility: PUBLIC (default) or CONNECTIONS.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| visibility | No | PUBLIC |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description must carry the full burden of behavioral disclosure. It only says 'publish' and does not explain side effects, authentication requirements, irreversibility, or potential failure modes. This is a significant gap for a mutating tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very concise: one purpose statement followed by parameter definitions. Information is front-loaded and every sentence contributes value without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool with no output schema, the description covers the main purpose and parameter meanings adequately. However, it lacks guidance on when to prefer this over schedule_post and does not mention expected return behavior or prerequisites.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description explicitly explains both parameters ('text: the full post body', 'visibility: PUBLIC (default) or CONNECTIONS'), adding crucial meaning that the input schema lacks. This fully compensates for the 0% schema description coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Publish'), the object ('a text post'), the target ('to your LinkedIn profile'), and temporal scope ('immediately'), effectively distinguishing it from scheduling-related sibling tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The word 'immediately' implies when to use this tool, but it does not explicitly contrast with schedule_post or state alternative tools. There is clear context but no exclusions or direct 'use this instead' guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
schedule_postA
Queue a post for later. It is published by the scheduler process.
when: ISO time ('2026-08-20T09:00') or relative ('+2h', '+1d').
Run the scheduler (cron or python -m linkedin_mcp.scheduler) so queued
posts actually go out.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| when | Yes | ||
| visibility | No | PUBLIC |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the post is published by the scheduler process and requires the scheduler to be running, adding key behavioral context beyond the schema. It also provides format examples for the 'when' parameter, enhancing transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded, with the core purpose stated first, followed by necessary time-format examples and a critical operational note. Every sentence earns its place without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a scheduling tool with no output schema and no annotations, the description covers the essential aspects: what the tool does, how the timing works, and the necessary prerequisite (scheduler). It could mention error handling or edge cases, but it is sufficiently complete for an AI agent to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description compensates well for the 'when' parameter by explaining both ISO and relative time formats. However, it offers no additional meaning for 'text' or 'visibility', leaving a gap in parameter understanding, though these are relatively self-explanatory.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with 'Queue a post for later', using a specific verb and resource, and immediately distinguishes from the sibling 'publish_now'. It clearly states the tool's purpose as scheduling a post for future publication.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the context of use (delayed publishing) and gives an explicit operational instruction: run the scheduler for queued posts to be published. It doesn't explicitly name alternatives, but the sibling 'publish_now' provides the contrast, making the usage context clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
7 tool updates
v1.0.0- First observed
auth_status - First observed
cancel_scheduled - First observed
content_calendar - First observed
list_posts - First observed
post_brief - First observed
publish_now - First observed
schedule_post
TDQS
Each tool has a clearly distinct purpose: auth_status checks authorization, publish_now posts immediately, schedule_post queues for later, list_posts retrieves posts, cancel_scheduled removes queued posts, post_brief gives content guidance, and content_calendar provides a posting cadence. No two tools overlap in function.
Naming mixes verb-first patterns (publish_now, schedule_post, list_posts, cancel_scheduled) with noun-first patterns (auth_status, post_brief, content_calendar). All are snake_case and readable, but the verb/noun order is inconsistent.
With 7 tools, the set is well-scoped for a LinkedIn posting server. Each tool earns its place without unnecessary bloat, covering authentication, publishing, scheduling, listing, canceling, and content guidance.
The core lifecycle is covered: create (publish/schedule), read (list), and delete (cancel scheduled). Missing operations like deleting published posts or editing scheduled posts are minor and can be worked around via cancel-and-recreate.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Schedule and publish to LinkedIn, X, and Threads from your AI. Content calendar, approval-first.
Editorial tools for LinkedIn. Capture ideas, draft posts, build narrative arcs, manage a schedule.
Search, label and export your LinkedIn saved posts, then draft, schedule and publish from them.
Write LinkedIn posts in your voice: ideas, drafts, scheduling, analytics from your personal AI.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables creation of optimized LinkedIn posts using a component-based design system with variants, themes, and composition patterns. Supports multiple post types (text, document, poll, video, carousel) with research-backed optimization for maximum engagement.3Apache 2.0
- AlicenseNot gradedqualityCmaintenanceManage your entire LinkedIn presence - write posts, schedule publishing, track contacts, and access saved content.751MIT
- AlicenseNot gradedqualityDmaintenanceLinkedIn-native AI content creation, scheduling & analytics. Write and post on LinkedIn, create drafts, generate hooks & hashtags, schedule posts, and track engagement — all through natural language.57MIT
- AlicenseAqualityDmaintenanceEnables posting content, sharing articles, and managing LinkedIn profile through natural language using the official LinkedIn REST API with OAuth 2.0.718MIT
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/nadirzhon/linkedin-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server