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.
| Control | Availability by plan | Built in or outside component |
|---|---|---|
| Remote MCP server access | Paid plans starting from Lite, each with its own monthly API unit allowance | Built in, requires an Ahrefs account on a paid plan |
| OAuth consent screen | Shown on connection; confirm per-plan availability with Ahrefs | Built in, user approves the client during connection |
| MCP-tagged API key | Created when an OAuth connection is approved; confirm whether all plans issue these | Built 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 default | Built in, applies unless an admin changes it |
| Manually created keys | No per-key limit by default; workspace plan limits still apply | Built in, review in the API keys report |
| Admin change of per-key monthly limit | Workspace admins can change or remove the limit in the API keys report; confirm which admin roles | Built in, no outside component documented |
| Tool group selection via tools URL parameter | Omitting the parameter advertises all tools; confirm whether this is plan-dependent | Built in, set in the client endpoint configuration |
| Unsupported custom scripts, bridges or raw HTTP clients | Not permitted under the documented terms on any plan | Policy 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
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.
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.
When several teams share one workspace, the controls shift from individual use to separation between groups with different needs. An SEO team, a content team and a competitive research team may need different tool groups, and the workspace admin is the only person who can change per-key limits. Reviewers should map each team to the tool groups it needs before any client is connected, because the tools parameter applies per connection rather than per person.
- Separate connections per team: Give each team its own connection so that each can be narrowed to its own tool groups, rather than one broad connection shared by everyone.
- Admin ownership of limits: Keep per-key limit changes with named workspace admins, since they can change or remove the per-key monthly unit limit in the API keys report.
- Manual key exposure: Manually created keys have no per-key limit by default, so ask who creates them and whether a limit is set on each.
- Naming and tagging: Keep MCP-scoped keys identifiable by team so that the API keys report can be reconciled with the teams that own each connection.
Confirm with the workspace owner which team owns each key and which tool groups each team is permitted to use.
Teams that run heavy research through an AI agent face a different risk: a connection can spend the monthly allowance quickly, and the Ahrefs docs say MCP calls made by a third-party app on your behalf consume API units from your monthly allowance, the same way as direct API usage. The per-key limit and the plan allowance work together, so a team with high use should check both. The docs also say each plan has its own monthly API unit allowance and a maximum number of rows per request, so reviewers should confirm both figures for the plan in use.
- Plan allowance: Confirm the monthly API unit allowance for the plan the workspace holds, since that caps all usage regardless of key settings.
- Per-key ceilings: Set an explicit per-key monthly limit where needed, instead of relying on the default or on no limit for manual keys.
- Row limits: Note the maximum number of rows per request for the plan, which affects how much data a single agent call can pull.
- Usage monitoring: Ask the vendor or admin how unit consumption by key is reported, so that an unusual spike can be traced to one connection.
Before rollout, ask Ahrefs which allowance and row limit apply to the plan being bought, and test a normal workload against the key limit.
Teams that research client-confidential or regulated subjects need to know where the Ahrefs controls stop. The supplied documentation covers OAuth consent, MCP-scoped keys, per-key unit limits and tool groups. It does not establish how Ahrefs handles data inside a prompt, retention of query results inside the AI client, or any regulatory attestation, so those points must be confirmed directly with Ahrefs and with the AI client vendor before use. Reviewers should not assume that a narrowed tool list alone meets a client contract or a regulatory obligation.
- Scope to research only: Limit the connection to the tool groups that read public market data, and avoid groups that could expose client-specific project data if such data is stored in the account.
- Named access: Restrict OAuth approval to named staff with a documented need, and remove keys when a project ends.
- Client contract review: Check whether client agreements permit sending competitive or domain research to a third-party AI tool, and whether the query terms themselves are sensitive.
- Written confirmation: Ask Ahrefs in writing where query data is processed and how long it is retained, and document the answer for the security file.
Close this review by confirming with Ahrefs and the AI client vendor, in writing, the data handling terms that apply to the plan and client type in question.
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.
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.
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.
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.
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.
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.
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 item | Where it comes from in Ahrefs | What is still open |
|---|---|---|
| Inventory of MCP-tagged keys | API keys report, filtered for keys tagged with MCP scope created through OAuth consent | Whether keys created by staff outside the approved team exist and who owns each key |
| Consent records for each connection | Authorization consent screen history and the connection entries in the account | Which AI client and user approved each consent, and whether that matches the approved tool list |
| Per-key monthly unit limit | API keys report, where admins view the monthly limit on each key | Whether the limit set on each key fits the team's expected usage and who approved the value |
| Manually created keys without a per-key limit | API keys report, keys created manually that show no per-key limit | Whether workspace plan limits are the only cap in place and whether manual keys should be removed |
| Unit consumption by key | Usage in the API keys report and monthly allowance on the plan | How MCP calls from third-party apps are split from direct API use for cost and abuse review |
| Tool group settings in client configuration | The tools URL parameter in the client's MCP connection, which selects advertised tool groups | Whether every client that connects uses the same narrowed groups, since omitting the parameter advertises all tools |
| Policy on unsupported endpoint use | Ahrefs documentation stating that custom scripts, bridges or standalone HTTP/JSON-RPC clients are unsupported and not permitted | Whether internal tooling or scripts in the company already call the MCP endpoint and must be stopped or moved to the public API |
| Plan and eligibility | Plan settings showing whether the workspace is on Lite or a higher paid plan | Whether 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.

