modelcontextprotocol / modelcontextprotocol/csharp-sdk
Not able to authenticate MCP Servers
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.5k
- Forks
- 814
- Avg merge
- 9d 19h
- Merged PRs (30d)
- 4
Description
Describe the bug
MCP servers are enable with Entra Id auth and when we are getting tools information it is failing to authenticate the MCP servers.
Error : Unable to download OpenID Connect Configuration.
Expected behavior
Authentication should work for MCP servers.
Logs
StatusCode: 500, ReasonPhrase: 'Unable to download OpenID Connect Configuration.'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is identified in the report. Start by reproducing tool-information retrieval for an MCP server using Entra ID authentication and trace the failure producing “Unable to download OpenID Connect Configuration”; done means authentication succeeds and tool information can be retrieved without the 500 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100