diff --git a/README.md b/README.md index 39e69e6..31cc052 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ cp gitea-mcp /usr/local/bin/ 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": { @@ -57,6 +58,17 @@ To configure the MCP server for Gitea, add the following to your MCP configurati } ``` +- **sse mode** +```json +{ + "mcpServers": { + "gitea": { + "url": "http://localhost:8080/sse" + } + } +} +``` + > [!NOTE] > You can provide your Gitea host and access token either as command-line arguments or environment variables. > Command-line arguments have the highest priority