Set these for GitHub MCP server integration:
GITHUB_PERSONAL_ACCESS_TOKEN
: Your GitHub Personal Access Token
Steps
-
Install Meshagent CLI:
-
Sign Up and Authenticate
Follow the Meshagent CLI getting started docs to sign up and log in. -
Launch MCP GitHub Agent in a Test Room:
- This starts a Meshagent Room with a GitHub MCP server available in the room.
- Rooms close if inactive.
-
Start a Chatbot in the Room:
- This runs a chatbot in the same Meshagent Room that can use the GitHub toolkit.
- You can use multiple toolkits with the same agent.
-
Interact!
- Visit the Room link in your browser.
- Send messages to the agent to interact with the MCP GitHub tools.
Project Level Deployment
To automatically provide your MCP server and chatbot to every Meshagent Room in your project—ideal for production or persistent automation—deploy services at the project level. This ensures agents join all new rooms consistently, with no manual launches or local processes required.Steps
-
Create Persistent MCP GitHub Agent Service:
-
Create Persistent Chatbot Service:
Tools Available
Tools for interacting with the GitHub API: file operations, repo management, search, issues, PRs, and more.Available Tools (26)
Tool | Short Description |
---|---|
add_issue_comment | Add a comment to an existing issue |
create_branch | Create a new branch in a GitHub repository |
create_issue | Create a new issue in a GitHub repository |
create_or_update_file | Create or update a single file in a GitHub repository |
create_pull_request | Create a new pull request in a GitHub repository |
create_pull_request_review | Create a review on a pull request |
create_repository | Create a new GitHub repository in your account |
fork_repository | Fork a GitHub repository |
get_file_contents | Get file or directory contents from a repository |
get_issue | Get details of a specific issue |
get_pull_request | Get details of a specific pull request |
get_pull_request_comments | Get review comments on a pull request |
get_pull_request_files | List files changed in a pull request |
get_pull_request_reviews | Get reviews on a pull request |
get_pull_request_status | Get combined status for a pull request |
list_commits | List commits of a branch |
list_issues | List issues in a repository |
list_pull_requests | List and filter pull requests in a repo |
merge_pull_request | Merge a pull request |
push_files | Push multiple files in a single commit |
search_code | Search for code across repositories |
search_issues | Search for issues and PRs |
search_repositories | Search for repositories |
search_users | Search for users |
update_issue | Update an existing issue |
update_pull_request_branch | Update a PR branch with base changes |
Tools Details
add_issue_comment
Add a comment to an existing issueParameters:
body
: stringissue_number
: numberowner
: stringrepo
: string
create_branch
Create a new branch in a GitHub repositoryParameters:
branch
: string (new branch name)owner
: stringrepo
: stringfrom_branch
: string (optional)
create_issue
Create a new issue in a GitHub repositoryParameters:
owner
: stringrepo
: stringtitle
: stringassignees
: array (optional)body
: string (optional)labels
: array (optional)milestone
: number (optional)
create_or_update_file
Create or update a single file in a GitHub repositoryParameters:
branch
: stringcontent
: stringmessage
: stringowner
: stringpath
: stringrepo
: stringsha
: string (optional)
create_pull_request
Create a new pull requestParameters:
base
: string (target branch)head
: string (source branch)owner
: stringrepo
: stringtitle
: stringbody
: string (optional)draft
: boolean (optional)maintainer_can_modify
: boolean (optional)
create_pull_request_review
Create a review on a pull requestParameters:
body
: stringevent
: stringowner
: stringpull_number
: numberrepo
: stringcomments
: array (optional)commit_id
: string (optional)
create_repository
Create a new GitHub repositoryParameters:
name
: stringautoInit
: boolean (optional)description
: string (optional)private
: boolean (optional)
fork_repository
Fork a GitHub repositoryParameters:
owner
: stringrepo
: stringorganization
: string (optional)
get_file_contents
Get contents of a file or directoryParameters:
owner
: stringpath
: stringrepo
: stringbranch
: string (optional)
get_issue
Get details of a specific issueParameters:
issue_number
: numberowner
: stringrepo
: string
get_pull_request
Get pull request detailsParameters:
owner
: stringpull_number
: numberrepo
: string
get_pull_request_comments
Get review comments on a pull requestParameters:
owner
: stringpull_number
: numberrepo
: string
get_pull_request_files
List files changed in a pull requestParameters:
owner
: stringpull_number
: numberrepo
: string
get_pull_request_reviews
Get reviews on a pull requestParameters:
owner
: stringpull_number
: numberrepo
: string
get_pull_request_status
Get status checks for a pull requestParameters:
owner
: stringpull_number
: numberrepo
: string
list_commits
List commits of a branchParameters:
owner
: stringrepo
: stringpage
: number (optional)perPage
: number (optional)sha
: string (optional)
list_issues
List issues in a repositoryParameters:
owner
: stringrepo
: string- …additional filters (see above)…
list_pull_requests
List and filter pull requestsParameters:
owner
: stringrepo
: string- …filters (see above)…
merge_pull_request
Merge a pull requestParameters:
owner
: stringpull_number
: numberrepo
: stringcommit_message
: string (optional)commit_title
: string (optional)merge_method
: string (optional)
push_files
Push multiple files in a commitParameters:
branch
: stringfiles
: arraymessage
: stringowner
: stringrepo
: string
search_code
Search for code across repositoriesParameters:
q
: string (query)order
: string (optional)page
: number (optional)per_page
: number (optional)
search_issues
Search for issues and PRsParameters:
q
: stringorder
: string (optional)page
: number (optional)per_page
: number (optional)sort
: string (optional)
search_repositories
Search for reposParameters:
query
: stringpage
: number (optional)perPage
: number (optional)
search_users
Search for usersParameters:
q
: stringorder
: string (optional)page
: number (optional)per_page
: number (optional)sort
: string (optional)
update_issue
Update an issueParameters:
issue_number
: numberowner
: stringrepo
: string- …additional fields to update…
update_pull_request_branch
Update a pull request branch with the latest base changesParameters:
owner
: stringpull_number
: numberrepo
: stringexpected_head_sha
: string (optional)
Meshagent Resources
- Meshagent Website: https://www.meshagent.com/
- Documentation: https://docs.meshagent.com
- MCP Tool Docker Image:
meshagent/mcp-github
(Prebuilt Docker image for GitHub MCP Server with Meshagent integration)