github / github/github-mcp-server

No built in safeguard against getting rate limited

未關閉
#2,037 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug request ai review
主要語言
Go
星號
33k
分支
5k
平均合併
2 天 1 小時
30 天內合併 PR
52

描述

### Describe the bug

Agents can invoke this MCP server many times in rapid succession and trigger a rate limit lockout from GH api

### Affected version

Whatever version Github Copilot Chat uses at the moment at https://github.com/copilot

### Steps to reproduce the behavior

1. Ask the agent to deep dive into a GH repository
2. Observe the agent can trigger a lot of rapid succession invocations of the tool
3. Observe a trigger of api rate limiting occurring:

Image

Image

### Expected vs actual behavior

If the MCP would trigger a rate limit lockout, it should purposefully slow down and ideally warn the agent to pause between invocations and slow down, or it should just have a built in throttling/backoff to add a cooldown between invocations.

### Note
If this is *not* the `github-mcp-server` triggering this, feel free to let me know, Im not actually 100% sure this is what is triggering it but it *looks* like it is, so this seems like the first place to check in.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。