Ahrefs MCP security: permissions, key limits and tool scoping

The official Ahrefs MCP server controls access through OAuth consent, MCP-tagged API keys, per-key monthly unit limits and tool groups. Here is what a security reviewer can enforce and what remains a gap.

On this page

Ahrefs MCP security: which access controls are built in

The Ahrefs MCP server has built-in controls for consent, key scoping, unit limits and tool group selection, and they are available to users on the Lite plan or higher. A reviewer can meet an internal checklist with these controls alone only if the team configures them deliberately: consent is not a limit, so each connection must be checked against the keys and groups it is given. Two things sit with a workspace admin: the per-key monthly unit limit and the removal or change of keys in the API keys report.

Start with the keys. When a user approves the authorization consent screen for an AI agent, the connection appears in the account with a dedicated API key tagged with MCP scope. Keys created through OAuth for MCP or Ahrefs Connect default to a monthly limit of 200,000 API units per key. Manually created keys have no per-key limit by default, and only workspace plan limits apply. Review every MCP-scoped key in the API keys report, decide whether each one needs a lower limit, and remove keys for clients the team no longer uses. Confirm with Ahrefs whether a per-key limit can be set at creation for manually created keys.

Then narrow the tools. The tools URL query parameter selects which tool groups the server advertises, such as site-explorer-overview or brand-radar-entities, and omitting it advertises all tools. Groups include site-explorer-reports, keywords-explorer, serp-overview, rank-tracker, site-audit and web-analytics-overview. Limit the endpoint to the groups a team needs, document the exact URL each client uses, and confirm what the vendor does not document, such as audit logging of MCP calls and whether a workspace-wide allowlist exists.

Which Ahrefs MCP access controls apply to which plan

This table compares each access control in the Ahrefs MCP setup against the plan it depends on, whether Ahrefs builds it in, and whether an outside component is needed. Read the Availability column first, then the Built in column to see what you can enforce without extra tooling. Where the documentation is silent on plan tiers, the cell says to confirm with Ahrefs before approval.

ControlAvailability by planBuilt in or outside component
Remote MCP server accessPaid plans starting from Lite, each with its own monthly API unit allowanceBuilt in, requires an Ahrefs account on a paid plan
OAuth consent screenShown on connection; confirm per-plan availability with AhrefsBuilt in, user approves the client during connection
MCP-tagged API keyCreated when an OAuth connection is approved; confirm whether all plans issue theseBuilt in, key appears in the account tagged with MCP scope
Default per-key monthly limit (OAuth or Ahrefs Connect keys)200,000 API units per key by defaultBuilt in, applies unless an admin changes it
Manually created keysNo per-key limit by default; workspace plan limits still applyBuilt in, review in the API keys report
Admin change of per-key monthly limitWorkspace admins can change or remove the limit in the API keys report; confirm which admin rolesBuilt in, no outside component documented
Tool group selection via tools URL parameterOmitting the parameter advertises all tools; confirm whether this is plan-dependentBuilt in, set in the client endpoint configuration
Unsupported custom scripts, bridges or raw HTTP clientsNot permitted under the documented terms on any planPolicy control only, enforce through your own client allowlist

How consent, keys and unit limits enforce access

The enforcement chain starts with a user approving an authorization consent screen when an AI tool connects to the Ahrefs MCP server. Once approved, the connection appears in the Ahrefs account with a dedicated API key tagged with MCP scope. Every call the AI client makes then runs under that key, and the Ahrefs docs say those calls draw from the same monthly API unit allowance as direct API usage. The decisions that matter are therefore made inside the Ahrefs account and workspace, not inside the AI client. The client can request tools, but the key, its limit and the workspace plan decide what the calls can consume.

Two limits bound usage, and a reviewer should check both. The per-key monthly limit applies to keys created through OAuth for MCP or Ahrefs Connect, which default to 200,000 API units per key. Workspace admins can change or remove that limit in the API keys report. Manually created keys have no per-key limit by default, but the workspace plan limits still apply. A key with no per-key cap is therefore bounded only by the workspace allowance, so one permissive key can drain shared units that other staff and integrations also use. Confirm which keys in your workspace were created manually and which came from consent flows before you assume any cap is in place.

Before approving the rollout, ask the Ahrefs account owner to list every MCP-tagged key, its creation method and its current per-key limit, and to set limits that match the expected usage of each team. Then confirm with the vendor how the workspace plan allowance is shared across keys and what happens when it runs out, since the Ahrefs docs do not describe that behavior in the sources reviewed here. Revoking a key from the API keys report is the practical kill switch for one connection, so document who can do that and how quickly it can be done.

Decisions a reviewer must make before approving Ahrefs MCP

