> ## Documentation Index
> Fetch the complete documentation index at: https://fastmcp-ts.docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuthConfig

Defined in: [server/FastMCP.ts:52](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/FastMCP.ts#L52)

## Properties

### issuerUrl?

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

Defined in: [server/FastMCP.ts:59](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/FastMCP.ts#L59)

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:54](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/FastMCP.ts#L54)

OAuth server provider implementing the authorization and token flow.

***

### scopes?

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

Defined in: [server/FastMCP.ts:61](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/server/FastMCP.ts#L61)

Scopes supported by this server, advertised in OAuth metadata.
