English | 한국어
Agenten stärken
Der eigene Befehl des Herausgebers. Kein PlugMCP-Endpunkt.
Host a copy with our keys and logs.
npx -y @mikusnuz/[email protected]Claude Code hat keinen Installationslink für einen lokalen Befehl. Kopieren Sie den Befehl unten und führen Sie ihn in einem Terminal aus.
claude mcp add mikusnuz-meta-mcp-github -- npx -y @mikusnuz/meta-mcp@2.2.2In einem Terminal ausführen.
{ "mcpServers": { "mikusnuz-meta-mcp-github": { "command": "npx", "args": [ "-y", "@mikusnuz/[email protected]" ] } }}claude_desktop_config.json
Remote-URL oder ein Befehl auf Ihrem Rechner? Worin sich die beiden Installationen unterscheiden
Auf PlugMCP ausführen
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
StartenVom Herausgeber
English | 한국어
MCP server for Instagram Graph API, Threads API & Meta platform — 57 tools with Graph API v25.0
Full-coverage MCP server for Instagram Graph API (v26.0), Threads API, and Meta platform management.
Tell your AI assistant things like:
content_publish promptAI Agent Integration: See
llms.txtfor a machine-readable summary, or copytemplates/CLAUDE.md/templates/AGENTS.mdinto your project for automatic MCP discovery.
x-app-usage headermedia_id and accept for invites; invite_id and action remain supported aliases.metric_type, breakdown, and demographic timeframe. Metrics such as views select total_value automatically.trial_params.gif_provider param droppedis_ghost_post on threads_publish_text (auto-archived after 24h)enable_reply_approvals on publish tools, plus threads_get_pending_replies and threads_manage_pending_replycrossreshare_to_ig / crossreshare_to_ig_dark_mode on all publish toolslocation_id on publish tools, plus threads_search_locations and threads_get_locationthreads_lookup_profile and threads_get_profile_posts for public profilesthreads_get_mentionsthreads_get_oembed for embedding public poststhreads_get_conversation for flattened (nested) reply threadsthreads_search_posts: now calls the correct /keyword_search endpoint with the correct search_mode/search_type parameters (previous version targeted a non-existent endpoint)is_verified, profile_picture_url, location_id, root_post, replied_to, reply_audienceimpressions, video_views, engagement replaced with views, reach, saved, sharesparent_post_author_only and followers_only optionsclicks, reposts, reels_skip_rate metricsRequires Node.js 20 or later, including the MCP host's npx environment.
{
"mcpServers": {
"meta": {
"command": "npx",
"args": ["-y", "@mikusnuz/meta-mcp"],
"env": {
"INSTAGRAM_ACCESS_TOKEN": "your_ig_token",
"INSTAGRAM_USER_ID": "your_ig_user_id",
"INSTAGRAM_MESSAGING_ACCESS_TOKEN": "your_page_access_token",
"INSTAGRAM_PAGE_ID": "your_linked_page_id",
"THREADS_ACCESS_TOKEN": "your_threads_token",
"THREADS_USER_ID": "your_threads_user_id"
}
}
}
}
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",
"INSTAGRAM_MESSAGING_ACCESS_TOKEN": "your_page_access_token",
"INSTAGRAM_PAGE_ID": "your_linked_page_id",
"THREADS_ACCESS_TOKEN": "your_threads_token",
"THREADS_USER_ID": "your_threads_user_id"
}
}
}
}
You only need to set the variables for the platforms you use. For example, if you only use Threads, just set THREADS_ACCESS_TOKEN and THREADS_USER_ID.
All platforms (Instagram, Threads) require a Meta Developer App.
Your META_APP_ID and META_APP_SECRET are in App Settings → Basic.
Requires an Instagram Business or Creator account. Switch for free in Instagram app → Settings → Account type.
instagram_basic, instagram_content_publish, instagram_manage_comments, instagram_manage_insights, instagram_manage_contents, instagram_manage_messages, pages_show_list, pages_read_engagement, pages_manage_metadataGET https://graph.facebook.com/v26.0/oauth/access_token
?grant_type=fb_exchange_token
&client_id=YOUR_APP_ID
&client_secret=YOUR_APP_SECRET
&fb_exchange_token=SHORT_LIVED_TOKEN
Or use the meta_exchange_token tool after setup.GET https://graph.facebook.com/v26.0/me/accounts?fields=id,name,access_token&access_token=YOUR_TOKEN
This returns your Facebook Pages. For each page, get the linked Instagram account:
GET https://graph.facebook.com/v26.0/{page-id}?fields=instagram_business_account&access_token=YOUR_TOKEN
The instagram_business_account.id is your INSTAGRAM_USER_ID (a numeric ID like 17841400123456789).
For the DM tools, the matching Page's id is INSTAGRAM_PAGE_ID and its
access_token is INSTAGRAM_MESSAGING_ACCESS_TOKEN. Do not use the IG User
ID or the user token in their place.Works with any Threads account (personal or business). Instagram account link is no longer required since September 2025.
https://threads.net/oauth/authorize
?client_id=YOUR_APP_ID
&redirect_uri=YOUR_REDIRECT_URI
&scope=threads_basic,threads_content_publish,threads_manage_insights,threads_manage_replies,threads_read_replies,threads_keyword_search,threads_manage_mentions,threads_delete,threads_location_tagging,threads_profile_discovery
&response_type=code
https://localhost/ as redirect URI (configure in App Settings → Threads API → Redirect URIs)POST https://graph.threads.net/oauth/access_token
Content-Type: application/x-www-form-urlencoded
client_id=YOUR_APP_ID
&client_secret=YOUR_APP_SECRET
&grant_type=authorization_code
&redirect_uri=YOUR_REDIRECT_URI
&code=AUTHORIZATION_CODE
GET https://graph.threads.net/access_token
?grant_type=th_exchange_token
&client_secret=YOUR_APP_SECRET
&access_token=SHORT_LIVED_TOKEN
GET https://graph.threads.net/v1.0/me?fields=id,username&access_token=YOUR_TOKEN
The id field is your THREADS_USER_ID (a numeric ID like 1234567890).Set only the variables for the platforms you use:
# Instagram (requires Business/Creator account)
INSTAGRAM_ACCESS_TOKEN=EAAxxxxxxx... # Long-lived token from Step 2
INSTAGRAM_USER_ID=17841400123456789 # Numeric ID from Step 2.5
INSTAGRAM_MESSAGING_ACCESS_TOKEN=EAA... # Page token from Step 2.5 (DM tools only)
INSTAGRAM_PAGE_ID=123456789012345 # Linked Facebook Page ID (DM tools only)
# Threads (any account)
THREADS_ACCESS_TOKEN=THQWxxxxxxx... # Long-lived token from Step 3
THREADS_USER_ID=1234567890 # Numeric ID from Step 3.6
# Meta App (for token management & webhooks)
META_APP_ID=123456789012345 # From App Settings → Basic
META_APP_SECRET=abcdef0123456789abcdef # From App Settings → Basic
Access tokens expire after ~60 days. Refresh before expiration:
meta_refresh_token with platform=instagram (requires META_APP_ID and META_APP_SECRET)meta_refresh_token with platform=threads or call:
GET https://graph.threads.net/refresh_access_token
?grant_type=th_refresh_token
&access_token=CURRENT_LONG_LIVED_TOKEN
You can check token status anytime with meta_debug_token.
The following Instagram metrics were deprecated in Graph API v22.0 (January 2025) and removed for all versions on April 21, 2025:
MIT
MCP server for Instagram Graph API, Threads API & Meta platform — 57 tools with Graph API v25.0
{ "mcpServers": { "mikusnuz-meta-mcp-github": { "command": "npx", "args": [ "-y", "@mikusnuz/[email protected]" ] } }}Tools
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Kopieren Sie auf dieser Seite die stdio-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
In diesem Eintrag ist keine erforderliche Umgebungsvariable aufgeführt.
Meta läuft lokal über stdio.
Zuletzt geprüft: 2026-10-27. MCP server for Instagram Graph API, Threads API & Meta platform — 57 tools with Graph API v25.0