Run the GitHub MCP agent and tools in a Meshagent Room in the cloud.

1. Required Environment Variables

  • GITHUB_PERSONAL_ACCESS_TOKEN: Your GitHub personal access token for API authentication.

2. Steps

  1. Install Meshagent (including plugins and tool support):

    pip install "meshagent[all]"
    
  2. Sign up and authenticate with Meshagent CLI

  3. Start the GitHub MCP Server as a Meshagent Room service:

    meshagent service test \
      --room=test \
      --role=agent \
      --image=meshagent/mcp-github-mcp-server:latest \
      --env MESHAGENT_PORT=8001 \
      --env GITHUB_PERSONAL_ACCESS_TOKEN=<YOUR_TOKEN> \
      --port="num=8001 path=/webhook liveness=/ type=meshagent.callable" \
      --name=mcp-github-mcp-server-service
    
    • This command creates a Meshagent Room called test, runs the GitHub MCP server inside it, and exposes the toolkit to the room.
    • Rooms will automatically close if inactive.
  4. Join the Room with a Chatbot that can use the toolkit:

    meshagent chatbot join \
      --room=test \
      --agent-name=sample \
      --name=sample \
      --toolkit=mcp-github-mcp-server
    
    • This starts a chatbot (sample) in the room with access to all GitHub MCP server tools.
    • Multiple toolkits and agents can be used in the same room.
    • A link to open and use the room will be provided in the output.

Tools Available

Official GitHub MCP Server, by GitHub. Provides seamless integration with GitHub APIs, enabling advanced automation and interaction capabilities for developers and tools.

What is an MCP Server?

Tools Provided (51)

Tool NameShort Description
add_issue_commentAdd a comment to a specific issue in a GitHub repository.
add_pull_request_review_comment_to_pending_reviewAdd a comment to the requester’s latest pending pull request review, a pending review needs to already exist to call this (check with the user if not sure).
assign_copilot_to_issueAssign Copilot to a specific issue in a GitHub repository.
create_and_submit_pull_request_reviewCreate and submit a review for a pull request without review comments.
create_branchCreate a new branch in a GitHub repository
create_issueCreate a new issue in a GitHub repository.
create_or_update_fileCreate or update a single file in a GitHub repository.
create_pending_pull_request_reviewCreate a pending review for a pull request.
create_pull_requestCreate a new pull request in a GitHub repository.
create_repositoryCreate a new GitHub repository in your account
delete_fileDelete a file from a GitHub repository
delete_pending_pull_request_reviewDelete the requester’s latest pending pull request review.
dismiss_notificationDismiss a notification by marking it as read or done
fork_repositoryFork a GitHub repository to your account or specified organization
get_code_scanning_alertGet details of a specific code scanning alert in a GitHub repository.
get_commitGet details for a commit from a GitHub repository
get_file_contentsGet the contents of a file or directory from a GitHub repository
get_issueGet details of a specific issue in a GitHub repository.
get_issue_commentsGet comments for a specific issue in a GitHub repository.
get_meGet details of the authenticated GitHub user.
get_notification_detailsGet detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notification, if you don’t know the ID list notifications first.
get_pull_requestGet details of a specific pull request in a GitHub repository.
get_pull_request_commentsGet comments for a specific pull request.
get_pull_request_diffGet the diff of a pull request.
get_pull_request_filesGet the files changed in a specific pull request.
get_pull_request_reviewsGet reviews for a specific pull request.
get_pull_request_statusGet the status of a specific pull request.
get_secret_scanning_alertGet details of a specific secret scanning alert in a GitHub repository.
get_tagGet details about a specific git tag in a GitHub repository
list_branchesList branches in a GitHub repository
list_code_scanning_alertsList code scanning alerts in a GitHub repository.
list_commitsGet list of commits of a branch in a GitHub repository
list_issuesList issues in a GitHub repository.
list_notificationsLists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and updates on issues or pull requests.
list_pull_requestsList pull requests in a GitHub repository.
list_secret_scanning_alertsList secret scanning alerts in a GitHub repository.
list_tagsList git tags in a GitHub repository
manage_notification_subscriptionManage a notification subscription: ignore, watch, or delete a notification thread subscription.
manage_repository_notification_subscriptionManage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.
mark_all_notifications_readMark all notifications as read
merge_pull_requestMerge a pull request in a GitHub repository.
push_filesPush multiple files to a GitHub repository in a single commit
request_copilot_reviewRequest a GitHub Copilot code review for a pull request.
search_codeSearch for code across GitHub repositories
search_issuesSearch for issues in GitHub repositories.
search_repositoriesSearch for GitHub repositories
search_usersSearch for GitHub users
submit_pending_pull_request_reviewSubmit the requester’s latest pending pull request review, normally this is a final step after creating a pending review, adding comments first, unless you know that the user already did the first two steps, you should check before calling this.
update_issueUpdate an existing issue in a GitHub repository.
update_pull_requestUpdate an existing pull request in a GitHub repository.
update_pull_request_branchUpdate the branch of a pull request with the latest changes from the base branch.

Tool Details


Meshagent Resources


With this setup, you can bring GitHub automation, continuous integration, and developer operations into live cloud workspaces using Meshagent Rooms, making DevOps and GitHub interactions collaborative and proactive.