Agent architecture

Enterprise MCP Authentication: OAuth, SSO and Delegated Identity

Separate MCP authentication, authorization, and delegation. Compare OAuth, SSO, credential custody, approvals, and enterprise request flows.

Updated Sep 27, 2026

Last reviewed: September 2026

By Contro1 team (Enterprise agent control)

TL;DR: Enterprise MCP authentication establishes who is calling a protected MCP server. HTTP-based MCP authorization uses OAuth mechanisms; an enterprise identity provider can supply user sign-in. That does not, by itself, grant an agent permission to act for an employee. Authentication, action authorization, and delegation require distinct decisions. Contro1 provides one gateway for MCP tools and connected application APIs, with access scoped by agent, department, and person.

Key takeaways

  • Contro1 provides one gateway for MCP tools and connected application APIs, with access scoped by agent, department, and person.
  • Agent identity and employee identity are distinct.
  • Authentication, authorization, and delegation answer different questions.
  • Credential custody depends on provider and enterprise requirements.

The enterprise MCP authentication problem

A developer running a local MCP server may use environment credentials, while a remote HTTP server can use an OAuth flow. Those are different trust arrangements. Neither should be treated as a single shared login for an organization.

Now 500 employees use agents that need Gmail, Salesforce, Jira, and internal APIs. Which employee authorized a connection? Which agent holds it? Does leaving a department remove access? A working sign-in flow answers only part of that problem.

MCP authorization specification

Authentication vs authorization vs delegation

Keep these questions separate in the request contract. An agent identity is not an employee identity. Record both when the agent acts for a person, and distinguish that from an organization-authorized service operation.

ConceptQuestionConcrete example
AuthenticationWho are you?Validate the support agent’s credential.
AuthorizationWhat can you do?Allow CRM notes and deny account deletion.
DelegationOn whose behalf are you acting?Use authority explicitly granted by Alice for this task.

How Contro1 connects identity to enterprise access

Contro1 gives the identity chain an operational purpose: deciding which applications and actions this caller can access. Its gateway supports MCP and connected application API actions under the same organizational model.

Register the agent, connect it to the relevant department and accountable person, and define its action grants. A Sales agent acting for Maya can receive a different catalog and authority from a Support agent acting for Adam, even when both use the same enterprise application.

For delegated actions, the employee’s authority matters as well as the agent’s. Contro1 keeps the agent identity, person context, connection, decision, and execution evidence linked together.

Agent + Department + Person → verified caller context

Contro1 Gateway

Scoped catalog · action permissions · human approval · audit trail

↓ MCP tools: discover and invoke permitted tools

↓ Application APIs: connected API actions with the same organizational controls

Your enterprise applications: CRM · email · messaging · tickets · finance · internal systems

Allow · Require approval · Block

One gateway. Two access paths. A different scope for each agent, department, and person.

What different teams and people actually see

Here is an example access configuration for one organization. The same connected application can expose different capabilities to different callers. In Contro1, you scope grants to agents, departments, and people rather than handing every assistant the same list of tools.

CallerVisible capabilitiesExecution rule
Sales assistant · Sales · MayaCRM customer lookup, CRM notes, email draftingAllow lookup and notes; require approval to send external email.
Case assistant · Support · AdamCustomer cases, ticket creation, support messagesAllow case reads and tickets; keep Finance capabilities out of its catalog.
Invoice assistant · Finance · LeahAssigned finance records and invoice-review actionsLimit access to its assigned connections; require review for sensitive changes.

The identities involved in an agent action

An audit record should reconstruct the organization, employee or operator, agent, selected connection, and destination application. Carry stable identifiers and the trust level of identity assertions; an email supplied in a prompt is not verified identity.

For a background job, record the accountable owner and service authority instead of inventing an employee delegation. If user context cannot be verified for a delegated action, fail the request rather than silently upgrading it to an organization credential.

  1. Step 1

    Organization

    Defines the tenant and organizational policy.

  2. Step 2

    Employee / operator

    Provides verified delegated context or accountable ownership.

  3. Step 3

    AI agent

    Uses its own registered identity to request a tool action.

  4. Step 4

    Gateway

    Checks the authority chain and selects the permitted connection.

  5. Step 5

    Enterprise application

    Applies provider permissions and records the downstream operation.

Common enterprise authentication patterns

Choose patterns according to provider support and the action’s authority model. These are vendor-neutral options; a gateway may implement only some of them.

User OAuth: each employee authorizes access to an application. This suits personal mail and user-scoped records, but consent, token refresh, offboarding, and connection ownership need lifecycle management.

Organization-managed connection: an administrator connects a system centrally. Use agent grants to limit access to that connection; a broad service account does not reproduce each employee’s provider permissions automatically.

Delegated / on-behalf-of access: the application accepts authority derived from the employee through a supported delegation or token exchange flow. Check the token audience, requested scope, and provider’s actual delegation semantics.

