github / github/app

[General] I am trying to configure an in-house MCP server that use OAuth authentication...

未关闭
#681 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs General
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

**Mood:** 😊
**Category:** General

I am trying to configure an in-house MCP server that uses OAuth authentication. We use it with Copilot CLI, VS Code, Claude, Cursor, ... but in the GitHub App, the authentication fails, and there is no way to troubleshoot it; the logs are not enough to figure out what happens.

```
2026-06-03T07:10:08.360352Z DEBUG github_app::websocket: received message text={"type":"start_mcp_oauth_login","name":"semantic-code-search","client_name":"GitHub Copilot","callback_success_message":"You can close this window and return to GitHub Copilot."}
2026-06-03T07:10:11.208880Z ERROR github_app::handlers::mcp_config: failed to start MCP OAuth login error=RPC error -32603: Request session.mcp.oauth.login failed with message: Failed to register OAuth client server_name=semantic-code-search
```

I guess it's the callback URL, but I don't have a way to confirm it, and I dunno which callback URL is being used. Can you document how to troubleshoot the MCP server connection and the configuration used for OAuth authentication?

---
| Field | Value |
| --- | --- |
| App version | 0.2.22 |
| OS | macOS 26.5.1 |
| Theme | GitHub |
| Path | /health |
| Tenure | Week 3 |

similar to https://github.com/github/app/issues/587 https://github.com/github/app/issues/104 https://github.com/github/app/issues/140 https://github.com/github/app/issues/554

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。