
linkedin-mcp-server
io.github.MagicPost/linkedin-mcp-server
Write, schedule and publish LinkedIn posts, reply to comments, find leads and read analytics.
Documentation
MagicPost LinkedIn MCP Server
The official MCP server of MagicPost. Connect Claude, ChatGPT, Gemini, Perplexity, Grok, Mistral, Cursor, Claude Code or Codex to your MagicPost account, then write, schedule and publish LinkedIn posts, reply to comments, find leads and read your analytics from a conversation.
MagicPost is a LinkedIn verified partner: publishing and your own post analytics run on official LinkedIn endpoints. The server is hosted by MagicPost, so there is nothing to install or self-host.
| Server URL | https://mcp.magicpost.in/mcp |
| Transport | Streamable HTTP |
| Authentication | Sign-in (OAuth) for AI assistants, no API key to handle. API key (Authorization: Bearer mp_...) for automation tools and scripts |
| Tools | 105, each with a title and a read-only or destructive annotation (full list) |
| Works with | Claude, ChatGPT, Gemini, Perplexity, Grok, Mistral, Cursor, Claude Code, Codex, and any MCP client that supports Streamable HTTP |
| LinkedIn access | Official LinkedIn API for publishing and for your own post analytics |
| Teams and agencies | One connection for every LinkedIn account you manage (98 of the 105 tools) |
| Price | Included in the Creator plan ($69/mo.), in Team and Agency ($59/mo. per Creator seat, from 2 seats) and in the free trial |
| Documentation | dev.magicpost.in |
| Last updated | November 27, 2026 |
Connect your assistant
AI assistants connect by sign-in: paste the server URL, log in to MagicPost in the window that opens, done. You also find these steps in the app under Settings → API & MCP → Connect a tool.
Claude (claude.ai, desktop app, mobile)
- Open Settings → Connectors → Add custom connector.
- Paste
https://mcp.magicpost.in/mcpand confirm. - Log in to MagicPost in the window that opens.
One connection covers the web, the desktop app and mobile.
ChatGPT, Gemini, Perplexity, Grok, Mistral, Codex
- In the assistant's settings, add a custom MCP connector.
- Paste
https://mcp.magicpost.in/mcpand choose the OAuth connection. - Log in to MagicPost in the window that opens.
Cursor
Add this block to ~/.cursor/mcp.json (example file), then log in to MagicPost when Cursor asks:
{
"mcpServers": {
"magicpost": {
"url": "https://mcp.magicpost.in/mcp"
}
}
}
Claude Code
claude mcp add --transport http magicpost https://mcp.magicpost.in/mcp
Then type /mcp in Claude Code and log in.
Automation tools and scripts
n8n, Zapier, Make and your own code use an API key instead of a sign-in. Create one in the app under Settings → API & MCP → Connect a tool, then send it as Authorization: Bearer mp_... (example). The same key works on the REST API at https://api.magicpost.in/api/v1.
What your assistant can do
| Area | Tools | Examples |
|---|---|---|
| Writing in your voice | 7 | generate_post (from a topic, a link, or a transcript of up to 150,000 characters), list_templates, manage_generation_settings |
| Posts and media | 17 | create_or_update_post, attach_media_to_post, attach_html_slides (the assistant designs a visual or a carousel of 2 to 20 slides), search_mentions |
| Scheduling and calendar | 8 | schedule_post, publish_post_now, get_calendar, get_recommended_posting_times, schedule_post_comment |
| Approval and discussion | 2 | list_post_discussion, manage_post_discussion |
| Ideas | 11 | add_idea_to_notebook, generate_ideas, manage_idea_sources |
| Media library and saved posts | 7 | list_media_library, attach_library_media_to_post, manage_collection |
| Comments and engagement | 14 | list_received_comments, reply_to_comment, engage_with_post, get_engagement_feed |
| Analytics | 6 | get_metrics_summary, list_linkedin_post_metrics, get_insights |
| Inspiration | 1 | search_inspiration_posts |
| Leads and CRM | 20 | detect_leads, list_leads, create_icp, send_leads_to_crm |
| Teams and agencies | 12 | list_org_members, get_org_metrics_summary, get_team_activity, manage_org_group |
| Total | 105 | All tools, one line each |
You never name a tool: you ask in plain language and the assistant picks the tools. See PROMPTS.md for prompts that work, grouped by job.
Example prompts
| You ask | The assistant calls |
|---|---|
| "Write a post from this webinar transcript, in my voice, and save it as a draft." | generate_post |
| "Schedule it for Tuesday at 9:00 and add a first comment with the signup link." | schedule_post, schedule_post_comment |
| "Turn this draft into a 6-slide carousel in our brand colors." | attach_html_slides |
| "What were my 5 best posts this quarter, and what do they have in common?" | get_metrics_summary, get_insights |
| "Reply to the comments on yesterday's post. Show me each reply before sending." | list_received_comments, reply_to_comment |
| "Who engaged with my last post and matches my ICP? Send the A leads to my CRM." | detect_leads, list_leads, send_leads_to_crm |
| "What does each of my clients have scheduled next week? Who has nothing planned?" | list_org_members, get_team_activity |
Teams and agencies
An administrator of a Team or Agency organisation connects once and works on every LinkedIn account they manage. 98 of the 105 tools accept the account to serve (member_user_id, or the X-MagicPost-Member-Id header on the REST API). The tool then runs as if the admin had switched to that account in the app: the member's writing style, knowledge base, credits, quotas, LinkedIn connection and approval mode apply.
- An account manager only reaches the accounts assigned to them.
- Billing, credit purchases, CRM connections, account security and the LinkedIn connection are never opened for a managed account.
- With approval mode on, a scheduled post that is not approved is not published, and publishing immediately is refused.
The client's own assistant. An agency can also let a client plug their own assistant into their client space. The client gets a separate connection address and a smaller catalogue of 13 tools (read, comment, approve, and, with an Edit link, write and schedule), with the rights of their link and nothing more. See the guide to managing multiple LinkedIn accounts via MCP.
Guardrails and limits
- Scheduling warnings. Scheduling on a day or a time slot that already has a post returns a warning the assistant must show you before going through.
- Publishing limit. MagicPost limits how many posts one LinkedIn profile publishes per 24 hours. Over the limit, scheduling and publishing are refused and the answer gives the next free slot.
- Paced engagement. Likes, comments and replies go through a paced queue, up to 200 replies per 24 hours, and can be cancelled before they go out.
- Credits. An action done by an assistant counts exactly like the same action in the app. Before a lead detection starts, the server returns the credits left and asks for your confirmation.
- Rate limits. 60 requests per minute per connection, 30 on scheduling and publishing. Post generation: 3 per minute, 20 per day, 50 per week per account.
- Media. A post holds up to 9 images, or one video, or one PDF. Files are checked for type, size and content before they are attached.
What it does not do
- It does not generate AI images. The only visuals an assistant creates are the images and carousels it designs in HTML.
- Billing, plans, API keys and account security stay in the MagicPost app.
- A post published outside MagicPost can be read in the analytics tools, not edited or rescheduled.
Pricing
The MCP server and the REST API are included, at no extra cost, in:
| Plan | Monthly price | MCP access |
|---|---|---|
| Free trial | $0 | Yes |
| Creator | $69/mo. ($39/mo. billed yearly) | Yes |
| Team | $59/mo. per Creator seat, from 2 seats | Yes, with a Creator seat |
| Agency | $59/mo. per Creator seat, from 2 seats | Yes, with a Creator seat, and for an administrator who uses no seat |
| Growth | $49/mo. | No |
Prices checked on November 27, 2026. The current grid is on the pricing page.
Documentation and guides
- Quickstart: connect an assistant in 3 steps
- Tool catalog: inputs and outputs of the 105 tools
- Media, visuals and carousels
- REST API reference
- Guide: the LinkedIn MCP server, use case by use case
- Guide: posting and scheduling on LinkedIn from Claude
- Guide: reading your LinkedIn analytics in Claude
- Guide: managing multiple LinkedIn accounts via MCP
- Help center: what is MCP and what can I do with it?, connect Claude, connect ChatGPT
- Product page
About this repository
This repository holds the public metadata of the hosted server: server.json for the MCP Registry (io.github.MagicPost/linkedin-mcp-server), connection examples, the tool list and prompt examples. The server runs at mcp.magicpost.in; its source code is not in this repository.
Support
- Questions and bugs: open an issue here, or write to support@magicpost.in
- Service status: status.magicpost.in
- Privacy policy and terms
No installation packages available.