From 6f86512a7d0689562e7aca70adf39655618636a1 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Tue, 25 Mar 2025 02:56:56 +0000 Subject: [PATCH 1/4] update --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e38147d..8fcab67 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,13 @@ **Gitea MCP Server** is an integration plugin designed to connect Gitea with Model Context Protocol (MCP) systems. This allows for seamless command execution and repository management through an MCP-compatible chat interface. -## 🚧 Installation +## 🚧Installation -There is currently no official release. You will need to build the Gitea MCP Server from source. +### ⬇️Download the official binary release -### 🔧 Build from Source +You can download the official release from [here](https://gitea.com/gitea/gitea-mcp/releases). + +### 🔧Build from Source You can download the source code by cloning the repository using Git: @@ -25,7 +27,7 @@ Then run: make build ``` -### 🛠️ Add to PATH +### 🛠️Add to PATH After building, copy the binary gitea-mcp to a directory included in your system's PATH. For example: @@ -33,12 +35,13 @@ After building, copy the binary gitea-mcp to a directory included in your system cp gitea-mcp /usr/local/bin/ ``` -## 🚀 Usage +## 🚀Usage This example is for Cursor, you can also use plugins in VSCode. To configure the MCP server for Gitea, add the following to your MCP configuration file: - **stdio mode** + ```json { "mcpServers": { @@ -59,6 +62,7 @@ To configure the MCP server for Gitea, add the following to your MCP configurati ``` - **sse mode** + ```json { "mcpServers": { @@ -109,12 +113,12 @@ The Gitea MCP Server supports the following tools: |search_repos|Repository|Search for repositories| |get_gitea_mcp_server_version|Server|Get the version of the Gitea MCP Server| - -## 🐛 Debugging +## 🐛Debugging To enable debug mode, add the `-d` flag when running the Gitea MCP Server with sse mode: + ```sh -./gitea-mcp -t sse --token -d +./path/to/gitea-mcp -t sse --token -d ``` Enjoy exploring and managing your Gitea repositories via chat! From 7d2a0985a31fd10221706b534c49c0792d4770c3 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Tue, 25 Mar 2025 03:09:12 +0000 Subject: [PATCH 2/4] change the emoji --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fcab67..54486d7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## 🚧Installation -### ⬇️Download the official binary release +### 📥Download the official binary release You can download the official release from [here](https://gitea.com/gitea/gitea-mcp/releases). From 0aa33e0d6290eba9df67e9cda96d695ddc18d9c2 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Tue, 25 Mar 2025 03:10:06 +0000 Subject: [PATCH 3/4] change the emoji --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54486d7..84c85ab 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Then run: make build ``` -### 🛠️Add to PATH +### 📁Add to PATH After building, copy the binary gitea-mcp to a directory included in your system's PATH. For example: From 8395957553e97996d5f29323aeb69cd0b9f8b682 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Tue, 25 Mar 2025 03:11:33 +0000 Subject: [PATCH 4/4] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84c85ab..6b0b045 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ The Gitea MCP Server supports the following tools: To enable debug mode, add the `-d` flag when running the Gitea MCP Server with sse mode: ```sh -./path/to/gitea-mcp -t sse --token -d +./gitea-mcp -t sse --token -d ``` Enjoy exploring and managing your Gitea repositories via chat!