meta-mcp / templates
CLAUDE.md26 starsChanged 3 months agoMITView on GitHub
This project uses the meta-mcp MCP server for Instagram Graph API, Threads API, and Meta platform management. All tools are prefixed with mcp__meta__ in Claude Code. DM tools using Facebook Login require INSTAGRAM_MESSAGING_ACCESS_TOKEN (the linked Page access token) and INSTAGRAM_PAGE_ID in addition to the Instagram configuration.
- Reads credentials
In this repository2 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- llms.txtllms.txt
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
All tools are prefixed with mcp__meta__ in Claude Code.
- Distinctive: line 89
Use the meta MCP tools when the task involves:
- Distinctive: line 104
Only set env vars for the platforms you actually use.
- Very specific: line 108
Use the content_publish prompt for cross-platform posting workflows.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Meta MCP — Instructions for Claude
This project uses the meta-mcp MCP server for Instagram Graph API, Threads API, and Meta platform management.
Available MCP Tools
All tools are prefixed with mcp__meta__ in Claude Code.
Meta Platform
meta_exchange_token— Exchange short-lived token for long-lived (~60 days)meta_refresh_token— Extend an Instagram/Facebook token or refresh a Threads token (platformselects the flow)meta_debug_token— Inspect token validity and scopesmeta_get_app_info— Get Meta App informationmeta_subscribe_webhook/meta_get_webhook_subscriptions— Webhook management
Instagram — Publishing
ig_publish_photo— Post a photo (supports alt_text)ig_publish_video— Post a videoig_publish_carousel— Post a carousel/album (2-10 items)ig_publish_reel— Post a Reel (supports alt_text)ig_publish_story— Post a Story (24hr)ig_get_container_status— Check media processing status
Instagram — Media
ig_get_media_list/ig_get_media— List/get mediaig_delete_media— Delete a postig_get_media_insights— Media analytics (views, reach, saved, shares)ig_toggle_comments— Enable/disable comments
Instagram — Comments
ig_get_comments/ig_get_comment— Read commentsig_post_comment/ig_reply_to_comment— Write commentsig_get_replies— Get reply threadsig_hide_comment/ig_delete_comment— Moderate comments
Instagram — Profile & Insights
ig_get_profile— Account profile infoig_get_account_insights— Account analytics (views, reach, follower_count)ig_business_discovery— Look up another business accountig_get_collaboration_invites/ig_respond_collaboration_invite— Collaboration invites
Instagram — Hashtags
ig_search_hashtag/ig_get_hashtag— Search and get hashtag infoig_get_hashtag_recent/ig_get_hashtag_top— Hashtag media feeds
Instagram — Mentions & Tags
ig_get_mentioned_comments— Comments mentioning youig_get_tagged_media— Media you are tagged in
Instagram — Messaging
ig_get_conversations/ig_get_messages/ig_get_message— Read DMsig_send_message— Send a DM
DM tools using Facebook Login require INSTAGRAM_MESSAGING_ACCESS_TOKEN (the linked Page access token) and INSTAGRAM_PAGE_ID in addition to the Instagram configuration.
Threads — Publishing
threads_publish_text— Text post (polls, GIFs, link attachments, topic tags, quotes, spoiler flag, ghost posts, reply approvals, location tag, IG Stories cross-share)threads_publish_image/threads_publish_video— Media posts (alt_text, topic tags, reply approvals, location tag, IG Stories cross-share)threads_publish_carousel— Carousel (2-20 items, reply approvals, location tag, IG Stories cross-share)threads_delete_post— Delete post (max 100/day)threads_get_container_status— Check processing statusthreads_get_publishing_limit— Check remaining quota (250/day)
Threads — Media & Search
threads_get_posts/threads_get_post— List/get poststhreads_get_profile_posts— List a public profile's posts by username (Profile Discovery)threads_search_posts— Search/keyword_searchby keyword or topic tag, filter by media type/author
Threads — Replies
threads_get_replies— Get top-level repliesthreads_get_conversation— Get all replies to a post, flattened (including nested)threads_reply— Reply (supports image/video)threads_hide_reply/threads_unhide_reply— Moderate repliesthreads_get_pending_replies/threads_manage_pending_reply— Reply approval queue (for posts withenable_reply_approvals)
Threads — Profile, Mentions, Locations & oEmbed
threads_get_profile/threads_get_user_threads— Profile infothreads_lookup_profile— Look up a public profile by username (Profile Discovery)threads_get_mentions— Posts where the user was @mentionedthreads_search_locations/threads_get_location— Search and retrieve locations to tagthreads_get_oembed— Get embed HTML/metadata for a public post
Threads — Insights
threads_get_post_insights— Post analyticsthreads_get_user_insights— Account analytics
When to Use
Use the meta MCP tools when the task involves:
- Publishing photos, videos, reels, stories, or carousels to Instagram
- Publishing text, image, video, or carousel posts to Threads
- Cross-posting content to both Instagram and Threads
- Viewing or replying to comments on Instagram or Threads
- Checking follower counts, reach, views, and other analytics
- Searching hashtags or public Threads posts
- Managing Instagram DMs
- Moderating comments and replies (hide/delete)
- Managing Meta API tokens (exchange, refresh, debug)
Important Notes
- Instagram requires a Business or Creator account (free to switch).
- Threads works with any account type.
- Only set env vars for the platforms you actually use.
- Media publishing is async: use
ig_get_container_statusorthreads_get_container_statusto check processing before assuming success. - Threads has a 250 posts/day limit — check with
threads_get_publishing_limitbefore bulk operations. - Access tokens expire after ~60 days. Use
meta_debug_tokento check andmeta_refresh_tokenwith the correctplatformto renew. - Use the
content_publishprompt for cross-platform posting workflows.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

