Provides read-only access to Docker environments to list containers, view logs, and list images for monitoring purposes.
Allows interaction with Gitea to manage issues, comments, labels, branches, and pull requests directly through the Gitea API.
Enables internet search capabilities using the Google Custom Search API to provide AI agents with up-to-date information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gitea MCP Proxy AgentList the open issues and summarize the most recent one."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gitea MCP Proxy Agent & Tools π
Note: This repository is a read-only mirror. Please submit issues and PRs to the main repository at git.boringstudio.by.
A comprehensive solution based on Model Context Protocol (MCP), providing AI (e.g., Gemini in WebStorm) access to development tools, memory, search, and infrastructure management. The project combines Gitea task management, secure command execution, long-term memory, Google search, and Docker operations.
π¦ System Components
The project includes a set of MCP servers ensuring a full development cycle:
1. Core Tools
Gitea Proxy Agent (
index.js)Interaction with Gitea (API) and local environment (Shell).
Optional proxying via Cloudflare Zero Trust.
Secure command execution.
Memory Server
Long-term memory for preserving context and project knowledge (
memory.json).
Sequential Thinking
Tool for deep step-by-step analysis of complex tasks and solution self-correction.
2. Data & Files
Filesystem
Secure access to the file system.
Restricted to directories:
/home/your_username/gitea-mcpand/home/your_username/boring_studio.
Fetch
Fetching web pages and converting their content to Markdown for AI reading.
Google Search
Searching for up-to-date information on the internet.
3. Infrastructure
Docker (Read-Only)
View container lists, logs, and images.
Runs in "read-only" mode for security.
π Capabilities
Gitea Proxy
Tools:
list_issuesβ Get a list of open issues (supports pagination).search_issuesβ Search issues by keywords and status.get_issue_detailsβ Read full issue description and status.create_issueβ Create a new issue.update_issueβ Update an issue (status, title, description, labels).add_commentβ Add a comment to an issue.list_labelsβ List repository labels.list_branchesβ List repository branches.create_pull_requestβ Create a Pull Request.run_safe_shellβ Secure execution of console commands in WSL.
Resources: View repository issues and files.
Prompts:
analyze-issue,create-bug-report.
Docker
list_containersβ List containers.fetch_container_logsβ Read logs.list_imagesβ List images.
Filesystem
read_file,list_directory,search_filesβ Full control over files in allowed zones.
Fetch
fetchβ Get content by URL (optimized for LLM).
βοΈ Requirements
WSL2 (Ubuntu)
Node.js (managed via
fnm)Python (with
uvorpip)Docker Desktop (WSL integration)
Gitea Token
Cloudflare Service Token (Optional)
Google Custom Search API Key
π Installation and Setup
1. Quick Start (npx)
If the package is published to npm:
2. Clone Repository
3. Environment Variables Setup
Create .env file in the project root (where you run the server).
.env (Gitea & Cloudflare):
4. IDE Connection (WebStorm / IntelliJ)
There are two configuration files available:
mcp-config.npm.json(Recommended for users)Uses
npx(orgitea-mcp-proxyglobal binary) to run the tools.Requires
Node.jsanduvinstalled.Important: You must create a
.envfile in the directory where you run the IDE/server.
mcp-config.local.json(For developers)Uses local paths (e.g.,
/home/your_username/...).Use this if you are developing the project locally.
Note for WSL users:
If you use fnm or nvm in WSL, ensure npx and node are available in the PATH when running via wsl.exe.
You might need to use a wrapper script or explicit initialization in the config.
Example start-mcp.sh:
π‘ Security
Gitea Proxy: ENV cleaning, dangerous command prohibition.
Docker:
--read-onlymode prevents accidental deletion or stopping of containers.Filesystem: Access strictly limited to specified directories.
Isolation: All processes run inside WSL.
π License
MIT