Run the MCP GitHub Chat Agent and Tool in a Test Room
Follow these steps to quickly deploy and interact with the MCP GitHub Chat tool in a Meshagent Room. When the room is closed, the tool and chatbot will also be automatically cleaned up.Environment Variables
GITHUB_API_KEY
: Required. Your GitHub API key.
Steps
-
Install Meshagent CLI
-
Sign Up and Authenticate
Get started and authenticate with Meshagent CLI -
Deploy MCP Server as Room Agent
- This command will start a test Meshagent Room with a running MCP GitHub Chat server. The server and room are ephemeral and shut down with inactivity.
-
Start Chatbot with GitHub Chat Toolkit
- This adds a chatbot to the same Meshagent Room, enabling natural language access to the GitHub-aware MCP tools.
- A link to the room will be provided in the output.
-
Interact in Browser
- Visit the room link in your browser and send messages to the agent to interact with the MCP Server tools!
Project Level Deployment (Production)
To make the MCP server and chatbot available in all current and future project rooms, deploy them as persistent project-level services. This is ideal for production—no need to run the tools or bots locally, and they become available automatically whenever a new room is created.-
Create Persistent MCP GitHub Chat Service
-
Create Persistent Chatbot Service
Tools Available
Tools Summary
Tool Name | 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
Indexes a GitHub repository to analyze its codebase.Must be used before asking questions about the repository.
Parameter | 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 get detailed AI-powered answers.Note: The repository must be indexed first.
Parameter | Type | Description |
---|---|---|
question | string | The question you want to ask about the repository. |
repo_url | string | The GitHub repository URL being queried (format: https://github.com/username/repo). |
conversation_history | string (optional) | Previous conversation history for multi-turn conversations. |
Meshagent & Resources
Empower your Meshagent Rooms with GitHub repository intelligence, instantly and at scale!