4,500+ servers built on MCP Fusion
Vinkius
Mastra AI AI client logo

Connect GitHub MCP to Mastra AI via Vinkius.

Automate repository lifecycle decisions through typed workflow pipelines.

Mastra AISDK
Mastra AI

Bring Version Control
to Mastra AI

Create your Vinkius account to connect GitHub to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

MCP Inspector GDPR Free for Subscribers
Create New IssueGet File ContentsGet My Github ProfileGet Repository DetailsList Org RepositoriesList Pull RequestsList Repo IssuesList Repository ForksList User RepositoriesSearch Github CodeSearch Github RepositoriesVerify Api Connection
ChatGPT Claude Perplexity

What Mastra AI can do with GitHub MCP Server

Connect your GitHub account to any AI agent to automate your software development lifecycle and code management through the Model Context Protocol (MCP). GitHub is the world's leading AI-powered developer platform. This MCP server enables you to retrieve repository metadata, manage issues, track pull requests, and search for code directly through natural conversation.

Key Features

  • Repository Oversight. List all repositories for any user or organization, and fetch detailed configuration metadata for specific projects.
  • Issue & PR Management. List issues and pull requests, track their lifecycle status, and programmatically open new issues from your chat interface.
  • Code Content Discovery. Retrieve the contents of files or directories within any repository to understand codebase structures.
  • Advanced Code Search. Execute powerful searches across GitHub's massive database to isolate specific code snippets or repositories.
  • Collaboration Tracking. Monitor forks and contributors to understand project community engagement.
  • Identity Oversight. Access detailed profile information for the authenticated GitHub user to verify permissions and account context.
  • Real-time Synchronization. Keep your source control and development data accessible to your AI assistant without leaving your primary workspace.

How it works

  1. Subscribe to this server through the Vinkius Marketplace
  2. Enter your GitHub Personal Access Token (found in Settings > Developer settings)
  3. Start managing your repositories from Claude, Cursor, or any MCP client

Who is this for?

  • Developers & Tech Leads. Quickly check the status of a pull request or list open issues without manual dashboard navigation.
  • Project Managers. Get a real-time overview of repository activity and community engagement via simple AI commands.
  • DevOps Engineers. Automate the retrieval of file contents and repository metadata for auditing and workflows.
Mastra AI
Mastra AI
You ask

"List the last 5 open issues in the 'facebook/react' repository."

Your AI delivers

Retrieving issues. I found 5 recent open issues in react, including 'Bug: Hydration error' and 'Feature request: New hook'. Would you like the details for any of them?

Isolated on Mastra AI. Enforced across all tools.

Provision GitHub for Mastra AI now. Expand to additional AI engines at any time with a single account and unified credential store.

Cross-platform

10+

AI clients. Simultaneous.

One Vinkius account distributes to every supported AI client in parallel.

MCP Catalog

4,500+

Isolated MCP Servers

CRM, payments, analytics, DevOps, bind any combination from the catalog. Governed.

Portability

Zero

lock-in. Ever.

Vinkius runs the infrastructure. Every MCP Server connection is portable by design.

Governance

Full

operational control

Policies, runbooks, RBAC, audit trails, and token budgets. Every MCP Server from one place.

Data Governance

GitHub talks.
Vinkius decides what Mastra AI hears.

Every response is filtered, logged, and gated before reaching the AI agent. No raw data passes through.

GitHub

raw payload

enters vinkius

DLP

Tokens, PII, secrets redacted

Audit

Write-once log, tamper-proof

RBAC

Roles, approvals, circuit breaker

sanitized output

Mastra AI

clean data only

GitHub
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

Mastra AI executes. Vinkius governs.

Guardrails, token cost tracking, audit logs, and usage analytics for every GitHub tool call are managed from a single dashboard. Vinkius operates the routing and scaling infrastructure.

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect GitHub using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

GitHub and the entire MCP catalog. No arbitrary hosting. Zero-trust by default.

Deploying GitHub to Mastra AI via Vinkius eliminates custom development, server maintenance, and security overhead. Integration profiles are pre-compiled and run on dedicated sandboxed infrastructure.

4,500+MCP Integrations
<40msResponse time
100%Managed for you
Raw MCP
Vinkius
Hardened MCPsFind and configure each manuallyFull catalog sandboxed
Connection SetupManual coding & server setupIsolated synchronous binding
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures GitHub for Mastra AI

All transactions between Mastra AI and GitHub pass through a secure egress gateway. Vinkius redacts sensitive payloads, enforces allowlist constraints, and supports immediate connection revocation.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01
How do I get a Personal Access Token (PAT) for GitHub?

Log in to GitHub, go to Settings > Developer settings > Personal access tokens, and you can generate a new token (classic or fine-grained) there.

02
Can I read private repositories?

Yes, provided that your Personal Access Token has the necessary scopes (e.g., 'repo') to access your private content.

03
How do I search for code within a specific organization?

Use the 'search_github_code' tool and include the organization qualifier in your query, for example: 'org:vinkius my-term'.

04
Can I comment on issues via the agent?

The current version supports creating new issues. For commenting or advanced PR management, you can use the search and metadata tools to gather context.

05
How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

06
Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

07
Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

08
createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →