GitHub Alternative MCP Server for Mastra AI 14 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect GitHub Alternative through the Vinkius and Mastra agents discover all tools automatically — type-safe, streaming-ready, and deployable anywhere Node.js runs.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token — get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"github-alternative": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "GitHub Alternative Agent",
instructions:
"You help users interact with GitHub Alternative " +
"using 14 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with GitHub Alternative?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About GitHub Alternative MCP Server
Connect your GitHub account to any AI agent and take full control of your development workflows through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and GitHub Alternative tool infrastructure. Connect 14 tools through the Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution — deployable to any Node.js host in one command.
What you can do
- User & Repository Discovery — View your profile and list all repositories with visibility, language and star counts
- Issue Management — List, inspect and create issues with labels and Markdown descriptions
- Pull Request Tracking — Browse and review pull requests with merge status, draft state and review info
- Commit History — Review commit logs across branches with author, message and timestamp
- Release Management — List releases and fetch specific release details by git tag
- CI/CD Monitoring — Check recent GitHub Actions workflow runs with status and conclusion
- Advanced Search — Search repositories using GitHub's powerful query syntax with language, stars and org qualifiers
The GitHub Alternative MCP Server exposes 14 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect GitHub Alternative to Mastra AI via MCP
Follow these steps to integrate the GitHub Alternative MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 14 tools from GitHub Alternative via MCP
Why Use Mastra AI with the GitHub Alternative MCP Server
Mastra AI provides unique advantages when paired with GitHub Alternative through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure — add GitHub Alternative without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every GitHub Alternative tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host — Vercel, Railway, Fly.io, or your own infrastructure
GitHub Alternative + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the GitHub Alternative MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query GitHub Alternative, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed GitHub Alternative as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query GitHub Alternative on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using GitHub Alternative tools alongside other MCP servers
GitHub Alternative MCP Tools for Mastra AI (14)
These 14 tools become available when you connect GitHub Alternative to Mastra AI via MCP:
create_issue
Requires the owner, repo and title. Optionally set the issue body (Markdown text) and labels (comma-separated). Returns the created issue with its number, title and URL. Create a new GitHub issue
get_issue
Provide the owner, repo and issue number. Get details for a specific GitHub issue
get_pull_request
Provide the owner, repo and PR number. Get details for a specific GitHub pull request
get_release_by_tag
Returns the release name, tag name, body (Markdown), draft/prerelease status, publish date and attached assets. Provide the owner, repo and tag name. Get a GitHub release by its tag name
get_repo
Provide the owner (org or user) and repo name. Get details for a specific GitHub repository
get_user
Returns login, name, email, avatar URL, company, bio, public repos count, followers and following counts. Use this to verify your token is working correctly. Get the authenticated GitHub user
list_branches
Each branch includes its name, commit SHA and whether it is the default (protected) branch. List branches in a GitHub repository
list_commits
Optionally filter by branch (sha parameter) and set the number of results. Each commit includes the SHA, author, commit message and date. Results are ordered newest first. List commits on a GitHub repository branch
list_issues
Optionally filter by state (open, closed, all). Note: GitHub's issues endpoint includes pull requests — use list_pull_requests for PRs only. Returns issue number, title, state, labels, assignee and creation date. List issues in a GitHub repository
list_pull_requests
Optionally filter by state (open, closed, all). Returns PR number, title, state, author, draft status, creation date and merge status. Use get_pull_request for full details on a specific PR. List pull requests in a GitHub repository
list_releases
Each release includes its tag name, name, draft/prerelease status, author, publish date and asset downloads info. Returns the most recent releases first. List releases for a GitHub repository
list_repos
Optionally filter by type (all, owner, public, private, member) and set the number of results per page. Returns repo name, full_name, description, visibility, language, stars, forks and creation date. List repositories for the authenticated user
list_workflow_runs
Optionally filter by branch and set the number of results. Each run includes its ID, workflow name, event trigger, status (queued, in_progress, completed), conclusion (success, failure), branch and creation date. List GitHub Actions workflow runs for a repository
search_repos
The query supports qualifiers like "language:typescript", "stars:>1000", "org:microsoft", "pushed:>2024-01-01" and free-text search. Results include repo name, description, stars, forks, language and creation date. Search GitHub repositories
Example Prompts for GitHub Alternative in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with GitHub Alternative immediately.
"Show me all open issues in my backend-api repo."
"What's the status of recent workflow runs on main branch?"
"Search for popular Python machine learning repos with over 1000 stars."
Troubleshooting GitHub Alternative MCP Server with Mastra AI
Common issues when connecting GitHub Alternative to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpGitHub Alternative + Mastra AI FAQ
Common questions about integrating GitHub Alternative MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Connect GitHub Alternative with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect GitHub Alternative to Mastra AI
Get your token, paste the configuration, and start using 14 tools in under 2 minutes. No API key management needed.
