This commit is contained in:
yp05327
2025-03-25 02:56:56 +00:00
parent 7845a84c4e
commit 6f86512a7d

View File

@@ -4,7 +4,9 @@
## 🚧Installation ## 🚧Installation
There is currently no official release. You will need to build the Gitea MCP Server from source. ### ⬇Download the official binary release
You can download the official release from [here](https://gitea.com/gitea/gitea-mcp/releases).
### 🔧Build from Source ### 🔧Build from Source
@@ -39,6 +41,7 @@ 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: To configure the MCP server for Gitea, add the following to your MCP configuration file:
- **stdio mode** - **stdio mode**
```json ```json
{ {
"mcpServers": { "mcpServers": {
@@ -59,6 +62,7 @@ To configure the MCP server for Gitea, add the following to your MCP configurati
``` ```
- **sse mode** - **sse mode**
```json ```json
{ {
"mcpServers": { "mcpServers": {
@@ -109,12 +113,12 @@ The Gitea MCP Server supports the following tools:
|search_repos|Repository|Search for repositories| |search_repos|Repository|Search for repositories|
|get_gitea_mcp_server_version|Server|Get the version of the Gitea MCP Server| |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: To enable debug mode, add the `-d` flag when running the Gitea MCP Server with sse mode:
```sh ```sh
./gitea-mcp -t sse --token <your personal access token> -d ./path/to/gitea-mcp -t sse --token <your personal access token> -d
``` ```
Enjoy exploring and managing your Gitea repositories via chat! Enjoy exploring and managing your Gitea repositories via chat!