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:
		
							
								
								
									
										28
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								README.md
									
									
									
									
									
								
							@@ -4,26 +4,6 @@
 | 
			
		||||
 | 
			
		||||
**MCP Server Config**
 | 
			
		||||
```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": {
 | 
			
		||||
    "gitea": {
 | 
			
		||||
@@ -32,8 +12,12 @@
 | 
			
		||||
        "-t": "stdio",
 | 
			
		||||
        "--host": "https://gitea.com",
 | 
			
		||||
        "--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