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

TL;DR: Official MCP servers keep secret values out of model context, according to Scalekit’s analysis of 1Password, while Connect, service accounts and Events Reporting APIs are the paths that actually move or audit credentials. That split makes runtime token handling, not model access, the real governance problem for AI agents.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Scalekit’s blog post: 1Password separates MCP from API surfaces so AI agents can arrange secrets without seeing them, while audit and retrieval functions stay in code paths.

Why it matters: This matters because practitioners need to separate secret presentation, secret retrieval, and secret auditability when designing agent workflows, especially where model context persistence raises exposure risk.

By the numbers:

  • Connect tokens can reach up to 100 vaults and expire after 30, 90, or 180 days.
  • The Events Reporting API runs at 600 requests per minute and 30,000 per hour.

Context

MCP changes how an AI agent reaches operational data, but it does not change the governance rule that secrets should not enter model context. When a tool returns a password or token, that value can persist in prompts, traces, logs, and later turns, which turns a local retrieval choice into an exposure problem. In 1Password’s case, the important distinction is between tools that arrange access and tools that expose values.

Agent identity governance has to account for this split because the agent is not the only identity in the chain. The runtime also depends on customer-issued bearer tokens, vault-scoped service accounts, and audit APIs that describe what happened after a secret was used. That means governance must be built around both the agent’s authority and the lifecycle of the credentials it touches.


Key questions

Q: How should security teams keep AI agents useful without letting them see secrets?

A: Use a credential broker or proxy so the agent can make authorised requests without ever handling the underlying tokens, API keys, or certificates. The agent should submit a request, and the broker should attach credentials on the outbound path. That keeps secret custody outside the agent runtime and reduces exfiltration risk from prompt injection or malicious content.

Q: Why should audit tools stay separate from secret access?

A: Audit tools should stay separate from secret access so logging and monitoring can verify activity without being able to read or use API keys, tokens or certificates. That separation supports read-only observability, prevents evidence systems from becoming a new secret-exposure path, and limits damage if an audit account is compromised. Use distinct accounts, least privilege and append-only logs.

Q: What is the difference between MCP servers and REST APIs for AI agent integration?

A: MCP servers are built for autonomous agents, while REST APIs are designed mainly for human developers and hand-built integrations. MCP provides machine-discoverable metadata, a standard tool invocation contract, and consistent JSON-RPC interactions. REST can work for many integrations, but it usually requires more custom glue code and does not give agents the same native interoperability.

Q: How should teams manage customer tokens used by AI agents?

A: Customer tokens used by AI agents should be treated as delegated credentials with tightly bounded scope, short lifetimes and clear ownership. Issue scoped permissions only for the specific API operations the agent needs, store tokens in a secrets manager or vault, rotate them regularly, and revoke them when the agent, customer relationship or task ends. Log every use.


Technical breakdown

Why MCP servers can be secret-safe while APIs are not

MCP is a tool interface, not a guarantee about what the tool returns. A server can expose metadata, filenames, environment names, or action results without returning the underlying secret value, which keeps the model from ingesting credentials. By contrast, an API that returns item contents or token-bearing payloads places the secret directly into the calling process. The architectural question is therefore not whether an integration uses MCP or REST, but whether the tool boundary withholds the credential from the model and limits the value to the executor. In 1Password’s design, that line is explicit. See the MCP Security Guide.

Practical implication: Treat return values as the control boundary and block any agent path that can place raw secrets into model context.

Why audit APIs belong on a different path from secret retrieval

Audit and usage APIs answer a different class of question than secret retrieval. They surface events such as reveals, exports, sign-ins, and vault changes, which are evidence about identity behaviour rather than operational credentials themselves. That distinction matters because a monitoring agent needs observation rights, not secret-bearing rights, to detect misuse or confirm offboarding. Keeping those functions separate reduces the chance that a telemetry workflow accidentally becomes a secret-distribution workflow. In practice, this is a separation of duties problem expressed through machine interfaces. See the AI Agent Observability, Audit and Incident Response Guide.

Practical implication: Route monitoring agents to read-only audit surfaces and keep them off any endpoint that can return item contents.

How service accounts shift the trust model for machine access

Service accounts and Connect tokens move the trust decision from a human session to a scoped, admin-issued credential held by code. That makes them suitable for headless workflows, but it also means the security posture depends on vault scoping, expiry, revocation, and where the token is stored. The risk is not just overpermissioned access. It is that the credential becomes infrastructure and must be governed like infrastructure, not like an app secret hidden in a config file. Once an agent can act on behalf of multiple tenants, token lifecycle becomes a core control surface.

Practical implication: Inventory every token that can act for an agent and apply lifecycle controls as strictly as you would for privileged credentials.


Threat narrative

