Encrypted, row-bound tokens
Platform tokens are sealed with AES-256-GCM under versioned keys, and each ciphertext is bound to the connection it belongs to.
Security
You're handing an AI the keys to your ad accounts. Here's exactly how MegaMCP keeps those keys safe, and keeps the AI on a leash.
Last updated:
Three locks on every account
Your AI can read what you switch on and propose changes. It can't apply them, raise a cap, or see a token.
Platform tokens are sealed with AES-256-GCM under versioned keys, and each ciphertext is bound to the connection it belongs to.
Every write is a plan with a diff that waits for a person. Budget bumpers are checked when it's proposed and again before it's applied.
Each permission is listed below with the reason MegaMCP asks for it. Optional products ask separately.
openidemailadwordsanalytics.readonlyanalytics.editwebmasterstagmanager.readonlytagmanager.edit.containerstagmanager.edit.containerversionstagmanager.publishads_readads_managementbusiness_managementOAuth platforms use their own sign-in. HubSpot also supports private-app tokens, and WordPress uses an application password, never your login password. Disconnect removes stored access in MegaMCP; revoke credentials at the platform to end their access there.
Platform tokens are encrypted with AES-256-GCM, with versioned keys for rotation, and bound to the database row they belong to.
Connected-platform changes require a reviewed plan with a diff and human approval. Budget bumpers can block supported budget changes. Internal report drafts can be saved directly; public sharing requires admin review.
Supported operations record what they need for reversal. Irreversible operations are marked before approval and excluded from undo. Undo is its own plan, with its own diff and approval.
Every tool call, plan, approval, connection and billing event is logged with who did it and from which AI app.
We never train models on your data. Reporting snapshots are stored when you capture them. The optional hosted agent stores encrypted conversations and tool receipts; your chosen provider's data terms apply.
OAuth flows use single-use state and PKCE where supported. Review account access and client assignment after connecting. A first Google, Meta, Microsoft, HubSpot or other one-click sign-in switches on every account it finds for reads; changes still need a person's approval. New file, key-based and beta integration accounts start switched off, and a first WordPress or store connection with exactly one discovered account switches that account on. Reconnecting preserves existing choices. Your AI sees enabled accounts within its permitted client scope. We request the scopes MegaMCP's features use:
Each Google product is its own short consent: connecting Google Ads asks only for the Ads permission, Search Console only for Search Console, and so on. Adding another product to the same login uses Google's incremental authorization, so earlier grants stay as they were.
| Scope | Why |
|---|---|
openid | Identify which Google account you connected. |
email | Show which Google account a connection belongs to. |
adwords | Google Ads API access. Google offers only this one scope; MegaMCP's own approvals decide what actually changes. |
analytics.readonly | Run GA4 reports. |
analytics.edit | Change the GA4 settings you approve: key events, custom dimensions and metrics, audiences, web data streams, data retention, enhanced measurement and property settings. Deleting a data stream or archiving a definition is marked irreversible before approval. |
webmasters | Read Search Console performance, inspect URLs, submit sitemaps (after approval). |
tagmanager.readonly | Read and audit Tag Manager containers. |
tagmanager.edit.containers | Create and update GA4 event tags, custom-event triggers and constant variables, and pause tags, in a workspace (after approval). |
tagmanager.edit.containerversions | Create a container version so a workspace can be published. |
tagmanager.publish | Publish a workspace, always as its own approved plan. |
These are requested separately when an admin connects the corresponding product. They are not added to the default marketing grant automatically. Operator API setup, Google verification and customer consent are required; code support alone does not establish public approval.
| Scope | Why |
|---|---|
drive.file | Read and edit only files created for or explicitly selected for MegaMCP, including supported Sheets, Docs and Slides. Existing files use Google's Picker and a separate narrow browser grant. |
content | Inspect Merchant Center products and data sources, and perform the specific account-name/product-copy edits you approve. Product-input edits are irreversible. |
business.manage | Discover Business Profile locations, read reviews, and after approval reply to a review or change a location's website URI or regular hours. Google project/API approval may also be required. |
youtube.readonly | Read your connected channel and owned video metadata. |
youtube.force-ssl | Optional YouTube management consent for reviewed video title/description changes. The permission is broader than the metadata tools MegaMCP exposes. |
bigquery | Read metadata and dry-run constructed SELECT queries in an enabled dataset. Actual query execution requires cost consent and a separate human-approved plan with maximum bytes billed; costs cannot be undone. |
Microsoft Graph requests delegated Files.Read.All for reads, or Files.ReadWrite.All when reviewed renames are selected, plus identity and offline access. These grants are broad at Microsoft; MegaMCP checks the enabled folder and client before file operations. Dropbox OAuth requests account_info.read, files.metadata.read and files.content.read and restricts tools to the enabled folder. Private commerce, research, advertising and SEO credentials can also have broader vendor privileges than MegaMCP's tool set. Use dedicated credentials, review each connection's disclosure, and revoke vendor access separately when finished.
| Permission | Why |
|---|---|
ads_read | Read campaigns, ad sets, ads and insights. |
ads_management | Make the changes you approve (pause, budgets, duplicate, create paused ads). |
business_management | Find ad accounts owned by your Business Manager. |
| Scope | Why |
|---|---|
https://ads.microsoft.com/msads.manage | Microsoft Advertising API access. Microsoft offers only this one scope; it lets MegaMCP read the ad accounts your login can reach and make the changes you approve (statuses, daily budgets, negative keywords). |
offline_access | Get a refresh token, so the connection keeps working after the one-hour access token expires. |
openid | Sign you in with your Microsoft account. |
profile | Show which Microsoft account a connection belongs to. |
| Scope | Why |
|---|---|
oauth | Required by HubSpot for every app that connects with OAuth; also lets us read the connected account's id, name and currency. |
crm.objects.contacts.read | Search and read contacts, and read notes, tasks, calls, emails and meetings (HubSpot's activity APIs use the contact scopes). |
crm.objects.contacts.write | Create contacts, update contact properties, and add notes and tasks (after you approve the plan). |
crm.objects.companies.read | Search and read companies. |
crm.objects.companies.write | Update company properties (after you approve the plan). |
crm.objects.deals.read | Search and read deals and deal pipelines. |
crm.objects.deals.write | Create deals and update deal properties such as stage and amount (after you approve the plan). |
crm.objects.owners.read | Show who owns a record and check owner ids before assigning them. |
crm.schemas.contacts.read | List contact properties, including traffic-source and click-id properties. |
crm.schemas.deals.read | List deal properties. |
Each appears in the dashboard only after the vendor approves MegaMCP's app. Customers can still use their own dedicated tokens or keys instead.
| Service | What MegaMCP requests |
|---|---|
| TikTok Ads | Ad account management, campaign management and reporting permissions, chosen on MegaMCP's TikTok app |
| LinkedIn Ads | r_ads, r_ads_reporting, rw_ads |
| Reddit Ads | identity, adsread, adsedit |
| Pinterest Ads | ads:read, ads:write, user_accounts:read |
| X Ads | OAuth 1.0a read and write access for the X Ads API |
| Shopify | read_products, write_products, read_orders, read_locations, read_inventory, write_inventory |
| Klaviyo | accounts:read, campaigns:read, campaigns:write, lists:read, metrics:read, templates:read, templates:write |
| Mailchimp | Mailchimp's standard account access (Mailchimp has no narrower scopes); tools stay within enabled audiences and drafts |
Google lets you untick individual permissions on its consent screen. MegaMCP shows which products a login hasn't granted and offers to add just those.
The flight recorder logs every tool call (with its arguments), plan, approval, rejection, change, undo, connection, team change and billing event, with the person and the AI app behind it. It's searchable in the dashboard and admins can export it as CSV.
HttpOnly, SameSite, Secure cookies.We don't sell your data and we never use it (or data from Google, Meta, Microsoft or HubSpot) to train AI models. Ordinary immediate connector reads do not create saved report snapshots. Saved reporting stores definitions, layouts, commentary, imported rows, brand kits, and captured data with source receipts. Report access follows workspace and client permissions; admin-approved snapshot links expire after 30 days or can be revoked earlier. Expiring a link does not delete its saved snapshot. The optional hosted agent stores encrypted conversations and tool receipts until deleted or after 30 days without activity; your chosen provider's data terms also apply. Google data is handled under Google's API Services User Data Policy, including the Limited Use requirements. The full story is in our Privacy Policy.
| Provider | Purpose |
|---|---|
| OpenAI API | Optional hosted agent, workflow AI and image creation/editing using authorized BYOK or configured included AI where supported |
| Anthropic API | Optional hosted agent, only when an admin supplies an Anthropic key and authorizes it |
| Gemini API | Optional hosted agent, workflow AI and Veo creation using authorized customer Paid Services credentials |
| DeepSeek API | Optional BYOK hosted agent and workflow AI after admin training-exclusion attestation |
| xAI API | Optional BYOK hosted agent and workflow AI with response continuation storage disabled |
| Cloudinary | Optional deterministic private MP4 trimming, cropping, downscaling and audio removal using a customer-configured account |
| Optional approved Advertising API access at the customer direction | |
| Mailchimp | Optional Marketing API reads and reviewed plaintext draft edits at the customer direction |
| Snap | Optional Snapchat Marketing API operations at the customer direction |
| X | Optional approved Ads API operations at the customer direction |
| Customer SMTP provider | Optional exact plaintext email and owned attachments sent only after authenticated human dashboard approval |
| Railway | Application hosting and managed Postgres database |
| Stripe | Subscription billing and payments |
| Resend | Transactional email (sign-in links, invitations, workflow emails) |
| Google APIs | Authorized Google marketing, selected Workspace files, Merchant Center, Business Profile, YouTube and BigQuery operations, at the customer direction |
| Meta Platforms | Meta advertising and optional owned Facebook Page/linked professional Instagram operations, at the customer direction |
| Microsoft Advertising | Microsoft Advertising API (Bing Ads), at the customer's direction |
| HubSpot | HubSpot CRM API, at the customer's direction |
Found a vulnerability? Email security@megamcp.com with what you found, steps to reproduce, and the impact you think it has. We'll acknowledge your report, keep you updated while we fix it, and credit you if you'd like.
Please test only against your own account and workspace, don't access or modify other people's data, don't degrade the service (no denial-of-service or spam), don't use social engineering, and give us reasonable time to fix the issue before disclosing it. If you follow these guidelines in good faith, we won't pursue legal action against you for your research.
Machine-readable contact details: /.well-known/security.txt.
We don't browse customer accounts. Platform tokens are encrypted and only used to run the tools you and your AI call. We'd only look at your data with your permission (for example, in a support request), for security investigations, or when the law requires it.
It still can't change anything on its own. Write tools only create plans; applying one needs a human approval, budget bumpers still apply, and approvals in chat are off unless an admin turns them on. MegaMCP also tells the AI to treat platform data like search terms and page titles as untrusted, never as instructions.
They're wiped from our database immediately and we ask Google, Meta or HubSpot to revoke them (Microsoft has no revocation endpoint, so remove MegaMCP from your Microsoft account's app permissions to revoke it there). The accounts are switched off.
Not yet. We're an early-stage company and we'd rather tell you that than wave a badge. Ask us for our security questionnaire answers at security@megamcp.com.
5 days. On the house.
No credit card to start. Every workspace comes with a sandbox ad account, so you can watch the whole ask, diff, approve, undo loop before you connect anything real.
New integrations, platform approvals, the occasional dark joke. One or two emails a month. Unsubscribe anytime.