You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to add the official GitHub Copilot MCP server to LiteLLM MCP Gateway through the LiteLLM UI.
The remote MCP server URL is:
https://api.githubcopilot.com/mcp/
I want to avoid using a GitHub PAT and instead use the OAuth flow, ideally OAuth 2.1 with Dynamic Client Registration (DCR).
GitHub’s documentation and changelog suggest enhanced MCP OAuth support and DCR support, but I’m not sure how this should be configured specifically in LiteLLM.
In LiteLLM UI, I tried configuring the MCP server with:
However, during the authorization flow, LiteLLM returns errors such as:
{"detail": "MCP server authorization url is not set"}
or:
{"detail": "invalid_request"}
Questions
Does LiteLLM currently support connecting to GitHub Copilot MCP using OAuth 2.1 with Dynamic Client Registration?
If yes, what exact LiteLLM UI fields should be configured for:
MCP server URL
authorization URL
token URL
registration URL
client ID / client secret
callback / redirect URI
If DCR is not supported in this setup, is the only OAuth option to pre-register a GitHub OAuth App or GitHub App and manually provide the client ID and client secret?
Is PAT currently the only fully working authentication method for GitHub Copilot MCP behind LiteLLM?
I’m looking for the recommended production setup for GitHub Copilot MCP through LiteLLM without using PAT-based authentication.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to add the official GitHub Copilot MCP server to LiteLLM MCP Gateway through the LiteLLM UI.
The remote MCP server URL is:
I want to avoid using a GitHub PAT and instead use the OAuth flow, ideally OAuth 2.1 with Dynamic Client Registration (DCR).
GitHub’s documentation and changelog suggest enhanced MCP OAuth support and DCR support, but I’m not sure how this should be configured specifically in LiteLLM.
In LiteLLM UI, I tried configuring the MCP server with:
I also checked the metadata from:
However, during the authorization flow, LiteLLM returns errors such as:
{"detail": "MCP server authorization url is not set"}or:
{"detail": "invalid_request"}Questions
I’m looking for the recommended production setup for GitHub Copilot MCP through LiteLLM without using PAT-based authentication.
Beta Was this translation helpful? Give feedback.
All reactions