mirror of
				https://gitea.com/gitea/gitea-mcp.git
				synced 2025-11-04 12:21:50 +00:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user