mirror of
				https://gitea.com/gitea/gitea-mcp.git
				synced 2025-11-03 20:01:50 +00:00 
			
		
		
		
	Resolve ERROR - Invalid configuration: Server 'gitea' 'args' must be a list (#101)
If you assume the template is correctly formatted, you will get this error during startup: Starting MCP OpenAPI Proxy with config file: /app/config.json 2025-10-17 19:03:07,288 - INFO - CORS Allowed Origins: ['*'] 2025-10-17 19:03:07,288 - INFO - Path Prefix: / 2025-10-17 19:03:07,289 - INFO - Root Path: 2025-10-17 19:03:07,289 - INFO - Loading MCP server configurations from: /app/config.json 2025-10-17 19:03:07,289 - ERROR - Invalid configuration: Server 'gitea' 'args' must be a list Reviewed-on: https://gitea.com/gitea/gitea-mcp/pulls/101 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: johan <johan@noreply.gitea.com> Co-committed-by: johan <johan@noreply.gitea.com>
This commit is contained in:
		
							
								
								
									
										10
									
								
								config.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								config.json
									
									
									
									
									
								
							@@ -2,11 +2,11 @@
 | 
				
			|||||||
  "mcpServers": {
 | 
					  "mcpServers": {
 | 
				
			||||||
    "gitea": {
 | 
					    "gitea": {
 | 
				
			||||||
      "command": "gitea-mcp",
 | 
					      "command": "gitea-mcp",
 | 
				
			||||||
      "args": {
 | 
					      "args": [
 | 
				
			||||||
        "-t": "stdio",
 | 
					        "-t", "stdio",
 | 
				
			||||||
        "--host": "https://gitea.com",
 | 
					        "--host", "https://gitea.com",
 | 
				
			||||||
        "--token": "<your personal access token>"
 | 
					        "--token", "<your personal access token>"
 | 
				
			||||||
      },
 | 
					      ]
 | 
				
			||||||
      "env": {
 | 
					      "env": {
 | 
				
			||||||
        "GITEA_HOST": "https://gitea.com",
 | 
					        "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