MetorialDocs

Set up Instagram in Metorial for Claude, ChatGPT and Cursor

Share Instagram with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 10 tools (7 read-only).

To give your team Instagram in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Instagram integration in a Metorial portal, and each person signs in to Instagram with their own account. Agents can publish photos, videos, Reels, Stories, and carousels to Instagram. The integration has 10 tools, 7 read-only and 3 write, plus 2 triggers.

What you'll learn

  • How an admin shares Instagram in a portal and how each person connects
  • The 5 OAuth scopes Instagram can request, and what each one allows
  • How to keep the 7 read-only tools and reject the other 3

Before you start

Sign-in methods

MethodTypeWhat a person provides
Instagram Login (default)OAuthSigns in to Instagram
Facebook Login for BusinessOAuthSigns in to Instagram

The portal and metorial setup use Instagram Login unless someone picks another method.

Instagram Login

People sign in to Instagram and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
instagram_business_basicBasic AccessRead basic profile and media data
instagram_business_content_publishPublish ContentPublish media to Instagram
instagram_business_manage_messagesManage MessagesManage direct messages
instagram_business_manage_commentsManage CommentsManage comments on media
instagram_business_manage_insightsManage InsightsAccess analytics and insights

Facebook Login for Business

People sign in to Instagram and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
instagram_basicInstagram BasicRead basic Instagram profile and media data
instagram_content_publishPublish ContentPublish content to Instagram
instagram_manage_commentsManage CommentsManage comments on Instagram media
instagram_manage_insightsManage InsightsAccess analytics and insights
instagram_manage_messagesManage MessagesManage Instagram direct messages
pages_show_listPages ListList managed Facebook Pages
pages_read_engagementPages Read EngagementRead Page metadata required to resolve linked Instagram accounts
pages_manage_metadataPages MetadataManage page metadata (required for webhooks)

Setup settings

Whichever method you pick, setup also asks for:

  • apiVersion (optional): Instagram Graph API version (e.g. v21.0)

Use your own Instagram OAuth app

With your own OAuth app, people see your company's name on the Instagram consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Instagram and copy the Redirect URI.

Register the app with Instagram

Create an OAuth app or client in Instagram and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Instagram integration.

Admin: share Instagram in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Instagram. Under Auth Method, keep Instagram Login or pick another. For how members connect, choose Each person connects, so everyone signs in to Instagram as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Instagram.

Choose who gets it

Add the access groups that should see Instagram. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Instagram integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search instagram

Employee: connect Instagram

In the portal

Open Instagram in the catalog

Sign in to your portal and open Instagram. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. An Instagram sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search instagram
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses Instagram Login. To connect with Facebook Login for Business instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Instagram connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list instagram
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 7 read-only tools, such as get_media and get_profile, and lose the 3 write tools, such as send_message or publish_media.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list instagram
metorial tools <integration-id>
metorial call <integration-id> get_profile -d '{}'

metorial tools lists the 10 tools, minus any you rejected. get_profile takes no input. It retrieves an Instagram Business or Creator account's profile information including username, biography, follower/following counts, and media count.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (7)

  • get_profile: Retrieve an Instagram Business or Creator account's profile information including username, biography, follower/following counts, and media count.
  • get_media: Retrieve Instagram media.
  • search_hashtags: Search for recent or top public posts tagged with a specific hashtag. Needs hashtag.
  • get_mentions: Retrieve posts where your Instagram account has been tagged or @mentioned.
  • get_insights: Retrieve analytics and performance insights for an Instagram account or specific media post.
  • get_stories: Retrieve currently active (non-expired) stories from an Instagram account.
  • get_publishing_limit: Retrieve the authenticated Instagram professional account's current API content publishing quota usage for the rolling publishing window.

Write tools (3)

  • send_message: Send a direct message to an Instagram user, or send a private reply to a comment. Needs action.
  • manage_comments: Create, retrieve, reply to, delete, or hide/unhide comments on Instagram media. Needs action.
  • publish_media: Publish media to Instagram. Needs mediaType.

Triggers

Instagram has 2 triggers, which fire on events in Instagram:

  • webhook_events: Receives real-time webhook notifications from Instagram for comments, mentions, story insights, and direct messages.
  • new_media: [Polling fallback] Triggers when new photos, videos, reels, or carousel posts are published to your Instagram account.

Next steps