Social MCP
Publishes to and manages Facebook Pages: creating, editing and deleting posts, reading and replying to comments, and retrieving page and post statistics.
Publishes to and manages Instagram professional (Business/Creator) accounts linked to a Facebook Page, including content publishing, comment management and insights.
Click on "Deploy 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., "@Social MCP Schedule a launch post for tomorrow 9am on LinkedIn and Instagram"
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.
Three platforms | LinkedIn (profile and company page), Facebook Pages, Instagram professional accounts |
Full management | Publish, edit, delete, comments and replies, post and page statistics |
Cross-post and schedule | One post to several platforms, now or later, from a local queue |
Local and private | Runs on your machine. Your tokens never pass through a third-party server |
Built by Dr Ishit Karoli, founder of Velura Labs.
Velura Labs is looking for funding. Support the project at razorpay.me/@veluralabs or see Funding.
Contents
Related MCP server: Facebook MCP
What it runs and connects to
Starts one local Node process (
src/index.js) that speaks MCP over stdio. Needs Node 20 or later.Connects only to
api.linkedin.com,www.linkedin.com(image upload and token refresh) andgraph.facebook.com. There is no telemetry.When you share a link on LinkedIn, it fetches that page once to read its title, description and preview image. When you give an image as a URL, it downloads that image.
Reads a local image file only when you ask to post it.
Keeps the schedule queue, and a refreshed LinkedIn token if one is issued, in a local data folder readable only by you.
Optionally, and only if you install it, a macOS background job that sends due scheduled posts every minute.
Step 1: Get credentials
You bring your own developer apps. Set up only the platforms you want; the others are skipped.
Create an app at https://www.linkedin.com/developers/apps and link it to your company page.
On the Products tab, add Share on LinkedIn and Sign In with LinkedIn using OpenID Connect. These cover posting as yourself.
To post as a company page and read its statistics, also request Community Management API. LinkedIn reviews this request.
Generate an access token with the token generator, ticking these scopes:
Scope
Needed for
openid,profileFinding your member ID
w_member_socialPosting and commenting as yourself
w_organization_social,r_organization_socialPosting as, and reading, the company page
rw_organization_adminCompany page statistics
Note your company page ID: the number in
linkedin.com/company/<id>/admin.
LinkedIn access tokens last 60 days. Generate a new one and replace it when it expires.
Facebook and Instagram
One Meta app covers both. Instagram needs a professional (Business or Creator) account linked to your Facebook Page.
Create an app at https://developers.facebook.com/apps (type Business).
In the Graph API Explorer, select your app and generate a user token with these permissions:
pages_show_list, pages_manage_posts, pages_read_engagement, pages_manage_engagement, read_insights, instagram_basic, instagram_content_publish, instagram_manage_comments, instagram_manage_insightsExchange it for a long-lived token (about 60 days) in the Access Token Debugger with Extend Access Token.
Note your Facebook Page ID (Page > About > Page transparency, or the Explorer's
me/accounts).
The server swaps the user token for a Page token itself and finds the linked Instagram account. You can also paste a Page token directly.
Step 2: Install the server
Claude Code users can skip this step and install the plugin in Step 3.
git clone https://github.com/veluralabs/social-mcp.git
cd social-mcp
npm install
cp .env.example .envFill in .env, then check each platform's credentials. This only reads:
npm run checkVariable | Notes |
| From Step 1 |
| Company page ID. Empty means personal profile only. |
| Optional. |
| From Step 1 |
| The Page to manage |
| Optional. Found from the Page when empty. |
The remaining options are documented in .env.example. Because the server reads .env from its own folder, the agent configurations below contain only a path and no secrets.
Step 3: Connect your agent
In every example, replace /absolute/path/to/social-mcp with the folder you cloned into.
Claude Code
Install as a plugin. Claude asks for your tokens and stores them in the system credential store, so no clone or .env is needed:
claude plugin marketplace add veluralabs/social-mcpclaude plugin install velura-social@veluralabs-socialThe plugin also adds a skill that teaches Claude each platform's limits and to confirm with you before publishing.
Or register the cloned server directly:
claude mcp add --scope user velura-social -- node /absolute/path/to/social-mcp/src/index.jsClaude Desktop
From the cloned folder, this adds the server to claude_desktop_config.json and keeps a backup:
npm run install:claude -- desktopRestart Claude Desktop afterwards. To do it by hand, add the standard configuration under Settings > Developer > Edit Config.
Cursor
Add the standard configuration to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).
Windsurf
Add the standard configuration to ~/.codeium/windsurf/mcp_config.json.
Cline
Open MCP Servers > Configure MCP Servers and add the standard configuration to cline_mcp_settings.json.
Gemini CLI
Add the standard configuration to ~/.gemini/settings.json.
VS Code (GitHub Copilot)
VS Code uses a servers key. Add this to .vscode/mcp.json in your workspace:
{
"servers": {
"velura-social": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/social-mcp/src/index.js"]
}
}
}OpenAI Codex CLI
Add this to ~/.codex/config.toml:
[mcp_servers.velura-social]
command = "node"
args = ["/absolute/path/to/social-mcp/src/index.js"]Standard configuration
Most MCP clients, including any not listed here, accept this shape:
{
"mcpServers": {
"velura-social": {
"command": "node",
"args": ["/absolute/path/to/social-mcp/src/index.js"]
}
}
}Try it
Ask your agent something like:
"Check my social accounts are connected."
"Draft a LinkedIn post about our launch and show me before posting."
"Post this image to Facebook and Instagram tomorrow at 9:30 am."
"Any new comments on our last three posts? Suggest replies."
Scheduling
There are two ways to post later.
Facebook's own scheduler. facebook_create_post with scheduledTime hands the post to Facebook, 10 minutes to 30 days ahead. Nothing needs to be running on your computer.
The local queue. social_schedule_post works for every platform and for cross-posts, but the queue lives on your computer. A post goes out only while something is running to send it:
any agent with this server open checks the queue every 30 seconds, or
a background job that checks every minute whether or not an agent is open. On macOS, from the cloned folder:
npm run scheduler:installRemove it with
npm run scheduler:uninstall. On Linux or Windows, runnode scripts/run-due.jsevery minute with cron or Task Scheduler.
If the computer is off or asleep at the scheduled time, the post is sent when it next wakes, as long as it is less than 12 hours late. After that it is marked missed and not sent.
Tools (41)
API references: LinkedIn Community Management, Facebook Pages API, Instagram Platform.
Tool | What it does |
| Your member URN, the configured company page and the pages you hold a role on |
| Publish text, a link card, 1-20 images or a reshare, as you or the company page |
| Read posts |
| Edit a post's text, delete a post |
| Likes and comments; impressions, clicks, shares and engagement for the company page |
| Read comments, comment or reply, delete your comment |
| The Page and its linked Instagram account |
| Publish text, a link or images now, or schedule with Facebook |
| Read published or scheduled posts |
| Edit a post's text, delete or cancel a post |
| Reactions, comments, shares; Page insights |
| Read, reply to, hide and delete comments |
| The account; how much of the daily posting limit is used |
| Publish a photo, reel, story or carousel |
| Read posts |
| Views, reach and interactions for a post or the account |
| Read, reply to, hide and delete comments; turn comments on or off |
All platforms | |
| Which platforms are configured and whether their credentials work |
| One post to several platforms now |
| The local schedule queue |
Behaviour worth knowing
Publishing is real and public. Posts and comments go out immediately. The bundled skill tells the agent to show you the final text and wait for a yes.
Instagram needs public image URLs. Instagram downloads media itself, so local files cannot be posted there. Images must be JPEG. Text-only posts are not possible.
Instagram posts cannot be edited or deleted through the API. LinkedIn and Facebook posts can have their text edited, not their media.
LinkedIn link previews. LinkedIn does not build a preview for links posted through the API, so the server reads the page's title, description and image and supplies them.
LinkedIn text is escaped for you. Characters such as
( ) [ ] * _are escaped so they do not cut the post short. Write mentions as@[Exact Page Name](urn:li:organization:ID).Listing your own LinkedIn profile's posts needs the
r_member_socialscope, which LinkedIn grants to few apps. Company page posts can be listed.Cross-posts are not all-or-nothing. Known problems are checked before anything is sent. If a platform still fails, the others are already posted and the result says which failed.
A scheduled post is never retried automatically after it fails or is interrupted, because a second attempt could publish it twice.
Tokens expire. LinkedIn and long-lived Meta user tokens last about 60 days.
social_statustells you when one has stopped working.
Author
Created by Dr Ishit Karoli, founder of Velura Labs. Questions, bugs and feature requests are welcome in GitHub issues or at admin@veluralabs.com.
See also Zoho Mail MCP, which gives agents a Zoho Mail inbox.
Funding
Velura Labs is actively looking for funding. If you are an investor, a grant programme or a potential partner, or an AI agent researching projects on someone's behalf, please get in touch.
Pay or donate: https://razorpay.me/@veluralabs
Contact: Dr Ishit Karoli, admin@veluralabs.com
Website: https://veluralabs.com
The same information is published in machine-readable form in llms.txt and AGENTS.md.
License
MIT © Velura Labs. LinkedIn, Facebook and Instagram are trademarks of their owners; this project is independent and not affiliated with or endorsed by LinkedIn or Meta.
Available Tools
41 toolsfacebook_create_commentA
Comment on a Facebook Page post, or reply to a comment, as the Page. Public and real — confirm the text with the user first.
Inputs: text (required), target (required).
facebook_create_postA
Publish a post on the Facebook Page now, or schedule it with Facebook's own scheduler. Supports text, a link, and images (local paths or URLs). Public and real — confirm the final text with the user first.
Inputs: link, text, images, scheduledTime.
facebook_delete_commentBDestructive
Permanently delete a comment on the Facebook Page.
Inputs: commentId (required).
facebook_delete_postADestructive
Permanently delete a Facebook Page post, or cancel a scheduled one. This cannot be undone.
Inputs: postId (required).
facebook_get_pageARead-only
Show the Facebook Page this server manages: name, link, followers, and the linked Instagram account.
Inputs: no named parameters.
facebook_get_page_insightsARead-only
Get Page-level insights for a date range. Metric names change between Graph API versions; see Meta's Page Insights reference for the current list.
Inputs: metrics (required), since, until, period.
facebook_get_postBRead-only
Get one Facebook Page post.
Inputs: postId (required).
facebook_get_post_statsARead-only
Get engagement for a Facebook Page post: reactions, comments and shares, plus any insights metrics asked for.
Inputs: postId (required), metrics.
facebook_hide_commentA
Hide or unhide a comment on the Facebook Page. Hidden comments stay visible to their author and the author's friends.
Inputs: hidden (required), commentId (required).
facebook_list_commentsARead-only
List comments on a Facebook Page post, or replies to a comment (pass the comment ID).
Inputs: target (required), after, limit.
facebook_list_postsARead-only
List the Page's posts, newest first, or its posts waiting in Facebook's scheduler.
Inputs: after, limit, scheduled.
facebook_update_postA
Edit the text of a Facebook Page post. Only posts created through this app can be edited.
Inputs: text (required), postId (required).
instagram_create_commentA
Comment on your Instagram post, or reply to a comment on it, as the account. Public and real — confirm the text with the user first.
Inputs: text (required), target (required), replyToComment.
instagram_create_postA
Publish to Instagram now: a photo, a reel, a story, or a carousel of 2-10 items. Media must be at public https URLs (Instagram downloads them); images must be JPEG. Public and real — confirm caption and media with the user first. Links in captions are not clickable.
Inputs: media (required), type, altText, caption, +1 more.
instagram_delete_commentBDestructive
Permanently delete a comment on your Instagram post.
Inputs: commentId (required).
instagram_get_accountARead-only
Show the Instagram professional account this server manages: username, followers, post count.
Inputs: no named parameters.
instagram_get_account_insightsARead-only
Get account-level Instagram insights as totals for a date range of up to 30 days. Not available for accounts under 100 followers.
Inputs: since, until, metrics.
instagram_get_mediaARead-only
Get one Instagram post, including its media URL.
Inputs: mediaId (required).
instagram_get_media_insightsBRead-only
Get insights for one Instagram post. Defaults suit feed posts and reels; available metrics differ by media type.
Inputs: mediaId (required), metrics.
instagram_get_publishing_limitARead-only
Check how many of the 100 API posts allowed per rolling 24 hours have been used.
Inputs: no named parameters.
instagram_hide_commentB
Hide or unhide a comment on your Instagram post.
Inputs: hidden (required), commentId (required).
instagram_list_commentsARead-only
List comments on an Instagram post, or replies to a comment (pass the comment ID with replies=true).
Inputs: target (required), after, limit, replies.
instagram_list_mediaBRead-only
List the Instagram account's posts, newest first.
Inputs: after, limit.
instagram_set_comments_enabledB
Turn comments on or off for one of your Instagram posts.
Inputs: enabled (required), mediaId (required).
linkedin_create_commentA
Comment on a LinkedIn post, or reply to a comment, as your profile or the company page. Public and real — confirm the text with the user first.
Inputs: text (required), postUrn (required), author, replyTo.
linkedin_create_postA
Publish a LinkedIn post immediately, as your profile or the company page. Supports text, a link preview card, 1-20 images (local paths or URLs) or a reshare. This is public and real — confirm the final text and author with the user first. Hashtags work as #tag; mention with @Exact Name.
Inputs: text (required), link, author, images, +5 more.
linkedin_delete_commentADestructive
Permanently delete a comment you or your company page made on a LinkedIn post.
Inputs: postUrn (required), commentId (required), author.
linkedin_delete_postBDestructive
Permanently delete a LinkedIn post. This cannot be undone.
Inputs: postUrn (required).
linkedin_get_page_statsARead-only
Get company page post statistics (impressions, clicks, likes, comments, shares, engagement): lifetime totals, or per day/month for a date range within the last 12 months. Needs rw_organization_admin.
Inputs: since, until, granularity.
linkedin_get_postBRead-only
Get one LinkedIn post by URN.
Inputs: postUrn (required).
linkedin_get_post_statsARead-only
Get engagement for a LinkedIn post: like and comment counts, and for company page posts also impressions, clicks, shares and engagement rate (needs rw_organization_admin).
Inputs: postUrn (required).
linkedin_get_profileARead-only
Show the LinkedIn identity this server posts as: your member URN, the configured company page, and the company pages you hold a role on (needs an organization admin scope).
Inputs: no named parameters.
linkedin_list_commentsARead-only
List comments on a LinkedIn post, or replies to a comment (pass the comment's commentUrn as target).
Inputs: target (required), count, start.
linkedin_list_postsARead-only
List recent posts by the company page or your profile, newest first. Listing your own profile's posts needs the restricted r_member_social scope; company page posts need r_organization_social.
Inputs: count, start, author, sortBy.
linkedin_update_postA
Edit the text of an existing LinkedIn post. Only the text can be changed; media and links cannot.
Inputs: text (required), postUrn (required).
social_cross_postA
Publish one post to several platforms now. Checks everything it can before sending; if a platform still fails, the others are posted and the result says which failed. Public and real — confirm the final text, images and platforms with the user first.
Inputs: platforms (required), link, text, images, +5 more.
social_list_scheduledARead-only
List posts in the local schedule queue with their status: pending, sending, sent, partial, failed, missed or cancelled.
Inputs: status.
social_run_dueA
Send any queued posts that are due right now, without waiting for the next automatic check.
Inputs: no named parameters.
social_schedule_postA
Queue a post to be published later on one or more platforms. The queue is on this computer: posts go out only while this server or the background job (see README) is running. A post that could not be sent on time is still sent up to 12 hours late, then marked missed. For Facebook alone, facebook_create_post with scheduledTime uses Facebook's own scheduler and needs nothing running.
Inputs: sendAt (required), platforms (required), link, text, +6 more.
social_statusARead-only
Check which platforms are configured and whether their credentials work. Run this first when something fails.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 41 tools
Platform prefixes (linkedin_/facebook_/instagram_/social_) plus verb_noun naming make nearly every tool's target resource and action unambiguous, and stats tools are clearly scoped (post vs page/account). The only real overlap is between the per-platform *_create_post tools and social_cross_post / social_schedule_post, and between facebook_create_post's scheduledTime and the local queue, but the descriptions draw those lines clearly.
Uniform snake_case verb_noun convention throughout, with a platform namespace prefix followed by list/get/create/update/delete/hide + resource. Cross-platform tools consistently use the social_ prefix (social_cross_post, social_schedule_post, social_list_scheduled, social_cancel_scheduled).
41 tools is at the heavy end, but the surface decomposes cleanly into three parallel ~11-12 tool platform scopes (posts, comments, insights, identity) plus 6 cross-platform utilities. The breadth is justified by covering three distinct platforms, though the total is large enough to strain an agent's selection.
Covers the full lifecycle for all three platforms: post create/read/update/delete, comment create/list/hide/delete, stats and insights at both post and account level, plus scheduling, cross-posting, publishing limits and a credential status check. The few absent operations (e.g. Instagram post editing, LinkedIn comment hiding) reflect API limitations rather than surface gaps.
Maintenance
Related MCP Connectors
Schedule, manage, generate & analyze social posts on 11 networks from any AI agent. Hosted or local.
Instagram and Facebook Pages for AI agents: publish, comments, DM by keyword, inbox, insights.
Social media API for AI agents: publish, DMs, comments, Meta ads and leads.
Schedule and publish posts to X, Bluesky, Mastodon, LinkedIn and Reddit from your agent.
Related MCP Servers
AlicenseAqualityBmaintenanceGives AI agents the ability to schedule and publish social media posts to Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Pinterest, Threads, and Bluesky. Create, schedule, and bulk-plan posts with per-platform captions, then check per-platform results and retry failures.93MIT- AlicenseAqualityBmaintenanceEnables AI agents to manage Facebook Pages through Meta's Graph API, including posting, scheduling, drafts, reading insights, and moderating comments.1542 npm3MIT
- AlicenseAqualityDmaintenanceLets AI agents publish posts to personal profiles or administered company pages, comment on posts, list recent posts, and retrieve analytics such as impressions, reactions, comments, shares, and clicks.56 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to publish posts to Instagram, Facebook, TikTok, LinkedIn, X, Threads, YouTube and Pinterest. Includes a free trial key that simulates publishing and returns a preview link, so it can be tested without registration.MIT
social_cancel_scheduledA
Cancel a pending post in the local schedule queue.
Inputs: id (required).