mirror of
				https://gitea.com/gitea/gitea-mcp.git
				synced 2025-10-31 02:11:50 +00:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							
								
								
									
										26
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								README.md
									
									
									
									
									
								
							| @@ -4,26 +4,6 @@ | |||||||
|  |  | ||||||
| **MCP Server Config** | **MCP Server Config** | ||||||
| ```json | ```json | ||||||
| { |  | ||||||
|   "mcpServers": { |  | ||||||
|     "gitea": { |  | ||||||
|       "command": "gitea-mcp", |  | ||||||
|       "args": { |  | ||||||
|         "-t": "stdio", |  | ||||||
|         "--host": "https://gitea.com", |  | ||||||
|         "--token": "<your personal access token>" |  | ||||||
|       }, |  | ||||||
|       "env": { |  | ||||||
|         "GITEA_HOST": "https://gitea.com", |  | ||||||
|         "GITEA_ACCESS_TOKEN": "<your personal access token>" |  | ||||||
|       } |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| } |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| - Cursor config |  | ||||||
| ```json |  | ||||||
| { | { | ||||||
|   "mcpServers": { |   "mcpServers": { | ||||||
|     "gitea": { |     "gitea": { | ||||||
| @@ -32,7 +12,11 @@ | |||||||
|         "-t": "stdio", |         "-t": "stdio", | ||||||
|         "--host": "https://gitea.com", |         "--host": "https://gitea.com", | ||||||
|         "--token": "<your personal access token>" |         "--token": "<your personal access token>" | ||||||
|       ] |       ], | ||||||
|  |       // "env": { | ||||||
|  |       //   "GITEA_HOST": "https://gitea.com", | ||||||
|  |       //   "GITEA_ACCESS_TOKEN": "<your personal access token>" | ||||||
|  |       // } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user