Sourcebot MCP list_repos tool is not working
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- api
调研方向
Start at the list_repos MCP entry point and compare its authentication path with the working search_code tool, using the reported Amazon Q CLI invocation as the reproduction. Done means list_repos can retrieve repositories for the CBS group without incorrectly requiring or rejecting authentication while search_code continues to work.
由索引模型根据 Issue 内容生成。
描述
Hi All,
Pls, let me know what the issue is here. I'm using Amazon Q CLI as MCP client.
list_repos tool is not working
list down all the repos under cbs group using sourcebot mcp
I'll list all repositories under the cbs group using the Sourcebot MCP.
🛠️ Using tool: list_repos from mcp server sourcebot
⋮
● Running list_repos with the param:
⋮ {
⋮ "name": "list_repos",
⋮ "arguments": {}
⋮ }
Allow this action? Use 't' to trust (always allow) this tool for the session. [y/n/t]:
t
> I'm encountering an authentication error with the Sourcebot MCP. The error indicates that you need to set the
SOURCEBOT_API_KEY environment variable to authenticate with the Sourcebot service.
To list repositories under the CBS group using Sourcebot MCP, you'll need to:
-
Set up your Sourcebot API key as an environment variable:
bash
export SOURCEBOT_API_KEY=your_api_key_here -
Once authenticated, you can use the list_repos function to retrieve all repositories.
Please set the SOURCEBOT_API_KEY environment variable with your valid API key, and then I'll be able to help you list
all the repositories under the CBS group.
search_code tool is working
search GSM text in cbs group.
I'll search for "GSM" text in the CBS group repositories using the Sourcebot MCP.
🛠️ Using tool: search_code from mcp server sourcebot
⋮
● Running search_code with the param:
⋮ {
⋮ "name": "search_code",
⋮ "arguments": {
⋮ "query": "GSM",
⋮ "includeCodeSnippets": true
⋮ }
⋮ }
Allow this action? Use 't' to trust (always allow) this tool for the session. [y/n/t]:
t
⋮
● Completed in 3.862s
I found several matches for "GSM" text in the CBS group repositories. Here are the key findings:
GSM Search Results in CBS Group:
-
GSM Domain Class - camunda-wf-oneflow-credit-action
• Java class for GSM line of business with mobile number, account ID, and customer details -
GSM Constants - consolidated-ms-bypass-ccbs-soap-apis-minimum-pay-ms
• Defines GSM as a constant alongside other service types (DTV, VOLTE, etc.)
Regards,
Mohan
- 主要语言
- TypeScript
- 星标
- 3.9k
- 派生
- 374
- 平均合并
- 21 小时 18 分钟
- 30 天内合并 PR
- 39
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sourcebot-dev/sourcebot 的其他 Issue
-
bug triage needed
难度 2/5 1-3 小时 新手友好度 84/100
sourcebot-dev/sourcebot#1681 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
sourcebot-dev/sourcebot#1633 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
sourcebot-dev/sourcebot#1384 · 4 条评论 ·
-
ask_sb bug
难度 2/5 1-3 小时 新手友好度 76/100
sourcebot-dev/sourcebot#1137 · 4 条评论 ·
-
bug triage needed
难度 3/5 1-2 天 新手友好度 48/100
sourcebot-dev/sourcebot#1661 · 1 条评论 ·
查看 sourcebot-dev/sourcebot 的全部 Issue
相似的 Issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
Crush 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
catppuccin/catppuccin#3125 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/cln-application#167 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Quantco/pnpm-licenses#17 ·
-
难度 2/5 1-3 小时 新手友好度 75/100