Compatible with every major AI agent and IDE
What is the Forgejo (Gitea Fork) MCP Server?
Connect your Forgejo or Gitea instance to any AI agent to streamline your DevOps and repository management workflows through natural conversation.
What you can do
- Version Auditing — Retrieve detailed Forgejo and Gitea-compatible version information to ensure API compatibility across your infrastructure.
- Token Management — Generate new Personal Access Tokens (PATs) with specific scopes (read/write) using your BasicAuth credentials.
- CI/CD Automation — Trigger manual workflow dispatches for Forgejo Actions directly from the chat to start builds or deployments.
- Instance Inspection — Verify the health and configuration of your self-hosted Git service without leaving your development environment.
How it works
- Subscribe to this server
- Enter your Forgejo Instance URL and credentials (Token or Username/Password)
- Start managing your repositories and actions from Claude, Cursor, or any MCP-compatible client
Who is this for?
- DevOps Engineers — automate the triggering of CI/CD pipelines and monitor instance versions across multiple environments.
- Software Developers — generate API tokens for local scripts or integrations without navigating the web UI.
- System Administrators — quickly audit self-hosted Git instances and manage access credentials via AI assistance.
Built-in capabilities (4)
Generates a new personal access token. Generate a new API token for a user
Trigger a manual workflow dispatch in Forgejo Actions
Get detailed Forgejo version information
Get the Gitea-compatible version of the Forgejo instance
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Forgejo (Gitea Fork) tool infrastructure. Connect 4 tools through 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.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Forgejo (Gitea Fork) 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 Forgejo (Gitea Fork) 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
Forgejo (Gitea Fork) in Mastra AI
Forgejo (Gitea Fork) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Forgejo (Gitea Fork) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Forgejo (Gitea Fork) in Mastra AI
The Forgejo (Gitea Fork) 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. All 4 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* 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
How Vinkius secures
Forgejo (Gitea Fork) for Mastra AI
Every tool call from Mastra AI to the Forgejo (Gitea Fork) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How can I check which Forgejo version my instance is running?
You can use the get_forgejo_version tool. It will return the specific version string of your Forgejo instance, which is useful for debugging and feature compatibility checks.
Can I trigger a CI/CD build manually through the AI?
Yes! Use the dispatch_workflow tool by providing the repository owner, name, and the workflow file name. This triggers actions configured with the 'workflow_dispatch' event.
What is required to generate a new API token?
To use the create_token tool, you must have your Forgejo username and password configured in the credentials. This allows the agent to authenticate via BasicAuth and request a new token with your specified scopes.
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.
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.
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.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Column
12 toolsEmpower your Agent to operate a chartered US bank. Create accounts, trigger wire transfers, and orchestrate paper payouts using natural text.

DailyMed Drug Labels
3 toolsUniversal drug label intelligence — search official FDA labels and packaging via AI.

Snipcart
9 toolsConnect your headless e-commerce store to your AI. List orders, update fulfillment statuses, and manage customers seamlessly from your environment.

OpenRouteService
10 toolsPlan routes and analyze spatial data via OpenRouteService — calculate directions, isochrones, distance matrices, VRP optimization, and geocoding from any AI agent.
