Tools
GitHub Chat
Run an Agent and Tool in the Cloud
1. Set Environment Variables
- GITHUB_API_KEY: Your GitHub API key.
2. Install Meshagent
3. Set Up Meshagent Authentication
4. Start the MCP Agent Server in a Meshagent Room
- This command will start a Meshagent room with the MCP server available in the room. Rooms will close if they go inactive.
5. Join with a Chat Agent and Activate the Toolkit
- Starts a chatbot in the Meshagent room that can use the github-chat toolkit.
- Multiple toolkits can be used in the same room with the same agent.
- A link to the room will be provided in the output of this command to interact with the agent and tools.
Tools Available
Tools provided by this Server | Short Description |
---|---|
index_repository | Index a GitHub repository to analyze its codebase. |
query_repository | Ask questions about a GitHub repository and receive detailed AI responses. |
Tools Details
Tool: index_repository
Index a GitHub repository to analyze its codebase. This must be done before asking questions about the repository.
Parameters | Type | Description |
---|---|---|
repo_url | string | The GitHub repository URL to index (format: https://github.com/username/repo). |
Tool: query_repository
Ask questions about a GitHub repository and receive detailed AI responses. The repository must be indexed first.
Parameters | Type | Description |
---|---|---|
question | string | The question to ask about the repository. |
repo_url | string | The GitHub repository URL to query (format: https://github.com/username/repo). |
conversation_history | string (optional) | Previous conversation history for multi-turn conversations. |