- 
		Home
	
 
	- 
AI Engine
 
- 
3.1.6 (latest)
 
- 
Code
 
- 
Classes
 
-  Meow_MWAI_Labs_MCP 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											222 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,136 | 
										
																			
											| Lines of code | 
											846 | 
										
																			
											| Logical lines of code | 
											475 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											141 | 
										
																			
											| Methods | 
											26 | 
										
																			
											| Properties | 
											10 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 26
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| handle_message() | 
									D  | 
																	27  | 
													33 | 
													147 | 
							
					
				| handle_direct_jsonrpc() | 
									D  | 
																	27  | 
													31 | 
													146 | 
							
					
				| handle_sse() | 
									B  | 
																	36 | 
													22 | 
													72 | 
							
					
				| auth_via_bearer_token() | 
									B  | 
																	41 | 
													23 | 
													54 | 
							
					
				| normalize_input_schema() | 
									B  | 
																	38 | 
													22 | 
													65 | 
							
					
				| normalize_tool_definition() | 
									A  | 
																	45 | 
													15 | 
													42 | 
							
					
				| execute_tool() | 
									A  | 
																	40 | 
													13 | 
													57 | 
							
					
				| reply() | 
									A  | 
																	50 | 
													9 | 
													29 | 
							
					
				| rest_api_init() | 
									A  | 
																	44 | 
													6 | 
													51 | 
							
					
				| normalize_annotations() | 
									A  | 
																	54 | 
													8 | 
													19 | 
							
					
				| get_tools_list() | 
									S  | 
																	48 | 
													6 | 
													36 | 
							
					
				| format_tool_result() | 
									S  | 
																	51 | 
													5 | 
													34 | 
							
					
				| handle_noauth_access() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| fetch_messages() | 
									S  | 
																	53 | 
													3 | 
													21 | 
							
					
				| log() | 
									S  | 
																	68 | 
													4 | 
													7 | 
							
					
				| generate_sse_id() | 
									S  | 
																	73 | 
													3 | 
													4 | 
							
					
				| attach_session_header() | 
									S  | 
																	65 | 
													3 | 
													10 | 
							
					
				| store_message() | 
									S  | 
																	65 | 
													3 | 
													8 | 
							
					
				| rpc_error() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| __construct() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| is_logging_enabled() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| can_access_mcp() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| queue_error() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| get_resources_list() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| get_prompts_list() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| transient_key() | 
									S  | 
																	79 | 
													1 | 
													3 |