Before approving the Ahrefs MCP server, a reviewer decides how keys are issued, how much usage a key may consume, which tool groups the AI client sees, who may grant consent, and which clients may connect. Each decision sets a different exposure: unit spend, data read through the account, or the reach of a single connection.

OAuth-created or admin-created keys

Consent through OAuth creates a dedicated key tagged with MCP scope for each connection, so each connected agent gets its own credential. Manually created keys are the other path. Decide which path your workspace allows, because the default per-key limit and admin oversight differ between them. Ask Ahrefs which path your plan supports and confirm the key list in your account shows every MCP key.

Default units per key
200,000
Ahrefs MCP introduction

Per-key monthly unit ceiling

A key's monthly API unit limit caps how much a single connected agent can spend from the workspace allowance. Set the ceiling below the workspace allowance so one runaway prompt or looping agent cannot exhaust usage for other staff. Workspace admins can change or remove the per-key limit in the API keys report, and manually created keys have no per-key limit by default, so confirm that setting on every key your team creates.

Tool groups advertised to the client

The tools query parameter controls which tool groups the server advertises, and omitting it advertises all tools. Limit the set to the groups a team needs, such as site-explorer-reports, keywords-explorer, serp-overview, rank-tracker, site-audit or web-analytics-overview. A narrower list reduces the data a connected agent can request and the usage it can generate, so review each group against the job it supports.

Ahrefs tool categories

Who may approve consent

The OAuth consent screen is the point where an account holder grants an AI client access to Ahrefs data. Decide whether any staff member can approve consent or only designated administrators. Consent by one person creates a key that reads the data that person can see, and it may outlive the project it was made for. Document who approves, and review the MCP keys in the account on a schedule.

Supported clients only

The Ahrefs docs list setup guides for named clients such as Claude Desktop, Claude Code, ChatGPT Web and Copilot Studio. The docs state that custom scripts, bridges and standalone HTTP or JSON-RPC clients are unsupported and not permitted, and direct programmatic access belongs to the public API. Permit only the listed clients, and block unsanctioned bridges on managed devices so that connections stay within the terms and the controls you reviewed.

How the Ahrefs MCP controls change by team setup

A single team on one Lite or higher plan has the simplest control surface. The main decisions are who may approve the OAuth consent screen, whether the team uses OAuth-issued keys or manually created keys, and which tool groups the connection needs. Because the Ahrefs docs say the remote server is available on paid plans starting from Lite, the plan tier sets the baseline, but the per-key limits and tool groups decide what the connection can actually do.

  • Consent approval: Decide which named people may approve the authorization consent screen, since approval creates a dedicated MCP-scoped API key in the account.
  • Per-key unit limit: Keys created through OAuth for MCP default to a monthly limit of 200,000 API units per key. Confirm that figure matches the team's expected use before accepting the default.
  • Tool groups: Use the tools parameter to advertise only the groups the team needs, such as site-explorer-reports or keywords-explorer, instead of all tools.
  • Key inventory: Review the API keys report regularly so that keys from departed staff or retired clients are removed.

For a single team, confirm that the connection is limited to one set of named users and one narrowed tool list before rollout.

Order of work before approving Ahrefs MCP for staff

This sequence settles who owns the workspace, how keys are created, what each key may spend, which tool groups are reachable, and who signs off, so approval rests on controls that have been checked rather than assumed. The output is a written, verified configuration that a reviewer can audit.

  1. Confirm plan and workspace ownership

    The workspace owner or an admin confirms that the Ahrefs plan includes the remote MCP server, since the Ahrefs docs say it is available from Lite upward, and records who holds admin rights over the workspace. Confirm the plan's monthly API unit allowance and maximum rows per request, because every MCP call draws from that same allowance. Done means a named owner, a named set of admins, and a plan record that the reviewer can see. Ask Ahrefs to confirm any plan-level limits that apply to your account, since the docs describe these per plan.

  2. Decide the key creation policy

    Decide whether staff may connect through OAuth consent, which creates a dedicated MCP-tagged key when approved, or whether keys may be created manually. The Ahrefs docs say OAuth-created keys default to a per-key monthly limit of 200,000 API units, while manually created keys have no per-key limit by default. Write the policy so that it names the method each team may use and who may approve a new connection. Done means a written policy that states which path is allowed for each client and which path is blocked.

  3. Set per-key unit limits in the API keys report

    A workspace admin opens the API keys report and reviews every MCP-scoped key, then sets or removes the monthly unit limit on each one according to the policy. Remember that workspace plan limits still apply even where a key has no per-key limit, so the plan allowance remains the outer boundary. Check that every manually created key has an explicit limit or a documented reason for none. Done means each key in the report has a recorded limit value and an owner, and the admin can show this on request.

  4. Define the tool group allowlist and its enforcement

    Select the tool groups each team needs from the Ahrefs tool categories, such as site-explorer-reports, keywords-explorer, serp-overview, rank-tracker, site-audit or web-analytics-overview. The tools URL parameter selects which groups are advertised to the client, and omitting it advertises all tools, so the allowlist must be carried in each client's connection configuration. Confirm in every client that the parameter is set, and record the client's behavior when it is not. Done means a written allowlist per team and a test in each client showing that only the approved groups appear.

  5. Approve the consent process and named approvers

    Define who reviews the OAuth consent screen before a staff member approves it, and who may approve a new MCP connection on the team's behalf. Name the approvers and their backups, and state what each must check: the client, the requested tool groups, and the key's limit. Confirm that staff are told that the connection creates a key in the workspace, and that the connection is visible in the account for later review. Done means a signed-off approver list and a short consent checklist that each approver follows.

  6. Verify with a review of keys and usage

    Before staff use the connection widely, the admin reviews the API keys report against the approved list, confirming that each key is MCP-scoped, has the intended limit, belongs to an approved client, and maps to a named owner. Then review usage to confirm that MCP calls are drawing from the expected allowance. Schedule this review as a recurring control with a named owner, and record its findings. Done means a dated review record showing that keys, limits, tool groups and usage match the policy, with any exceptions assigned to someone to resolve.

