Skip to content

Sourcebot MCP list_repos tool is not working #541

@mohannara

Description

@mohannara

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:

  1. Set up your Sourcebot API key as an environment variable:
    bash
    export SOURCEBOT_API_KEY=your_api_key_here

  2. 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:

  1. GSM Domain Class - camunda-wf-oneflow-credit-action
    • Java class for GSM line of business with mobile number, account ID, and customer details

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions