Independent analysis by NHI Mgmt GroupSource article: Scalekit, “Brandfetch MCP vs Brandfetch API for AI Agents” (October 11, 2026)

TL;DR: AI agents still rely on long-lived credentials, according to Scalekit’s analysis of Brandfetch MCP versus REST access, with OAuth tokens that do not refresh, dashboard tokens for headless clients, and tenant keys that collapse many user sessions when rotated. Identity governance has to shift from user login events to per-tenant credential custody and revocation control.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Scalekit's blog post: Brandfetch MCP and REST access expose the same data but create different credential and governance burdens, with long-lived tokens and tenant keys driving shared-risk decisions.

Why it matters: IAM and NHI teams have to govern agent credentials by tenant, scope, and revocation path, not by the convenience of the integration surface.


Context

Agent integrations often look simple at the tool layer while hiding a harder identity problem underneath: who owns the credential, how long it lives, and what happens when one tenant rotates it. In Brandfetch’s case, the same dataset can be reached through either MCP or REST, but the governance model changes with the authentication path.

For NHI programmes, the important distinction is not whether the agent can call the tool, but whether the credential is scoped, revocable, and attributable. Agentic AI identity becomes a practical concern here because the agent’s access path can outlive a single workflow run and spill across users or tenants.


Key questions

Q: How do you govern AI agent credentials by tenant?

A: Tenant-level governance ties each AI agent credential to a specific tenant, owner and purpose, then enforces separate issuance, scope, storage and audit logging. Use distinct service accounts, API keys or tokens per tenant, with least-privilege scopes, short lifetimes, secrets vaulting and automated revocation, rotation, and offboarding when an agent changes role or is retired.

Q: Why do long-lived API keys create more risk for AI agents?

A: Long-lived API keys increase risk because they persist across tasks, deployments, and runtime changes. If one is exposed in a container, pipeline, or config file, the attacker can reuse it until it is manually revoked. For AI agents, that persistence creates a larger blast radius than the workload actually needs.

Q: What breaks when a platform stores customer OAuth tokens and API keys without governance?

A: The platform stops being a neutral integration layer and becomes a delegated access repository with live production reach into customer systems. Without inventory, ownership, and revocation controls, the platform can expose many customer environments from a single compromise, and security teams lose the ability to contain access by customer, tool, or credential type.

Q: What should teams log for each AI agent tool call?

A: Teams should log the tool-call identity chain, including call ID, session and parent IDs, actor details, server and tool name, arguments hash, result status, timing, authentication, and policy decision. That gives investigators enough evidence to reconstruct behaviour without depending on chat history, which only shows the conversation and not the executed action.


Technical breakdown

How Brandfetch splits MCP and REST authentication

Brandfetch exposes the same underlying data through two access models, but the credentials and request shape differ. MCP uses OAuth with dynamic client registration and PKCE for browser-capable clients, plus a dashboard token for headless use. REST uses a bearer API key for several endpoints, while some routes accept a publishable client ID in the query string. That means the security boundary is not the data itself, but the credential that opens each path and the operational assumptions attached to it. See the MCP Security Guide.

Practical implication: Map each integration path to its own authentication control and avoid treating MCP and REST as equivalent from a governance perspective.

Why long-lived tokens change the risk model

The token lifecycle here is unusually flat: Brandfetch’s OAuth tokens do not expire by default and do not use refresh tokens, while revocation is effectively tied to rotating the underlying API key. That creates a shared blast radius, because a single administrative action can invalidate many active sessions at once. In practice, the credential behaves more like a long-lived bearer secret than a short-lived delegated grant, which reduces the value of session-based assumptions.

Practical implication: Treat token lifetime, revocation dependency, and tenant fan-out as the core controls, not just the login ceremony.

Why MCP tool descriptions and scope reduction matter

The MCP surface is intentionally narrower than the REST API, and the server’s tool descriptions shape model behaviour as much as the endpoint does. That matters because the model only sees the tools, inputs, and error handling it is given. When the connector omits quota headers, cache controls, and explicit route selection, the agent cannot make the same operating decisions a human or a fully instrumented API client could make. This is a governance choice as much as a product choice. Read OWASP Agentic Applications Top 10.

Practical implication: Review tool surfaces as policy objects and not just developer conveniences, especially where the agent cannot inspect usage or select safer routes.


Threat narrative

Attacker objective: An attacker or unauthorized actor wants persistent access to brand data, tenant credit usage, or downstream tooling through a credential that outlives a single session.

  1. Entry occurs through a delegated agent credential, either an OAuth token or a dashboard-issued bearer token, rather than through a human user login.
  2. Credential exposure becomes the main risk because the same token can represent a tenant-wide grant and can stay valid until the backing key is rotated.
  3. Impact follows when one rotation or revocation event cuts off multiple active users or when a leaked credential preserves access across the tenant’s credit pool and tool surface.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Brandfetch’s authentication model shows that agent access is still being governed as if credentials belong to a person, not a tenant. The same integration can hand out OAuth tokens, dashboard tokens, or API keys, but the operational effect is the same: a bearer credential becomes the unit of control. That is a poor fit for agent workflows where one grant can serve many automated calls across a customer boundary. The implication is that credential ownership has to be modelled at the tenant and workflow level, not just at the user login level.

