GitHub MCP Server — Hosted for Any AI Agent
MCP Server shield Key RequiredGitHub repos, PRs, issues, branches, code search via GitHub's official hosted MCP
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"github-api": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-github",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the list_repos tool to list repositories for the authenticated user or a specified organization, with sorting and filtering options”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
The GitHub MCP server connects your AI agent to GitHub repositories, pull requests, issues, and code search. Hosted on Aerostack, it gives you one authenticated URL — no local setup — that works from Claude, Claude Code, Cursor, ChatGPT, or any MCP client, so an agent can open issues, review PRs, search code, and automate work across every repo your token can reach.
description Overview
GitHub API MCP
Official proxy MCP — GitHub repos, PRs, issues, branches, code search via GitHub's official hosted MCP
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-github
Overview
GitHub API is a proxy MCP server that forwards requests directly to the official GitHub MCP endpoint at https://api.githubcopilot.com/mcp/. All tools are maintained by GitHub — new tools are available immediately without any Aerostack update.
Type: Proxy (hosted by GitHub)
Auth: Bearer token via GITHUB_PERSONAL_ACCESS_TOKEN
Available Tools
- list_repos — List repositories for the authenticated user or a specified organization, with sorting and filtering options
- get_repo — Get detailed information about a GitHub repository including stats, topics, and default branch
- create_issue — Create a new GitHub issue in a repository with title, body, labels, and assignees
- list_pull_requests — List pull requests for a repository filtered by state, base branch, or head branch
- search_code — Search for code across GitHub repositories using GitHub's code search syntax
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
GITHUB_PERSONAL_ACCESS_TOKEN |
Yes | GitHub Personal Access Token with required scopes | github.com → Settings → Developer settings → Personal access tokens → Generate new token |
Setup
Add to Aerostack Workspace
- Go to app.aerostack.dev/workspaces → Create Workspace
- Inside your workspace → Add Server → search "GitHub API"
- Enter your
GITHUB_PERSONAL_ACCESS_TOKENwhen prompted — stored encrypted, injected automatically
Once added, every AI agent in your workspace can use GitHub tools automatically.
Usage
Example Prompts
"List all my GitHub items and summarize the most recent ones"
"Find anything related to [keyword] in GitHub"
"Create a new entry with the following details: ..."
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-github \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-GITHUB-PERSONAL-ACCESS-TOKEN: your-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_repos","arguments":{}}}'
License
MIT
terminal Tools (5)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
list_repos #1 List repositories for the authenticated user or a specified organization, with sorting and filtering options
get_repo #2 Get detailed information about a GitHub repository including stats, topics, and default branch
create_issue #3 Create a new GitHub issue in a repository with title, body, labels, and assignees
list_pull_requests #4 List pull requests for a repository filtered by state, base branch, or head branch
search_code #5 Search for code across GitHub repositories using GitHub's code search syntax
Details
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
Tags
More in Devops
Browse Devops MCPs →Asana Project Management
by @aerostack
Tasks, projects, sections, comments, teams, custom fields via Asana's official MCP
Atlassian Cloud
by @aerostack
Jira issues, sprints, Confluence pages via Atlassian's official MCP
Cloudflare Platform
by @aerostack
Cloudflare Workers, KV, R2, D1, Pages, DNS via Cloudflare's official MCP
Datadog Observability
by @aerostack
Dashboards, monitors, logs, metrics, incidents, SLOs, APM traces via Datadog's official MCP
Figma Design
by @aerostack
Files, frames, components, comments, variables via Figma's official MCP
Grafana Cloud Observability
by @aerostack
Dashboards, alerting, Loki logs, Tempo traces, Prometheus metrics via Grafana's official MCP
Frequently asked questions
What is the GitHub MCP server and what can it do? +
The GitHub MCP server is hosted on Aerostack and exposes these tools to your AI agent: `list_repos`, `get_repo`, `create_issue`, `list_pull_requests`, `search_code`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the GitHub MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the GitHub MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same GitHub MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the GitHub MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-github": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-github"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the GitHub MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-github", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-github"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does GitHub MCP require authentication? +
Yes. GitHub uses Bearer token authentication. Set your token as a workspace secret in the Aerostack dashboard.