What a security reviewer asks to see for Ahrefs MCP

This table lists the evidence a reviewer should request for Ahrefs MCP access, where each item lives in the Ahrefs workspace or client setup, and what remains open after the report is read. Use it as a checklist before approving a team, since several controls depend on how the workspace admin configured keys and not on defaults alone.

Evidence itemWhere it comes from in AhrefsWhat is still open
Inventory of MCP-tagged keysAPI keys report, filtered for keys tagged with MCP scope created through OAuth consentWhether keys created by staff outside the approved team exist and who owns each key
Consent records for each connectionAuthorization consent screen history and the connection entries in the accountWhich AI client and user approved each consent, and whether that matches the approved tool list
Per-key monthly unit limitAPI keys report, where admins view the monthly limit on each keyWhether the limit set on each key fits the team's expected usage and who approved the value
Manually created keys without a per-key limitAPI keys report, keys created manually that show no per-key limitWhether workspace plan limits are the only cap in place and whether manual keys should be removed
Unit consumption by keyUsage in the API keys report and monthly allowance on the planHow MCP calls from third-party apps are split from direct API use for cost and abuse review
Tool group settings in client configurationThe tools URL parameter in the client's MCP connection, which selects advertised tool groupsWhether every client that connects uses the same narrowed groups, since omitting the parameter advertises all tools
Policy on unsupported endpoint useAhrefs documentation stating that custom scripts, bridges or standalone HTTP/JSON-RPC clients are unsupported and not permittedWhether internal tooling or scripts in the company already call the MCP endpoint and must be stopped or moved to the public API
Plan and eligibilityPlan settings showing whether the workspace is on Lite or a higher paid planWhether the plan's monthly allowance and row limits match the planned use

Questions buyers ask about Ahrefs MCP access controls

Does Ahrefs MCP support SSO with our company identity provider?

The supplied Ahrefs documentation describes OAuth consent as the sign-in step when you connect the server to an AI agent, and the connection then appears in your account with an MCP-scoped API key. It does not, in the material this page relies on, describe SAML or OIDC federation with a company identity provider. Confirm with Ahrefs whether your plan supports SSO or identity provider enforcement before you approve the tool, and ask how workspace members are added and removed. Until that is confirmed, treat access as tied to Ahrefs accounts and manage it through your workspace membership process.

Can we lower the unit limit on a single MCP key?

Yes, but only workspace admins can do it. Keys created through OAuth for MCP or Ahrefs Connect default to a monthly limit of 200,000 API units per key, and admins can change or remove that per-key limit in the API keys report. Manually created keys have no per-key limit by default, so an admin should set one explicitly if you want a cap. Workspace plan limits still apply in both cases. Lowering the per-key limit is a useful containment step because it caps how much a misused key can consume in a month, though it does not stop a key from reading data within its allowance.

What makes configuring Ahrefs MCP controls take more or less effort?

Effort depends on how many keys, clients and tool groups you need to govern. The main drivers are the number of AI tools staff will connect, whether they connect through OAuth or manually generated MCP keys, how many keys each person creates, and how many tool groups your team actually needs. Tool groups are selected with a tools query parameter on the endpoint, so narrowing access means choosing a short list of groups such as site-explorer-reports, keywords-explorer or rank-tracker and configuring every client to use that same URL. Each change should be checked against the client, since an unchanged client keeps its previous setup.

Can our own team set up these controls without outside help?