Long-lived agent tokens create revocation debt. When a token has no expiry and no refresh cycle, the programme is depending on manual rotation to do the work that short-lived sessions normally absorb. That means the control failure is not only leakage but persistence, because the grant stays usable until someone remembers to invalidate the backing key. The named concept here is tenant-bound token persistence: a single delegated grant can survive far beyond the human action that created it, so operational revocation becomes part of identity governance rather than a cleanup task.

Per-tenant blast radius matters more than per-call authenticity in this pattern. Brandfetch’s own design ties usage, credits, and overage to the underlying credential, so one active token can aggregate business cost and access risk at the same time. That is why the governance question is not whether the agent is authenticated, but whether the credential can be scoped to the smallest viable tenant and revoked without collateral damage. Practitioners should treat shared billing and shared access as the same control problem.

Scoped tool exposure is an identity control, not just an ergonomics choice. The MCP surface omits some REST capabilities, and that omission changes what the model can do, what it can observe, and how far it can drift. In agent programmes, least privilege is enforced partly by the tool contract itself, not only by the underlying API. That means the control boundary has shifted from endpoint inventory to runtime tool curation, which identity teams need to own with the same seriousness as account provisioning.

From our research library:

What this signals

Credential ownership will become the deciding governance issue for agent integrations. The practical question is no longer whether an agent can authenticate, but whether the organisation can explain who owns the grant, who can revoke it, and what happens when that grant is shared across multiple users or tenants.

Access review processes assume a stable account object with a durable owner. Agent credentials often behave more like delegated infrastructure secrets, so governance has to move closer to issuance, scope, and revocation timing.

The next wave of control design will favour systems that can attribute calls back to the initiating user and prove which tenant absorbed the resulting usage. That attribution becomes the difference between an auditable automation pattern and an unmanaged shared secret.


For practitioners

  • Define tenant-level credential ownership Assign each agent credential to a named tenant or business unit, then track who can approve, revoke, and rotate it when the integration spans multiple users.
  • Treat token rotation as a production control Set a rotation and revocation process for every long-lived agent token, including a response path for tokens that have no expiry and no refresh cycle.
  • Scope tool access to the minimum viable surface Load only the tools the workflow needs, and remove high-risk capabilities such as write actions, broad search, or any endpoint that exposes usage or billing data unnecessarily.
  • Log actions back to the initiating user Preserve user identifier, connector name, account ID, and tool invocation details so investigators can distinguish platform activity from a specific agent run.

Key takeaways

  • Brandfetch’s split between MCP and REST does not eliminate the identity problem; it changes which credential, scope, and revocation path operators must govern.
  • Long-lived tokens and tenant-level key rotation create shared blast radius, so revocation and attribution matter more than simple login success.
  • Agent programmes need tighter credential custody and tool-surface control because the security boundary sits around the grant, not just around the model.

Related NHI Mgmt Group resources: MCP Security Guide · AI Agent Observability, Audit and Incident Response Guide · Agentic AI Identity Guide · Shadow AI and AI Agent Discovery Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationBrandfetch MCP and REST rely on delegated credentials whose lifecycle and scope drive the access model.
NHI-07 — Long-Lived SecretsThe article centers on tokens and API keys that remain valid until manually rotated or revoked.
NHI-05 — Overprivileged NHITenant-wide keys and broad tool surfaces can grant more access than a single workflow actually needs.
Recommendation — Use NHI-04 to validate delegated authentication paths, token handling, and revocation behaviour for agent access. Apply NHI-07 to shorten credential lifetime and remove long-lived bearer secrets from agent workflows. Use NHI-05 to reduce tool scope and constrain each agent credential to the minimum required permissions.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe core issue is how agent credentials are authorised, scoped, and revoked across tenants.
Recommendation — Apply PR.AA-05 to govern entitlements, tenant scope, and revocation for every agent credential.

Key terms

  • MCP: Model Context Protocol, an open way for AI agents to connect to tools and data sources. It improves interoperability, but it also introduces a shared integration layer that must be governed carefully because the protocol can widen access across many systems at once.
  • Dynamic Client Registration: Dynamic client registration is a protocol pattern that allows a software client to register itself with an authorization system automatically. For AI agents, it can reduce manual setup, but it also creates new identities at speed, which makes ownership, policy checks, and revocation essential.
  • PKCE: Proof Key for Code Exchange is a binding mechanism that links the authorization request to the later token exchange. It helps stop authorization code interception and injection by requiring proof that the same client that started the flow is the one completing it.
  • Bearer Token: A bearer token is a credential that grants access to whoever possesses it, without requiring strong proof that the holder is the intended client. In NHI environments, that makes theft and replay the main risk, especially when tokens are long-lived, broadly scoped, or stored in local files.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an identity programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org