mirror of
				https://gitea.com/gitea/gitea-mcp.git
				synced 2025-11-04 12:21:50 +00:00 
			
		
		
		
	Use env for token in cursor configuration
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							@@ -10,13 +10,13 @@
 | 
			
		||||
      "command": "gitea-mcp",
 | 
			
		||||
      "args": [
 | 
			
		||||
        "-t": "stdio",
 | 
			
		||||
        "--host": "https://gitea.com",
 | 
			
		||||
        "--token": "<your personal access token>"
 | 
			
		||||
        "--host": "https://gitea.com"//,
 | 
			
		||||
       // "--token": "<your personal access token>"
 | 
			
		||||
      ],
 | 
			
		||||
      // "env": {
 | 
			
		||||
      "env": {
 | 
			
		||||
      //   "GITEA_HOST": "https://gitea.com",
 | 
			
		||||
      //   "GITEA_ACCESS_TOKEN": "<your personal access token>"
 | 
			
		||||
      // }
 | 
			
		||||
         "GITEA_ACCESS_TOKEN": "<your personal access token>"
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user