Often yes, for a small rollout. The controls described in the supplied documentation are administrative: the consent screen, the API keys report, per-key unit limits and the tools parameter. A team with a workspace admin and someone who can edit client configuration can apply them directly. The harder part is the review itself: confirming which tool groups each role needs, documenting who holds keys, testing whether a restricted client actually stops calling blocked tools, and deciding how keys are rotated. Teams that lack an internal reviewer for AI tooling often find that work takes longer than the configuration.

When would we need outside help with an Ahrefs MCP rollout?

Outside help makes sense when the review needs independent testing rather than a configuration checklist. DeployOpen runs AI agent rollout security reviews, which test the setup for prompt injection, tool and file permissions, data exposure, credential handling, and SSO and admin settings, then deliver a findings report with fixes and a retest. Engagements are fixed-scope, so the scope, deliverables and timelines are agreed in writing before work starts. A scoped engagement would cover the clients and tool groups you name, the key and limit settings you want verified, and the retest. It would not change Ahrefs itself, and DeployOpen does not issue audit reports or certifications.

What should we do if an MCP key is compromised?

Revoke the key first, then review what it did. Admins can find the key in the API keys report, so the first step is to disable or remove it and connect the affected client again with a new credential. Because MCP calls consume units from your monthly allowance, the usage view is a useful starting point for judging how much data the key was used to pull. Keep the per-key limit in mind here: a lower limit caps the damage a leaked key can cause in a month. Confirm with Ahrefs how to report a suspected compromise and what activity records are available to your workspace, since the supplied material does not describe an incident process.

Can we allow an in-house script or custom bridge to use the Ahrefs MCP endpoint?

No. The Ahrefs documentation states that using the external MCP endpoint through custom scripts, bridges or standalone HTTP/JSON-RPC clients is unsupported and not permitted. Programmatic access should go through the Ahrefs public API instead. For security reviewers, this matters because it removes one category of unmanaged access: only the supported AI clients that Ahrefs lists should connect to the endpoint. Any internal automation that needs Ahrefs data should be reviewed as a public API integration with its own key handling, rather than as an MCP client.

Ahrefs documentation to check each control against

Before you sign off on the Ahrefs MCP server, have a reviewer read the two Ahrefs pages that define the controls in this section and check each one against your own tenant. Start with the What is Ahrefs MCP introduction, which is the source for the plan condition (the remote server is available on paid plans starting from Lite), the monthly API unit allowance that each plan carries, the per-request row limit, and the rule that MCP calls made by a third-party app on your behalf draw from the same monthly allowance as direct API usage. Those facts decide how much a connected agent can spend and which plan a team must hold before any control matters.

The second page, Tool Categories, supports the scoping claims. It explains that a tools query parameter selects which tool groups are advertised and that omitting it advertises all tools, and it lists the groups such as site-explorer-reports, keywords-explorer, serp-overview, rank-tracker, site-audit and web-analytics-overview. Use it to decide which groups each team needs, then confirm that the endpoint configured in each client carries only those groups. Check the exact parameter syntax against the page, since the reviewer's test is whether an unscoped client can still see every tool.

Neither page describes the admin console screens in full, so treat them as the baseline and confirm the rest with Ahrefs. Ask the vendor where the API keys report sits for your workspace, which roles can change the per-key monthly unit limit, and whether an admin can revoke a single MCP-tagged key without affecting other integrations. Record the answers next to each control so the approval decision points to a source your auditors can read.

How DeployOpen works on this

DeployOpen tests the Ahrefs MCP setup your team actually uses, checking who can sign in, which keys and unit limits apply, and which tool groups are advertised to each client. We then document the controls we verified and the ones your admins still need to set, so the approval decision rests on evidence from your own workspace.

How we scope

  • Agree in writing which AI clients, OAuth connections and MCP-scoped keys are in scope for Ahrefs MCP security review.
  • List the tool groups each team needs, such as site-explorer-reports or keywords-explorer, so access can be narrowed before testing begins.
  • Confirm which Ahrefs plan and workspace admin roles apply, since per-key unit limits depend on who can change them.

How we build

  • Review the consent screen, key tagging and per-key monthly unit limits for each connection in the workspace.
  • Test whether tool group selection through the tools parameter limits what each client is offered, and record the results.
  • Check that unsupported access routes, such as custom scripts or standalone HTTP clients, are blocked or prohibited by your own policy.

How we hand over

  • Deliver a written findings report covering permissions, key limits, tool scoping and any gaps in admin settings.
  • Provide the recommended key limit, tool group and client configuration for each team, with the reasoning behind each choice.
  • Retest the fixed configuration and document the results so your security or compliance reviewer can check the evidence.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer when your Ahrefs setup or client list changes.
  • Retest after material changes to plans, keys, tool groups or connected AI clients, as agreed in the written scope.
  • Keep the evidence pack current so your team can answer security questionnaires about Ahrefs MCP access without re-testing from scratch.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.