Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FB_PAGE_ID | Yes | Your Facebook Page ID | |
| IG_ACCOUNT_ID | No | Instagram Business Account ID (optional) | |
| FB_API_VERSION | No | Graph API version (optional, default: v24.0) | v24.0 |
| FB_PAGE_ACCESS_TOKEN | Yes | Page Access Token with required permissions (pages_messaging, pages_manage_metadata, pages_read_engagement, instagram_basic, instagram_manage_messages, instagram_manage_comments, instagram_content_publish) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| send_message | Send a message to a user on Instagram or Facebook Messenger. Can send text or media (image, video, audio). |
| send_reaction | Send a reaction to a message on Instagram |
| get_conversations | Get list of conversations/inbox for Instagram or Facebook. Returns conversation IDs and participant info. |
| get_conversation_by_user | Get conversation ID for a specific user |
| get_conversation_messages | Get messages from a specific conversation |
| get_user_profile | Get profile information for a user on Instagram or Facebook |
| get_my_instagram_profile | Get your own Instagram business account profile |
| get_my_facebook_page | Get your Facebook page information |
| get_posts | Get posts from your Instagram account or Facebook page |
| get_instagram_post_details | Get detailed information about a specific Instagram post including carousel children |
| get_post_comments | Get comments on a post |
| reply_to_comment | Reply to a comment on a post |
| post_to_instagram | Create a new post on Instagram (image or video/reel) |
| post_to_facebook | Create a new post on your Facebook page |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Instagram Profile | Your Instagram business account profile |
| Facebook Page | Your Facebook page information |
| Instagram Inbox | Your Instagram DM inbox |
| Facebook Inbox | Your Facebook Messenger inbox |
| Instagram Posts | Your recent Instagram posts |
| Facebook Posts | Your recent Facebook page posts |