Skip to main content
Glama

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.

NOTE

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) and graph.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.

LinkedIn

  1. Create an app at https://www.linkedin.com/developers/apps and link it to your company page.

  2. On the Products tab, add Share on LinkedIn and Sign In with LinkedIn using OpenID Connect. These cover posting as yourself.

  3. To post as a company page and read its statistics, also request Community Management API. LinkedIn reviews this request.

  4. Generate an access token with the token generator, ticking these scopes:

    Scope

    Needed for

    openid, profile

    Finding your member ID

    w_member_social

    Posting and commenting as yourself

    w_organization_social, r_organization_social

    Posting as, and reading, the company page

    rw_organization_admin

    Company page statistics

  5. 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.

  1. Create an app at https://developers.facebook.com/apps (type Business).

  2. 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_insights
  3. Exchange it for a long-lived token (about 60 days) in the Access Token Debugger with Extend Access Token.

  4. 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 .env

Fill in .env, then check each platform's credentials. This only reads:

npm run check

Variable

Notes

LINKEDIN_ACCESS_TOKEN

From Step 1

LINKEDIN_ORGANIZATION_ID

Company page ID. Empty means personal profile only.

LINKEDIN_DEFAULT_AUTHOR

Optional. person or organization. Defaults to the company page when one is set.

META_ACCESS_TOKEN

From Step 1

FACEBOOK_PAGE_ID

The Page to manage

INSTAGRAM_ACCOUNT_ID

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-mcp
claude plugin install velura-social@veluralabs-social

The 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.js

Claude Desktop

From the cloned folder, this adds the server to claude_desktop_config.json and keeps a backup:

npm run install:claude -- desktop

Restart 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:install

    Remove it with npm run scheduler:uninstall. On Linux or Windows, run node scripts/run-due.js every 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

LinkedIn

linkedin_get_profile

Your member URN, the configured company page and the pages you hold a role on

linkedin_create_post

Publish text, a link card, 1-20 images or a reshare, as you or the company page

linkedin_list_posts, linkedin_get_post

Read posts

linkedin_update_post, linkedin_delete_post

Edit a post's text, delete a post

linkedin_get_post_stats, linkedin_get_page_stats

Likes and comments; impressions, clicks, shares and engagement for the company page

linkedin_list_comments, linkedin_create_comment, linkedin_delete_comment

Read comments, comment or reply, delete your comment

Facebook

facebook_get_page

The Page and its linked Instagram account

facebook_create_post

Publish text, a link or images now, or schedule with Facebook

facebook_list_posts, facebook_get_post

Read published or scheduled posts

facebook_update_post, facebook_delete_post

Edit a post's text, delete or cancel a post

facebook_get_post_stats, facebook_get_page_insights

Reactions, comments, shares; Page insights

facebook_list_comments, facebook_create_comment, facebook_hide_comment, facebook_delete_comment

Read, reply to, hide and delete comments

Instagram

instagram_get_account, instagram_get_publishing_limit

The account; how much of the daily posting limit is used

instagram_create_post

Publish a photo, reel, story or carousel

instagram_list_media, instagram_get_media

Read posts

instagram_get_media_insights, instagram_get_account_insights

Views, reach and interactions for a post or the account

instagram_list_comments, instagram_create_comment, instagram_hide_comment, instagram_delete_comment, instagram_set_comments_enabled

Read, reply to, hide and delete comments; turn comments on or off

All platforms

social_status

Which platforms are configured and whether their credentials work

social_cross_post

One post to several platforms now

social_schedule_post, social_list_scheduled, social_cancel_scheduled, social_run_due

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_social scope, 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_status tells 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.

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 tools
facebook_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_commentB
Destructive

Permanently delete a comment on the Facebook Page.

Inputs: commentId (required).

facebook_delete_postA
Destructive

Permanently delete a Facebook Page post, or cancel a scheduled one. This cannot be undone.

Inputs: postId (required).

facebook_get_pageA
Read-only

Show the Facebook Page this server manages: name, link, followers, and the linked Instagram account.

Inputs: no named parameters.

facebook_get_page_insightsA
Read-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_postB
Read-only

Get one Facebook Page post.

Inputs: postId (required).

facebook_get_post_statsA
Read-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_commentsA
Read-only

List comments on a Facebook Page post, or replies to a comment (pass the comment ID).

Inputs: target (required), after, limit.

facebook_list_postsA
Read-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_commentB
Destructive

Permanently delete a comment on your Instagram post.

Inputs: commentId (required).

instagram_get_accountA
Read-only

Show the Instagram professional account this server manages: username, followers, post count.

Inputs: no named parameters.

instagram_get_account_insightsA
Read-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_mediaA
Read-only

Get one Instagram post, including its media URL.

Inputs: mediaId (required).

instagram_get_media_insightsB
Read-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_limitA
Read-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_commentsA
Read-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_mediaB
Read-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_commentA
Destructive

Permanently delete a comment you or your company page made on a LinkedIn post.

Inputs: postUrn (required), commentId (required), author.

linkedin_delete_postB
Destructive

Permanently delete a LinkedIn post. This cannot be undone.

Inputs: postUrn (required).

linkedin_get_page_statsA
Read-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_postB
Read-only

Get one LinkedIn post by URN.

Inputs: postUrn (required).

linkedin_get_post_statsA
Read-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_profileA
Read-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_commentsA
Read-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_postsA
Read-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_cancel_scheduledA

Cancel a pending post in the local schedule queue.

Inputs: id (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_scheduledA
Read-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_statusA
Read-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

    A3.7/5.0

    Scored across 41 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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).

    Tool Count3/5

    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.

    Completeness5/5

    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

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Gives 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.
      93
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to manage Facebook Pages through Meta's Graph API, including posting, scheduling, drafts, reading insights, and moderating comments.
      15
      42 npm
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Lets 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.
      5
      6 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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