Meta MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add meta-mcp -- npx -y @mikusnuz/meta-mcp
README.md

MCP server for Instagram Graph API, Threads API & Meta platform management

English | 한국어

meta-mcp

Full-coverage MCP server for Instagram Graph API (v25.0), Threads API, and Meta platform management.

When to Use

Tell your AI assistant things like:

  • "Post a photo to Instagram" — publish photos, videos, reels, stories, and carousels
  • "Publish a text post on Threads" — text posts with polls, GIFs, link attachments, and topic tags
  • "Get my Instagram follower count and insights" — account and post-level analytics
  • "Schedule a carousel post" — multi-image albums on Instagram (2-10) or Threads (2-20)
  • "Reply to comments on my latest post" — read and respond to comments on both platforms
  • "Cross-post to Instagram and Threads" — use the built-in content_publish prompt
  • "Get analytics for my Threads account" — views, likes, replies, reposts, quotes, clicks
  • "Manage Instagram DMs" — list conversations, read messages, send replies

AI Agent Integration: See `llms.txt` for a machine-readable summary, or copy `templates/CLAUDE.md` / `templates/AGENTS.md` into your project for automatic MCP discovery.

Features

  • 57 tools across Instagram (33), Threads (18), and Meta platform (6)
  • Instagram: Publish photos/videos/reels/stories/carousels with alt text, manage comments, view insights, search hashtags, handle DMs, manage collaboration invites
  • Threads: Publish text/images/videos/carousels with polls, GIFs, topic tags, link attachments, alt text, spoiler flags; manage replies; search posts; view insights; delete posts
  • Meta: Token exchange/refresh/debug, webhook management
  • 2 resources: Instagram profile, Threads profile
  • 2 prompts: Cross-platform content publishing, analytics report
  • Rate limit tracking via x-app-usage header

What's New in v2.0.0

  • Graph API v25.0: Upgraded from v21.0 (expired Sep 2025) to v25.0 (current)
  • Fixed deprecated metrics: impressions, video_views, engagement replaced with views, reach, saved, shares
  • Threads polls: Create posts with interactive poll attachments
  • Threads GIFs: Attach GIFs from GIPHY or Tenor
  • Threads topic tags: Categorize posts with topic tags
  • Threads link attachments: Attach URL preview cards to text posts
  • Threads post search: Search public posts by keyword or topic tag
  • Threads post deletion: Delete posts (rate limited to 100/day)
  • Threads publishing limit: Check remaining quota
  • Threads quote posts: Quote other posts by ID
  • Threads spoiler flag: Mark content as spoiler
  • Threads alt text: Add accessibility descriptions to all media types
  • Threads new reply controls: parent_post_author_only and followers_only options
  • Instagram alt text: Support for photo, reel, and carousel items
  • Instagram collaboration invites: Query and respond to collab invites
  • Updated insights metrics: New clicks, reposts, reels_skip_rate metrics

Account Requirements

Platform Account Type Notes
Instagram Business or Creator account Personal accounts cannot use the Graph API. Free to switch in Instagram settings
Threads Any account All Threads accounts can use the API (Instagram account link no longer required since Sep 2025)
Meta (token/webhook tools) Meta Developer App Create at developers.facebook.com

Installation

npx (Recommended)

{
  "mcpServers": {
    "meta": {
      "command": "npx",
      "args": ["-y", "@mikusnuz/meta-mcp"],
      "env": {
        "INSTAGRAM_ACCESS_TOKEN": "your_ig_token",
        "INSTAGRAM_USER_ID": "your_ig_user_id",
        "THREADS_ACCESS_TOKEN": "your_threads_token",
        "THREADS_USER_ID": "your_threads_user_id"
      }
    }
  }
}

Manual

git clone https://github.com/mikusnuz/meta-mcp.git
cd meta-mcp
npm install
npm run build
{
  "mcpServers": {
    "meta": {
      "command": "node",
      "args": ["/path/to/meta-mcp/dist/index.js"],
      "env": {
        "INSTAGRAM_ACCESS_TOKEN": "your_ig_token",
        "INSTAGRAM_USER_ID": "your_ig_user_id",
        "THREADS_ACCESS_TOKEN": "your_threads_token",
        "THREADS_USER_ID": "your_threads_user_id"
      }
    }
  }
}

Environment Variables

Variable Required Description
INSTAGRAM_ACCESS_TOKEN For Instagram Instagram Graph API access token
INSTAGRAM_USER_ID For Instagram Instagram Business/Creator account ID
THREADS_ACCESS_TOKEN For

Tools (3)

content_publishCross-platform content publishing for Instagram and Threads
get_analyticsRetrieve account and post-level analytics for Instagram or Threads
manage_commentsRead and respond to comments on Instagram or Threads posts

Environment Variables

INSTAGRAM_ACCESS_TOKENInstagram Graph API access token
INSTAGRAM_USER_IDInstagram Business/Creator account ID
THREADS_ACCESS_TOKENThreads API access token
THREADS_USER_IDThreads account ID

Configuration

claude_desktop_config.json
{"mcpServers": {"meta": {"command": "npx", "args": ["-y", "@mikusnuz/meta-mcp"], "env": {"INSTAGRAM_ACCESS_TOKEN": "your_ig_token", "INSTAGRAM_USER_ID": "your_ig_user_id", "THREADS_ACCESS_TOKEN": "your_threads_token", "THREADS_USER_ID": "your_threads_user_id"}}}}

Try it

Post a photo to my Instagram account with the caption 'Hello world!'
Publish a text post on Threads about the latest AI trends with a link attachment.
Get my Instagram follower count and engagement insights for the last 30 days.
Reply to the latest comment on my most recent Instagram post.
Schedule a carousel post for Instagram with 3 images.

Frequently Asked Questions

What are the key features of Meta MCP?

Full support for Instagram Graph API v25.0 including photos, reels, and stories. Comprehensive Threads API integration for text, polls, GIFs, and link attachments. Advanced analytics retrieval for both Instagram and Threads platforms. Built-in rate limit tracking via x-app-usage headers. Support for cross-platform content publishing and DM management.

What can I use Meta MCP for?

Automating social media content scheduling for Instagram and Threads. Generating automated performance reports for social media accounts. Managing community engagement by responding to comments via AI. Cross-posting content simultaneously to multiple Meta platforms.

How do I install Meta MCP?

Install Meta MCP by running: npx -y @mikusnuz/meta-mcp

What MCP clients work with Meta MCP?

Meta MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Meta MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare