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_publishprompt - "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-usageheader
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,engagementreplaced withviews,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_onlyandfollowers_onlyoptions - 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_ratemetrics
Account Requirements
| Platform | Account Type | Notes |
|---|---|---|
| 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 Threadsget_analyticsRetrieve account and post-level analytics for Instagram or Threadsmanage_commentsRead and respond to comments on Instagram or Threads postsEnvironment Variables
INSTAGRAM_ACCESS_TOKENInstagram Graph API access tokenINSTAGRAM_USER_IDInstagram Business/Creator account IDTHREADS_ACCESS_TOKENThreads API access tokenTHREADS_USER_IDThreads account IDConfiguration
{"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"}}}}