docs(index.md): initial commit for github mcp oauth docs

This commit is contained in:
Krrish Dholakia 2025-10-11 14:00:50 -07:00
parent f6e0ef4ee7
commit 73257be604

View file

@ -103,6 +103,25 @@ View the complete configuration: [gist.github.com/AlexsanderHamir/config.yaml](h
View the complete load testing script: [gist.github.com/AlexsanderHamir/no_cache_hits.py](https://gist.github.com/AlexsanderHamir/42c33d7a4dc7a57f56a78b560dee3a42)
### MCP Oauth
This release adds support for OAuth 2.0 Client Credentials for MCP servers. This is great for **Internal Dev Tools** use-cases, as it enables your users to call MCP servers, with their own credentials. E.g. Allowing your developers to call the Github MCP, with their own credentials.
Here's how to set it up today:
```yaml title="config.yaml" showLineNumbers
mcp_servers:
github_mcp:
url: "https://api.githubcopilot.com/mcp"
auth_type: oauth2
authorization_url: https://github.com/login/oauth/authorize
token_url: https://github.com/login/oauth/access_token
client_id: os.environ/GITHUB_OAUTH_CLIENT_ID
client_secret: os.environ/GITHUB_OAUTH_CLIENT_SECRET
scopes: ["public_repo", "user:email"]
```
## New Models / Updated Models
#### New Model Support