Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| META_APP_ID | No | Meta App ID (required for token/webhook tools and token exchange) | |
| META_APP_SECRET | No | Meta App Secret (required for token/webhook tools and token exchange) | |
| THREADS_USER_ID | No | Threads user ID (required for Threads tools) | |
| INSTAGRAM_USER_ID | No | Instagram Business/Creator account ID (required for Instagram tools) | |
| THREADS_ACCESS_TOKEN | No | Threads API access token (required for Threads tools) | |
| INSTAGRAM_ACCESS_TOKEN | No | Instagram Graph API access token (required for Instagram tools) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| meta_exchange_token | Exchange a short-lived token for a long-lived token (valid ~60 days). Requires META_APP_ID and META_APP_SECRET. |
| meta_refresh_token | Refresh a long-lived token before it expires. Returns a new long-lived token. |
| meta_debug_token | Debug/inspect an access token to check validity, expiration, scopes and associated user. |
| meta_get_app_info | Get Meta App basic information (name, category, namespace, etc.). |
| meta_subscribe_webhook | Subscribe to webhook notifications for an object (e.g., 'instagram', 'page'). Requires META_APP_ID and META_APP_SECRET. |
| meta_get_webhook_subscriptions | List current webhook subscriptions for the Meta App. |
| ig_publish_photo | Publish a photo to Instagram. Two-step process: creates container then publishes. Requires image_url (publicly accessible HTTPS URL). |
| ig_publish_video | Publish a video to Instagram feed. Waits for video processing before publishing. |
| ig_publish_carousel | Publish a carousel (album) post with 2-10 images/videos. Each item needs an image_url or video_url. |
| ig_publish_reel | Publish a Reel (short video). Waits for video processing. |
| ig_publish_story | Publish a Story (image or video). Stories disappear after 24 hours. |
| ig_get_container_status | Check the processing status of a media container (useful for videos). |
| ig_get_media_list | Get list of media published on the Instagram account. |
| ig_get_media | Get details of a specific Instagram media post. |
| ig_delete_media | Delete an Instagram media post (posts, carousels, reels, stories). This action is irreversible. Requires instagram_manage_contents permission. |
| ig_get_media_insights | Get insights/analytics for a specific media post. Note: 'impressions' and 'video_views' were deprecated in v22.0 — use 'views' instead. Available metrics: views, reach, saved, shares, likes, comments, reposts, reels_skip_rate. |
| ig_toggle_comments | Enable or disable comments on an Instagram media post. |
| ig_get_comments | Get comments on a specific Instagram media post. |
| ig_get_comment | Get details of a specific comment. |
| ig_post_comment | Post a top-level comment on a media post. |
| ig_get_replies | Get replies to a specific comment. |
| ig_reply_to_comment | Reply to a specific comment. |
| ig_hide_comment | Hide or unhide a comment on your post. |
| ig_delete_comment | Delete a comment from your media post. This action is irreversible. |
| ig_get_profile | Get Instagram Business/Creator account profile information. |
| ig_get_account_insights | Get Instagram account insights. Note: 'impressions', 'email_contacts', 'phone_call_clicks', 'text_message_clicks', 'get_directions_clicks', 'website_clicks', 'profile_views' were deprecated in v22.0. Use 'views', 'reach', 'follower_count', 'reposts' instead. |
| ig_business_discovery | Look up another Instagram Business/Creator account's public info by username. |
| ig_get_collaboration_invites | Get pending collaboration invites for the Instagram account. Added in December 2025. |
| ig_respond_collaboration_invite | Accept or decline a collaboration invite. Added in December 2025. |
| ig_search_hashtag | Search for a hashtag ID by name. Required before querying hashtag media. Limited to 30 unique hashtags per 7-day rolling window. |
| ig_get_hashtag | Get hashtag information by ID. |
| ig_get_hashtag_recent | Get recent media tagged with a specific hashtag. |
| ig_get_hashtag_top | Get top (most popular) media tagged with a specific hashtag. |
| ig_get_mentioned_comments | Get comments where the account was @mentioned. Returns the media and comment details. |
| ig_get_tagged_media | Get media where the account is tagged (photo tags, not @mentions). |
| ig_get_conversations | Get Instagram DM conversations list. Requires 'instagram_manage_messages' permission and the Instagram Messaging API. |
| ig_get_messages | Get messages in a specific DM conversation. |
| ig_send_message | Send a DM to a user. Requires 'instagram_manage_messages' permission. Can only message users who have messaged you first (24hr window for standard, 7-day for human agent). |
| ig_get_message | Get details of a specific DM message. |
| threads_publish_text | Publish a text-only post on Threads. Supports optional link attachment, poll, GIF, topic tag, and quote post. |
| threads_publish_image | Publish an image post on Threads. Supports topic tag, quote post, alt text, and spoiler flag. |
| threads_publish_video | Publish a video post on Threads. Waits for video processing. Supports topic tag, quote post, alt text, and spoiler flag. |
| threads_publish_carousel | Publish a carousel post on Threads with 2-20 images/videos. |
| threads_delete_post | Delete a Threads post. This action is irreversible. Rate limited to 100 deletions per 24 hours. |
| threads_get_container_status | Check the processing status of a Threads media container. |
| threads_get_publishing_limit | Check how many posts you can still publish within the current 24-hour window (max 250 posts/day). |
| threads_get_posts | Get a list of published Threads posts. |
| threads_get_post | Get details of a specific Threads post. |
| threads_search_posts | Search for public Threads posts by keyword or topic tag. Results can be filtered by media type and author. |
| threads_get_replies | Get replies (conversation) for a specific Threads post. |
| threads_reply | Reply to a Threads post or another reply. |
| threads_hide_reply | Hide a reply on your Threads post. Hidden replies are still visible if directly accessed. |
| threads_unhide_reply | Unhide a previously hidden reply on your Threads post. |
| threads_get_profile | Get Threads user profile information including verification status. |
| threads_get_user_threads | Get all threads published by the user (alias for threads_get_posts with user context). |
| threads_get_post_insights | Get insights/analytics for a specific Threads post (views, likes, replies, reposts, quotes, clicks). |
| threads_get_user_insights | Get account-level Threads insights (views, likes, replies, reposts, quotes, clicks, followers, follower demographics). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| content_publish | Cross-post content to Instagram and Threads simultaneously |
| analytics_report | Generate a combined analytics report for Instagram and Threads |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| instagram-profile | Instagram Business/Creator account profile information |
| threads-profile | Threads user profile information |