Meta Pixel
Back to Blog
Grok Build setup4 min readNov 15, 2026By Andrii Pasika· Founder, LoomaScale

Connect Grok Build to Meta Ads

Short answer

To connect Grok Build to Meta Ads, install the LoomaScale plugin with the terminal command below. Run grok, open /mcps, select loomascale, and authenticate in your browser. Connect Meta Ads in LoomaScale, then ask Grok to list your accessible accounts or resources and select the correct one before requesting a report.

Connect Meta Ads to Grok Build for Facebook and Instagram advertising checks from the terminal. The first task is to select the correct ad account, then distinguish campaign, ad set and ad delivery. This guide targets paid advertising rather than organic social post analytics.

What do you need before installing?

You need Grok Build installed and working in your terminal, a LoomaScale account, and browser access for authentication. This guide covers the Grok Build terminal agent. Install Grok Build first using xAI's getting started guide.

You need a Meta identity with access to the intended advertising account. Page and Instagram identity access may also be required for creative or campaign creation tasks.

How do you install LoomaScale for Meta Ads in Grok Build?

1. Install the LoomaScale plugin

Run this command in your terminal:

grok plugin install "loomascale/agent-plugin@main#plugins/loomascale" --trust

The quoted source selects the plugins/loomascale directory on the main branch. The --trust flag grants plugin trust so Grok can load its components. This installs LoomaScale's shared plugin, which uses https://api.loomascale.com/mcp; each data source still needs its own connection.

2. Start Grok and open the MCP menu

grok

Inside the Grok session, enter the following slash command:

/mcps

3. Authenticate the loomascale connection

Select loomascale in the MCP list and start authentication. Complete the LoomaScale sign-in in your browser, then return to the terminal. The MCP menu supports i for OAuth sign-in. If the browser does not open automatically, use the sign-in URL shown by Grok.

4. Connect your Meta Ads data source

Open Connections in LoomaScale and connect Meta Ads with the provider identity that can access your data. Browser authentication for the plugin and permission to a platform account are separate steps.

Choose Meta Ads, complete Meta authentication and select the permitted business assets. A Facebook Page connection alone does not establish access to the advertising account.

How do you verify access to Meta Ads?

Use LoomaScale to list my accessible Meta ad accounts with names and IDs. Ask which account to use and read its currency and time zone where available. Do not create, edit or activate advertising.

Verify the returned ad account ID against the advertiser you intended. Keep Page IDs, Instagram account IDs and advertising account IDs distinct.

How do you inspect Facebook and Instagram ad delivery?

An active ad can remain blocked by its ad set or campaign. Inspect the hierarchy before diagnosing creative fatigue. Separate delivery findings from performance comparisons and preserve the attribution setting used for each report.

For the selected Meta ad account, review the last 7 complete days. Show campaign and ad set spend, impressions, clicks and available attributed results, naming the result definition and attribution window. Inspect effective delivery status and available review issues for ads with no delivery. State dates and currency. Change nothing.

What can Grok Build do with Meta Ads through LoomaScale?

LoomaScale supports Meta reporting and supported campaign, ad set, ad and budget operations. Standard campaign creation flows create paused objects; activation is separate. Permission to an ad account does not automatically grant every Page or Instagram identity needed for a creative.

What if the plugin or account is missing?

Check the installation with grok plugin list. If needed, enable it with grok plugin enable loomascale, then start a new Grok session or reload the Plugins tab. Reopen /mcps and authenticate loomascale if sign-in is incomplete. If the server connects but the account is missing, check the provider connection and account permissions in LoomaScale.

If assets are missing, check Meta business permissions and the assets selected during consent. Different attribution windows can explain different conversion totals; an account connection does not make platform reports identical to GA4.

Connect Meta Ads to another AI assistant

Connect another data source to Grok Build

Install the shared plugin once. These guides cover different account types and first checks; follow the one for the data you need.

Sources and setup references

Setup references checked on November 15, 2026. Provider documentation explains platform behavior; the LoomaScale plugin defines the tools available through this connection.

FAQ

Can this connection work with both Facebook and Instagram ads?

Yes, through accessible Meta ad accounts. Available advertising data and supported actions depend on account permissions and the Page or Instagram identities needed by the task. This is not a general connection for every organic social metric.

Does installing the plugin automatically connect my Meta Ads account?

No. Installation loads the plugin. Authenticate loomascale from /mcps, connect the platform in LoomaScale, and verify an actual account lookup. The provider identity must already have access to the account or resource you select.

Who wrote this

Andrii Pasika, founder of LoomaScale

Andrii Pasika

Founder, LoomaScale

Andrii founded LoomaScale and wrote the Google Ads MCP server behind it. He runs his own campaigns through it, and mail to team@loomascale.com reaches him.

Use Meta Ads in Grok Build

Connect Meta Ads in LoomaScale, authenticate the plugin, and run the account verification prompt above.

Start with LoomaScale

Connect your assistant to your ad platform

LoomaScale runs inside the assistant you already use. Pick the pair you work with; each guide takes about five minutes.

ChatGPT
Google Ads

Manage Google Ads campaigns from ChatGPT: search terms, budgets and new campaigns, paused for your review. One-click install from ChatGPT's directory.

Read the integration
Claude
Google Ads

Manage Google Ads from Claude: audits, budget changes and new campaigns, every write inside the spend cap you set. Connect from Claude's directory.

Read the integration
Claude Code
Google Ads

Install the LoomaScale plugin in Claude Code with two commands and audit Google Ads from your terminal: search terms, budgets and pacing, with skills built in.

Read the integration
Codex
Google Ads

Install the LoomaScale plugin in OpenAI Codex with two commands and audit Google Ads from your terminal: search terms, budgets and conversion goals.

Read the integration
ChatGPT
Meta Ads

Manage Facebook and Instagram campaigns from ChatGPT: ad sets, budgets and creatives in one chat. The same one-click install.

Read the integration
Claude
Meta Ads

Manage Facebook and Instagram campaigns from Claude: audits, budget caps and new ad sets, inside the limits you set.

Read the integration
Claude Code
Meta Ads

Run Facebook and Instagram campaign reviews from Claude Code: the same plugin, one sign-in, and skills for waste audits, pacing and creative fatigue.

Read the integration
Codex
Meta Ads

Review Facebook and Instagram campaigns from OpenAI Codex: the same plugin and sign-in, with placement, age and lead-quality checks.

Read the integration
ChatGPT
TikTok Ads

Manage TikTok campaigns from ChatGPT: reports, video watch-through, audience breakdowns, and pauses, budgets and bids on request. The same one-click install.

Read the integration
Claude
TikTok Ads

Manage TikTok campaigns from Claude: audits, video and audience reports, and pauses, budgets and bids inside the spend cap you set.

Read the integration
Manus
Google Ads

Connect Manus to Google Ads through LoomaScale’s MCP server. Analyze campaigns, keywords and search terms, then request changes within your permissions and spend cap.

Read the integration
Slack
Google Ads

Ask Slackbot about Google Ads in any Slack DM: audits, search terms and pacing checks, with changes kept inside your spend cap. Install the app once per workspace.

Read the integration
Manus
Meta Ads

Connect Manus to Meta Ads through LoomaScale’s MCP server. Review Facebook and Instagram campaigns, ad sets, creatives and placements.

Read the integration
Slack
Meta Ads

Ask Slackbot about Facebook and Instagram campaigns in any Slack DM: delivery, pacing and ad-set spend, read live from Meta Ads.

Read the integration