GitHub MCP Server
for AI Agents
Connect your AI agent to StackOne's GitHub MCP server and give it 98 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
98 Agent Actions
Create, read, update, and delete across GitHub — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your GitHub MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every GitHub tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every GitHub call.
Tools Discovery →What is the GitHub MCP Server?
A GitHub MCP server lets AI agents read and write GitHub data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's GitHub MCP server ships with 98 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All GitHub MCP Tools
Every action from GitHub's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Workflow Runs
- List Workflow Runs
Retrieve GitHub Actions workflow execution history
- Get Workflow Run
Retrieve detailed information about a specific workflow execution (requires run_id from list_workflow_runs)
Artifacts
- List Artifacts
Get build artifacts generated by workflows
- Download Artifact
Retrieve artifact files from workflow runs (requires artifact_id from list_artifacts)
Commits
- List Commits
Get commit history for a repository or branch
- Get Commit
Retrieve detailed information about a specific commit
Deployments
- Create Deployment
Record a deployment event
- List Deployments
Get deployment history for a repository
- Delete Deployment
Remove a deployment record from the repository
Unified Groups
- List Unified Groups
List unified groups (teams) across every GitHub organization visible to the connection.
- Get Unified Group
Get a unified GitHub group by ID.
Unified Organizations
- List Unified Organizations
List unified organizations the authenticated GitHub identity belongs to.
- Get Unified Organization
Get a unified GitHub organization by ID.
Unified Roles
- List Unified Roles
List unified roles in GitHub.
- Get Unified Role
Get a unified GitHub role by ID.
Unified Users
- List Unified Users
List unified users in a GitHub organization.
- Get Unified User
Get a unified GitHub user by ID.
Issues
- Create Issue
Create a new issue in a repository
- List Issues
Retrieve issues for a repository with filtering options
- Get Issue
Retrieve detailed information about a specific issue
- Search Issues
Find issues and pull requests across repositories
- Update Issue
Modify issue title, body, labels, assignees, or state
Issue Comments
- Create Issue Comment
Add a comment to an issue or pull request
- List Issue Comments
Get all comments on an issue
Organizations
- Get Organization
Retrieve detailed information about a specific organization
- Update Organization
Update organization settings and profile information
Organization Members
- List Organization Members
List all users who are members of an organization
- Remove Organization Member
Remove a member from an organization
Pull Requests
- Create Pull Request
Propose code changes for review and merging
- List Pull Requests
Retrieve pull requests for a repository
- Get Pull Request
Retrieve detailed information about a specific pull request
- Update Pull Request
Modify pull request title, body, or state
Git References
- Create Git Reference
Create a new Git reference (branch or tag) pointing to a specific commit SHA
- Get Git Reference
Retrieve a single Git reference by its exact fully-qualified name
- Update Git Reference
Update an existing Git reference to point to a new commit SHA
- Delete Git Reference
Delete a Git reference (branch or tag) from a repository
Releases
- Create Release
Publish a new version of software with release notes
- List Releases
Get all releases for a repository
- Update Release
Modify release details or publish draft releases
- Delete Release
Remove a release from the repository
Repositorys
- Get Repository
Retrieve detailed information about a specific repository
- Update Repository
Modify repository settings including name, description, visibility, and features
- Delete Repository
Permanently remove a repository and all its contents
Code Scanning Alerts
- List Code Scanning Alerts
Get security vulnerabilities detected by code scanning
- Update Code Scanning Alert
Dismiss or reopen a code scanning alert
Secret Scanning Alerts
- List Secret Scanning Alerts
Get exposed secrets detected in repository
- Update Secret Scanning Alert
Resolve or reopen a secret scanning alert
Dependabot Alerts
- List Dependabot Alerts
Get vulnerability alerts for dependencies
- Update Dependabot Alert
Dismiss or reopen a Dependabot alert
Teams
- Create Team
Create a new team in an organization
- List Teams
Get all teams in an organization
- Get Team
Retrieve information about a specific team
- Update Team
Modify team settings and properties
- Delete Team
Remove a team from an organization
Team Members
- Add Team Member
Add a user to a team
- Remove Team Member
Remove a user from a team
Users
- List Users
Get all GitHub users
- Get User
Retrieve information about a specific user
- Update User
Modify authenticated user's profile information
Collaborators
- Add Collaborator
Grant repository access to a user
- List Collaborators
Get all users with access to a repository
- Remove Collaborator
Revoke repository access from a user
Other (36)
- Create Or Update File
Create a new file or update an existing file in a repository
- Create Deployment Status
Update the status of a deployment
- Create Pull Request Review
Submit a code review with comments and approval status
- Create Pull Request Review Comment
Add a line-level review comment on a pull request diff
- Upload Release Asset
Attach binary files to a release
- Create User Repository
Create a new repository for the authenticated user
- Create Organization Repository
Create a new repository in an organization
- Add Team Repository
Grant team access to a repository
- List Workflow Jobs
Get jobs within a workflow run (requires run_id from list_workflow_runs)
- Get Repository Content
Retrieve file or directory contents from a repository
- Get Unified Credentials
Get the current GitHub connection's unified credentials and identity.
- List Authenticated User Organizations
Retrieve list of organization memberships for the authenticated user
- List User Organizations
Retrieve list of public organization memberships for a specific user
- Get Organization Membership
Get membership details for a user in an organization (requires organization member authentication)
- List Authenticated User Organization Memberships
List all organization memberships for the authenticated user with state and role details
- List Matching Git References
List Git references in a repository matching a given ref prefix
- Get Latest Release
Retrieve the most recent published release
- List Authenticated User Repositories
Retrieve list of repositories for the authenticated user
- List User Repositories
Retrieve list of public repositories for a specific user
- List Organization Repositories
Retrieve list of repositories for an organization
- List Forks
Get all forks of a repository
- List Branches
Get all branches in a repository
- Get Branch
Retrieve information about a specific branch
- Search Code
Find code across GitHub repositories
- Search Repositories
Find repositories matching criteria
- Get Authenticated User
Retrieve information about the authenticated user
- Delete File
Delete a file from a repository
- Cancel Workflow Run
Stop a running workflow (requires run_id from list_workflow_runs)
- Re-run Workflow
Retry a failed or completed workflow (requires run_id from list_workflow_runs)
- Trigger Workflow
Manually trigger a workflow run
- Check Organization Membership
Check if a user is a member of an organization (publicly or privately)
- Invite Organization Member
Invite a user to join an organization
- Merge Pull Request
Integrate approved changes into the base branch
- Fork Repository
Create a personal copy of another repository
- Star Repository
Star a repository for the authenticated user
- Unstar Repository
Unstar a previously starred repository
Set Up Your GitHub MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to GitHub in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More Developer Tools MCP Servers
185+ actions
150+ actions
142+ actions
138+ actions
138+ actions
136+ actions
131+ actions
Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
GitHub MCP Server FAQ
Does StackOne have a GitHub MCP server?
GitHub MCP server vs direct API integration — what's the difference?
How does GitHub authentication work for AI agents?
origin_owner_id.Are GitHub MCP tools vulnerable to prompt injection?
What is the context bloat of a GitHub agent and how do I avoid it?
Can I limit which actions my GitHub agent can access?
Can I create custom agent actions for my GitHub MCP server?
When should I NOT use a GitHub MCP server?
What AI frameworks and AI clients does the StackOne GitHub MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.