We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc2235 commit e38d453Copy full SHA for e38d453
src/client/auth.ts
@@ -750,7 +750,10 @@ export async function discoverAuthorizationServerMetadata(
750
protocolVersion?: string;
751
} = {}
752
): Promise<AuthorizationServerMetadata | undefined> {
753
- const headers = { 'MCP-Protocol-Version': protocolVersion };
+ const headers = {
754
+ 'MCP-Protocol-Version': protocolVersion,
755
+ 'Accept': 'application/json',
756
+ };
757
758
// Get the list of URLs to try
759
const urlsToTry = buildDiscoveryUrls(authorizationServerUrl);
0 commit comments