> ## Documentation Index
> Fetch the complete documentation index at: https://colin-feat-client-cache-mode.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuthConfig

Defined in: [server/FastMCP.ts:53](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/FastMCP.ts#L53)

## Properties

### issuerUrl?

```ts theme={null}
optional issuerUrl?: URL;
```

Defined in: [server/FastMCP.ts:60](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/FastMCP.ts#L60)

Issuer URL for the OAuth server (used in metadata endpoints).
Defaults to the HTTP server's bound address when not specified.

***

### provider

```ts theme={null}
provider: OAuthServerProvider;
```

Defined in: [server/FastMCP.ts:55](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/FastMCP.ts#L55)

OAuth server provider implementing the authorization and token flow.

***

### scopes?

```ts theme={null}
optional scopes?: string[];
```

Defined in: [server/FastMCP.ts:62](https://github.com/PrefectHQ/fastmcp-ts/blob/8976c37f79efa6b87809b884f29a1f235a8c4ad1/src/server/FastMCP.ts#L62)

Scopes supported by this server, advertised in OAuth metadata.