Attacker objective: The attacker aims to turn a legitimate agent workflow into repeated access to secrets, audit records, or tenant-scoped credentials.

  1. Entry occurs when an agent is given a credential or API path that can return secret material into its runtime instead of keeping it inside an executor boundary.
  2. Escalation follows when that secret is persisted in prompt history, trace storage, or downstream tool calls, extending access beyond the original request.
  3. Impact is cross-tenant or repeated secret exposure, because the same runtime can replay the credential path, audit value, or item content for later use.
  • Dropbox Sign breach 2024: A compromised back-end service account gave attackers Dropbox Sign customer data, including API keys, OAuth tokens and MFA information.
  • Okta support system breach 2023: A support service account credential saved in a personal Google profile let attackers take HAR files and hijack five Okta customers' sessions.

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

Secret presentation and secret retrieval are different governance problems: an agent can be allowed to arrange a secret without being allowed to see it. That distinction is the real architectural value in the 1Password split, because the model-context risk appears the moment a value is returned rather than merely requested. Practitioners should design agent workflows around that boundary, not around the marketing label on the integration.

Token custody is now part of identity governance: the moment an agent depends on customer-issued bearer tokens, the programme has created another lifecycle object that must be issued, scoped, rotated and revoked. The governance problem is no longer just who the human administrator is. It is who can make the machine credential persistent enough to outlive its purpose.

Access review processes assume access persists long enough to be reviewed: that assumption fails when a workflow can retrieve a secret, use it and persist the result inside the same runtime turn. The implication is not a new review cadence. It is that review-based governance cannot be the only control for agent-mediated access.

Model context has become a privilege boundary: if a credential can be echoed into prompts, traces or evaluations, then the agent runtime has effectively inherited a broader disclosure domain than the vault policy intended. That widens the blast radius from a single retrieval event to every downstream system that stores conversation state. Teams should treat context exposure as an identity control failure, not just a data-handling mistake.

Runtime token handling is the new policy enforcement point: the article’s strongest message is that the security decision happens where the token is stored, resolved and exchanged, not where the agent reasons. That creates a practical test for every integration: if the model ever sees the secret, the control failed before the workflow began.

From our research library:

What this signals

Model context is becoming an identity boundary: once a secret is visible to the model, every downstream prompt, trace and evaluation store can become part of the exposure surface. That is why agent workflows should be designed so the model receives only non-sensitive outcomes, not the credential itself.

The stronger pattern is executor-side resolution with a narrow token lifecycle, because runtime custody is where the real control lives. As more agents operate across multiple customer accounts, the security question shifts from whether access exists to whether the workflow can prove the secret never entered the reasoning layer.


For practitioners

  • Separate secret access from secret observation Allow agent workflows to read audit and usage events without giving them any path that returns vault item contents or password values.
  • Keep raw secrets out of model context Resolve credentials inside the tool executor, return only the needed result to the agent, and prevent prompt, trace and evaluation systems from storing the secret value.
  • Scope machine credentials to one workflow purpose Issue vault-scoped tokens with the narrowest viable permissions, then tie each token to a specific tenant, purpose and expiry window.
  • Audit token custody as a lifecycle control Track which runtime holds each token, who issued it, when it expires, and how it is revoked when a customer or use case ends.

Key takeaways

  • The main risk is not whether an agent can reach 1Password, but whether the workflow lets raw secrets enter model context.
  • The article distinguishes arrangement, retrieval and audit as separate identity functions, which practitioners should not collapse into one integration path.
  • The safest operating model keeps secret values in the executor, scopes customer tokens tightly and treats token custody as a lifecycle control.

Related NHI Mgmt Group resources: MCP Security Guide · Agentic AI Identity Guide · AI Agent Observability, Audit and Incident Response 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, OWASP Agentic AI Top 10 and MITRE ATT&CK define the specific risk controls and attack patterns relevant to this term.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageThe core issue is whether agent workflows ever let raw secrets reach model context.
NHI-04 — Insecure AuthenticationBearer tokens and service accounts govern how the agent authenticates to 1Password surfaces.
NHI-07 — Long-Lived SecretsCustomer-issued tokens with long expiry windows create persistent agent trust if not rotated.
Recommendation — Keep secrets out of model context and revoke any workflow that returns raw credential values. Scope machine authentication narrowly and avoid long-lived bearer tokens where possible. Rotate and expire agent-held tokens on a fixed schedule and tie them to a specific tenant.
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseAgent access choices can widen privilege if the model is allowed to see and reuse secrets.
Recommendation — Constrain agent privileges so reasoning systems cannot turn observation rights into credential access.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementThe article’s risk pattern is credential exposure followed by broader reuse across systems.
Recommendation — Map secret exposure paths to credential access and lateral movement, then hunt for downstream reuse.

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.
  • Service Account: A special-purpose account used by applications, automated tools, or services rather than a human user to interact with systems, APIs, and infrastructure. Service accounts are a primary category of NHI and one of the most frequently exploited attack vectors.
  • 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.
  • Model Context Protocol: Model Context Protocol is an open protocol that lets AI agents connect to tools and data sources. It expands what an agent can reach, so governance has to cover not only the model and its prompts, but also every system that can receive or return agent-driven data.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security 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 security 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