GitHub官方托管MCP独立profile:OAuth或PAT并受组织策略限制;与原Releases REST条件分开,未连接。
调用方式 / profile:github-hosted-mcp-documentation · 组件版本:documentation-sha256:d82155625c0669014710a0b1471f079ba0386824566d41946028f055968f1db7 · 引用此版本与调用方式
已记录条件
- invocation_mode = api:支持。Supported within this profile and component version. 依据:github-hosted-mcp-documentation-e1
- auth_required = true:支持。Supported within this profile and component version. 依据:github-hosted-mcp-documentation-e1
- execution_location = remote:支持。Supported within this profile and component version. 依据:github-hosted-mcp-documentation-e2
入口与前提
- 协议
- 远端MCP(文档客户端类型HTTP/SSE)
- 认证
- 默认OAuth,或具有必要scope的PAT;组织可限制scope/apps/PAT;Enterprise Managed User的PAT默认禁用除非管理员允许
- 价格是否查明
- unknown
- 配额是否查明
- unknown
https://api.githubcopilot.com/mcp/
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 保留原Releases REST profile及证据;该MCP认证/工具集独立,不借REST匿名或免费条件。
- 客户端安装/本地Docker路径不在此profile;Visual Studio示例需适用Copilot访问,不能推广为全部客户端统一收费规则。
- 组织/企业MCP策略和OAuth app/PAT限制必须满足;本页未给MCP通用价格/额度,保留unknown。
配方 github-hosted-mcp-documentation-recipe · 修订 1
所需调用能力:
- read_authorized_github_context
运行前提:
- 仅官方文档声明,配方proposed;本站未连接、注册、调用第三方工具或核验实际账户。
- 保留原Releases REST profile及证据;该MCP认证/工具集独立,不借REST匿名或免费条件。
- 客户端安装/本地Docker路径不在此profile;Visual Studio示例需适用Copilot访问,不能推广为全部客户端统一收费规则。
- 组织/企业MCP策略和OAuth app/PAT限制必须满足;本页未给MCP通用价格/额度,保留unknown。
使用步骤:
- 准备已获授权的最小输入,核对本profile的适用范围、认证与费用;不填私人信息或凭据到公开示例。
- 仅候选入口 https://api.githubcopilot.com/mcp/;未来核已批准OAuth/PAT scope及只读工具集,未获授权不登录/连接。
- 未来获准调用后核对HTTP/MCP状态、返回结构与请求条件,保留缺项/限流/权限错误;本次没有执行此步骤。
- 输入约定
- 未来经授权的公开仓库/对象只读查询;准确只读工具/参数与工具集配置本页未给,不猜tool/header或默认只读。
- 输出约定
- GitHub上下文与所选工具结果;完整工具输出、实际访问与额度未核。
- 成功检查
- 未来核对获准只读工具集、scope与返回出处;不调用写工具,不提升权限、不安装本地server。
- 失败与回退
- 条件不满足、认证/限流/结构错误即停止该调用并保留unknown;不切换付费服务、不猜工具名、不执行写操作。
适用证据
github-hosted-mcp-documentation-e1 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/mcp-public-batch-20261024-01/sources/github-hosted-mcp-documentation.txt:L625-L627
- 来源版本
- documentation-sha256:d82155625c0669014710a0b1471f079ba0386824566d41946028f055968f1db7
- 内容摘要
- d82155625c0669014710a0b1471f079ba0386824566d41946028f055968f1db7
- 采集时间
- 2026-10-24T04:42:34.8238998+00:00
The remote GitHub MCP server uses one-click OAuth authentication by default, but you can also manually configure it to use a personal access token (PAT) for authentication. If you use OAuth, the MCP server can only access the scopes you approve during sign-in. In organization-owned contexts, access may also be limited by admin policies that control which scopes and apps are permitted. If you use a PAT, the MCP server will have access to the scopes granted by the PAT, which is also subject to any PAT restrictions configured by the organization. Note If you are an Enterprise Managed User, then PAT is disabled by default, unless enabled by an enterprise administrator. If PAT is disabled, you won't be able to use PAT authentication. If you have OAuth access policy restrictions, you will need the OAuth App for each client (MCP host application) to be enabled (except Visual Studio Code and Visual Studio).
覆盖条件:invocation_mode=api; auth_required=true
github-hosted-mcp-documentation-e2 · 来源文档声明
- 原文定位
- .local/deep-cards-v1/mcp-public-batch-20261024-01/sources/github-hosted-mcp-documentation.txt:L629-L638
- 来源版本
- documentation-sha256:d82155625c0669014710a0b1471f079ba0386824566d41946028f055968f1db7
- 内容摘要
- d82155625c0669014710a0b1471f079ba0386824566d41946028f055968f1db7
- 采集时间
- 2026-10-24T04:42:34.8238998+00:00
Remote MCP server configuration with OAuth You do not need to create a PAT or install any additional software to use the remote GitHub MCP server with OAuth. You can set it up directly in Visual Studio. In the Visual Studio menu bar, click View, then click GitHub Copilot Chat. At the bottom of the chat panel, select Agent from the mode dropdown. In the Copilot Chat window, click the tools icon, then click the plus icon in the tool picker window. In the "Configure MCP server" pop-up window, fill out the fields. For "Server ID", type github . For "Type", select "HTTP/SSE" from the dropdown. For "URL", type https://api.githubcopilot.com/mcp/
覆盖条件:execution_location=remote
结构化配方尚未提供或不适用于本版本;旧用法文字保留,连接与执行结果未知。