Customer-managed / BYO identity: the organization retains its identity provider or credential vault. The gateway validates assertions and retrieves or exchanges tokens under a defined trust contract. Integration work and availability become part of the deployment.

Where should credentials live?

There is no universal custody model. Keep secrets out of prompts, skill bodies, and audit payloads. Encrypt stored tokens, restrict tenant access, and define rotation and incident revocation before connecting high-privilege systems.

PatternBenefitTrade-off
Gateway-managed credentialsCentral selection and refreshGateway becomes a sensitive credential custodian.
Customer vaultOrganization retains custodyVault availability and retrieval policy must be integrated.
Identity-provider token exchangeCan derive narrowly scoped delegated tokensRequires provider support and a precisely defined trust relationship.
Short-lived credentialsReduces exposure after theftExpiry, refresh, and interrupted workflows require handling.

Authentication is not enough

Alice can sign in to Salesforce successfully. Her agent should not automatically receive salesforce.account.delete. Check the agent’s action grant, Alice’s permitted authority, the organization’s policy, and the application’s own restrictions.

The allowed authority is constrained by all applicable boundaries. A gateway allow decision cannot override a provider denial. Likewise, a provider token with broad scope should not bypass the narrower action policy.

How a gateway separates connection access from action permission

Approval after authentication

An authenticated, permitted action can still warrant review. Reading mail may proceed automatically; sending a message to an external recipient may wait for approval. Treat the recipient, message body, and attachments as part of the reviewed request.

Approval should be time-limited and tied to the exact payload. If permission is withdrawn while the request waits, recheck authority before executing. A reviewer’s approval is not a substitute for valid credentials.

Illustrative approval policy
gmail.message.read          → allow
gmail.message.send.external → require approval

Enterprise MCP request flow

This is a reference execution flow, not a required MCP protocol sequence. Authenticate before accepting trusted context. Resolve the connection as metadata before approval, then obtain execution credentials only when the request is ready to run.

Write denial and failure evidence as well as success. Correlate the request and provider result without copying access tokens or unnecessary personal data into logs.

  1. Step 1

    1. Agent identifies itself

    Validate the credential and registered agent.

  2. Step 2

    2. User context is resolved

    Verify employee, organization, and delegation where required.

  3. Step 3

    3. Tool / action is requested

    Validate the operation and arguments.

  4. Step 4

    4. Connection is selected

    Match the provider connection to the tenant and authority mode.

  5. Step 5

    5. Authorization is evaluated

    Check grants, context, and policy; deny unauthorized calls.

  6. Step 6

    6. Approval is requested if required

    Hold the exact action for an accountable reviewer.

  7. Step 7

    7. Credential / token is obtained

    Retrieve or exchange the execution credential; recheck authority.

  8. Step 8

    8. Action executes

    Invoke the provider and capture the actual result.

  9. Step 9

    9. Evidence is written

    Record identity, decision, reviewer, timing, and outcome without secrets.

Standards and implementation boundaries

MCP’s HTTP authorization specification defines a transport access flow using OAuth mechanisms. Its stdio guidance instead relies on environment credentials. Enterprise SSO belongs to the identity-provider and authorization-server integration.

OAuth token exchange, specified in RFC 8693, is a separate mechanism for exchanging security tokens and representing delegation. It is not required for every MCP deployment, and citing it does not establish that a product implements it.

Contro1 has registered-agent credentials, action grants, connection handling, approval, and audit paths. Verify the configured provider and identity integration for your deployment; this guide does not claim blanket support for all OAuth, SSO, or token exchange standards.

MCP authorization specification · OAuth 2.0 Token Exchange (RFC 8693) · Agent gateways and execution boundaries

Frequently asked questions

How does MCP authentication work?

For protected HTTP servers, MCP defines an OAuth-based authorization flow and access-token use. Local stdio servers typically obtain credentials from the environment. The transport and implementation determine the setup.

Can MCP use SSO?

Yes, through an authorization server integrated with enterprise identity. SSO sign-in does not automatically supply delegated provider access or action-level permission.

Should an AI agent have its own identity?

Yes, a distinct identity lets the organization assign ownership, scope authority, revoke access, and distinguish the agent from the employee it acts for.

Can agents act on behalf of employees?

Yes, when the provider and integration support delegated access and the organization grants it. Verify the employee context; a user identifier attached by the agent is insufficient.

Where should MCP OAuth tokens be stored?

Use a protected credential store appropriate to the custody model, with encryption, access controls, rotation, and revocation. Keep tokens out of prompts, skill text, and ordinary logs.

What's the difference between MCP authentication and authorization?

Authentication validates who is calling. Authorization determines permitted resource or action access. The MCP authorization flow controls transport access; an enterprise policy may additionally govern each requested business action.

Your agents have identities. Give them the right access.

Create a free Contro1 account to connect agent ownership, department and person scopes, application access, approval, and audit. No credit card required.

Get started with Contro1

Related resources