mirror of
				https://github.com/open-webui/mcpo
				synced 2025-06-26 18:26:58 +00:00 
			
		
		
		
	refac: server path url in docs
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
				
			
		
			
				
	
				Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
				
			
		
			
				
	
				Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
				
			
		
		
	
	
				
					
				
			
		
			Some checks are pending
		
		
	
	Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
				
			Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
				
			Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
				
			This commit is contained in:
		
							parent
							
								
									a6b5d5e9b0
								
							
						
					
					
						commit
						292059ee5e
					
				| @ -218,7 +218,7 @@ async def run( | ||||
|         for server_name, server_cfg in mcp_servers.items(): | ||||
|             sub_app = FastAPI( | ||||
|                 title=f"{server_name}", | ||||
|                 description=f"{server_name} MCP Server\n\n- [back to tool list](http://{host}:{port}/docs)", | ||||
|                 description=f"{server_name} MCP Server\n\n- [back to tool list](/docs)", | ||||
|                 version="1.0", | ||||
|                 lifespan=lifespan, | ||||
|             ) | ||||
| @ -237,9 +237,7 @@ async def run( | ||||
| 
 | ||||
|             sub_app.state.api_dependency = api_dependency | ||||
|             main_app.mount(f"{path_prefix}{server_name}", sub_app) | ||||
|             main_app.description += ( | ||||
|                 f"\n    - [{server_name}](http://{host}:{port}/{server_name}/docs)" | ||||
|             ) | ||||
|             main_app.description += f"\n    - [{server_name}](/{server_name}/docs)" | ||||
|     else: | ||||
|         raise ValueError("You must provide either server_command or config.") | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user