Skip to content

Commit 678ea3a

Browse files
authored
feat: fixes mcp quickstart content-type, new CIMD tenant setting mention (#78)
1 parent fbb309e commit 678ea3a

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

auth-for-mcp/fastmcp-mcp-js/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,18 @@ auth0 tenants list
4646

4747
### Step 2: Configure Tenant Settings
4848

49-
Next, enable tenant-level flags required for Dynamic Client Registration (DCR) and an improved user consent experience.
49+
Next, enable tenant-level flags required for Client ID Metadata Document (CIMD) and Dynamic Client Registration (DCR) registration for an improved user consent experience.
5050

51-
- `enable_dynamic_client_registration`: Allows MCP tools to register themselves as applications automatically.
51+
- `client_id_metadata_document_supported`: Allows MCP tools to be accessed by CIMD clients. MCP Clients should prioritize pre-registered clients and CIMD clients prior to using DCR per the current [MCP specification](https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#client-registration-approaches).
52+
- `enable_dynamic_client_registration`: Allows MCP tools to register themselves as applications automatically via DCR.
5253
[Learn more](https://auth0.com/docs/get-started/applications/dynamic-client-registration#enable-dynamic-client-registration)
5354
- `use_scope_descriptions_for_consent`: Shows user-friendly descriptions for scopes on the consent screen.
5455
[Learn more](https://auth0.com/docs/customize/login-pages/customize-consent-prompts).
5556

5657
Execute the following command to enable the above mentioned flags through the tenant settings:
5758

5859
```
59-
auth0 tenant-settings update set flags.enable_dynamic_client_registration flags.use_scope_descriptions_for_consent
60+
auth0 tenant-settings update set client_id_metadata_document_supported flags.enable_dynamic_client_registration flags.use_scope_descriptions_for_consent
6061
```
6162

6263
### Step 3: Promote Connections to Domain Level

auth-for-mcp/nextjs-mcp-js/src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ export const MCP_SERVER_URL =
1212
*/
1313
export const corsHeaders = {
1414
"Access-Control-Allow-Origin": "*", // Adjust as needed for production
15-
"Access-Control-Allow-Methods": "GET, OPTIONS"
15+
"Access-Control-Allow-Methods": "GET, OPTIONS",
16+
"Content-Type": "application/json"
1617
};

0 commit comments

Comments
 (0)