forgejo-mcp
Verified Safeby goern
Overview
Integrates Forgejo with Model Context Protocol (MCP) systems, enabling AI agents to execute commands and manage repositories via a chat interface.
Installation
./forgejo-mcp --transport stdio --url "https://forgejo.example.org" --token "<your personal access token>"Environment Variables
- FORGEJO_URL
- FORGEJO_ACCESS_TOKEN
- FORGEJO_DEBUG
Security Notes
The server uses command-line arguments and environment variables for sensitive information like the Forgejo URL and access token, avoiding hardcoded secrets. It includes robust logging with context and sensitive URL sanitization. Input parameters for tools are type-checked and marked as required where appropriate. The SSE mode runs a local HTTP server, which is standard but requires users to manage its network exposure (though it defaults to localhost). No 'eval' or similar dangerous dynamic code execution patterns were found, and dependencies are standard for Go. Overall, the security implementation is strong for its purpose.
Similar Servers
git-mcp-server
A Model Context Protocol (MCP) server that provides Git-specific tools and resources for AI/LLM agents to interact with version control systems.
mcp-servers
Provides a curated collection of Model Context Protocol (MCP) server configurations to enable AI agents to interact with various developer tools and services.
tinystruct-mcp
This server provides a JSON-RPC interface for Git, GitHub API, and file system operations, intended for integration into DevOps, automation, and AI-driven workflows.
foreman-mcp-server
Enables Large Language Models (LLMs) to interact with a Foreman instance by exposing its API and documentation as MCP tools and resources.