- Notifications
You must be signed in to change notification settings - Fork3.2k
Add a Remote MCP configuration example that employs a PAT#514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
10 commits Select commitHold shift + click to select a range
c1e61b8 Add a Remote MCP configuration example that employs a PAT
jww327b82d6 Fixed "Other MCP Hosts" example
jww3ef8f612 Revert `<H1>`-related changes.
jww34a1cb43 fixed wording (pluralized)
jww304856da Responded to PR feedback.
jww3c7ff79b Remove `MCP Host` column (for now).
jww3ad1df84 Responded to PR feedback
jww3d72a937 Remove Claude labelling
jww3adef317 Tweak wording.
jww3a86f3dd Include `Bearer`
jww3File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -12,7 +12,7 @@ automation and interaction capabilities for developers and tools. | ||
| --- | ||
| # Remote GitHub MCP Server | ||
jww3 marked this conversation as resolved. OutdatedShow resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| [](https://insiders.vscode.dev/redirect/mcp/install?name=github&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2F%22%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=github&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2F%22%7D&quality=insiders) | ||
| @@ -32,6 +32,11 @@ For quick installation, use one of the one-click install buttons above. Once you | ||
| For MCP Hosts that have been [configured to use the remote GitHub MCP Server](docs/host-integration.md), add the following JSON block to the host's configuration: | ||
| <table> | ||
| <tr><th>Using OAuth</th><th>Using a GitHub PAT</th></tr> | ||
| <tr valign='top'> | ||
| <td> | ||
| ```json | ||
| { | ||
| "mcp": { | ||
| @@ -45,6 +50,37 @@ For MCP Hosts that have been [configured to use the remote GitHub MCP Server](do | ||
| } | ||
| ``` | ||
| </td> | ||
| <td> | ||
| ```json | ||
| { | ||
| "mcp": { | ||
| "servers": { | ||
| "github": { | ||
| "type": "http", | ||
| "url": "https://api.githubcopilot.com/mcp/" | ||
| "headers": { | ||
| "Authorization": "Bearer ${input:github_mcp_pat}", | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "inputs": [ | ||
| { | ||
| "id": "github_mcp_pat", | ||
| "type": "promptString", | ||
| "description": "GitHub Personal Access Token", | ||
| "password": true | ||
| } | ||
| ] | ||
| } | ||
| ``` | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| > **Note:** The exact configuration format may vary by host. Refer to your host's documentation for the correct syntax and location for remote MCP server setup. | ||
| ### Configuration | ||
| @@ -53,7 +89,7 @@ See [Remote Server Documentation](docs/remote-server.md) on how to pass configur | ||
| --- | ||
| # Local GitHub MCP Server | ||
jww3 marked this conversation as resolved. OutdatedShow resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| [](https://insiders.vscode.dev/redirect/mcp/install?name=github&inputs=%5B%7B%22id%22%3A%22github_token%22%2C%22type%22%3A%22promptString%22%2C%22description%22%3A%22GitHub%20Personal%20Access%20Token%22%2C%22password%22%3Atrue%7D%5D&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22-e%22%2C%22GITHUB_PERSONAL_ACCESS_TOKEN%22%2C%22ghcr.io%2Fgithub%2Fgithub-mcp-server%22%5D%2C%22env%22%3A%7B%22GITHUB_PERSONAL_ACCESS_TOKEN%22%3A%22%24%7Binput%3Agithub_token%7D%22%7D%7D) [](https://insiders.vscode.dev/redirect/mcp/install?name=github&inputs=%5B%7B%22id%22%3A%22github_token%22%2C%22type%22%3A%22promptString%22%2C%22description%22%3A%22GitHub%20Personal%20Access%20Token%22%2C%22password%22%3Atrue%7D%5D&config=%7B%22command%22%3A%22docker%22%2C%22args%22%3A%5B%22run%22%2C%22-i%22%2C%22--rm%22%2C%22-e%22%2C%22GITHUB_PERSONAL_ACCESS_TOKEN%22%2C%22ghcr.io%2Fgithub%2Fgithub-mcp-server%22%5D%2C%22env%22%3A%7B%22GITHUB_PERSONAL_ACCESS_TOKEN%22%3A%22%24%7Binput%3Agithub_token%7D%22%7D%7D&quality=insiders) | ||
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.