# McpOAuthAuthorizationMode

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.mcpoauthauthorizationmode/
> Summary: McpOAuthAuthorizationMode: The MCP OAuth authorization flow.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

The MCP OAuth authorization flow.

```csharp
[JsonConverter(typeof(JsonStringEnumConverter<McpOAuthAuthorizationMode>))]
public enum McpOAuthAuthorizationMode
```

## Fields

`AuthorizationCode = 0` 

The authorization code flow (Authorization Code + PKCE). Started from
the admin UI with `/oauth/start`, redirected to the provider, and
returns to `/oauth/callback`.

## Remarks

**A single value:** `ModelContextProtocol.Core` 2.3.0 supports only the Authorization Code (+PKCE) flow; `ClientOAuthOptions.RedirectUri` is a required field, and the library offers no non-interactive client-credentials flow. The value is still kept as an enum — if the SDK adds another flow later (for example, client_credentials), the extension point is ready.
