2025-06-08 18:44:40 +08:00
|
|
|
{
|
|
|
|
|
"server_endpoints": {
|
|
|
|
|
"http": {
|
|
|
|
|
"url": "http://localhost:3000/mcp",
|
|
|
|
|
"timeout": 30,
|
|
|
|
|
"headers": {
|
|
|
|
|
"Content-Type": "application/json"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"http_network": {
|
|
|
|
|
"url": "http://192.168.31.168:3000/mcp",
|
|
|
|
|
"timeout": 30,
|
|
|
|
|
"headers": {
|
|
|
|
|
"Content-Type": "application/json"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"stdio": {
|
|
|
|
|
"command": "uv",
|
|
|
|
|
"args": ["run", "python", "-m", "doris_mcp_server.main", "--transport", "stdio"],
|
|
|
|
|
"timeout": 30,
|
|
|
|
|
"working_directory": ".."
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"test_settings": {
|
|
|
|
|
"default_transport": "http",
|
|
|
|
|
"retry_attempts": 3,
|
|
|
|
|
"retry_delay": 1.0,
|
|
|
|
|
"test_timeout": 60,
|
|
|
|
|
"enable_performance_tests": true,
|
|
|
|
|
"enable_security_tests": true
|
|
|
|
|
},
|
|
|
|
|
"test_data": {
|
|
|
|
|
"sample_queries": [
|
|
|
|
|
"SELECT 1 as test_value",
|
|
|
|
|
"SHOW DATABASES",
|
|
|
|
|
"SELECT COUNT(*) FROM information_schema.tables"
|
|
|
|
|
],
|
|
|
|
|
"test_databases": ["test_db", "demo_db"],
|
|
|
|
|
"test_tables": ["users", "orders", "products"],
|
|
|
|
|
"auth_tokens": {
|
|
|
|
|
"valid_token": "valid_token_123",
|
|
|
|
|
"admin_token": "admin_token_456",
|
|
|
|
|
"invalid_token": "invalid_token_789"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"expected_tools": [
|
2025-08-07 23:27:36 +08:00
|
|
|
"analyze_columns",
|
|
|
|
|
"analyze_data_access_patterns",
|
|
|
|
|
"analyze_data_flow_dependencies",
|
|
|
|
|
"analyze_resource_growth_curves",
|
|
|
|
|
"analyze_slow_queries_topn",
|
|
|
|
|
"analyze_table_storage",
|
|
|
|
|
"exec_adbc_query",
|
2025-06-08 18:44:40 +08:00
|
|
|
"exec_query",
|
2025-08-07 23:27:36 +08:00
|
|
|
"get_adbc_connection_info",
|
|
|
|
|
"get_catalog_list",
|
|
|
|
|
"get_db_list",
|
2025-06-08 18:44:40 +08:00
|
|
|
"get_db_table_list",
|
2025-08-07 23:27:36 +08:00
|
|
|
"get_memory_stats",
|
|
|
|
|
"get_monitoring_metrics",
|
2025-06-08 18:44:40 +08:00
|
|
|
"get_recent_audit_logs",
|
2025-06-12 19:36:16 +08:00
|
|
|
"get_sql_explain",
|
|
|
|
|
"get_sql_profile",
|
2025-08-07 23:27:36 +08:00
|
|
|
"get_table_basic_info",
|
|
|
|
|
"get_table_column_comments",
|
|
|
|
|
"get_table_comment",
|
2025-06-12 19:36:16 +08:00
|
|
|
"get_table_data_size",
|
2025-08-07 23:27:36 +08:00
|
|
|
"get_table_indexes",
|
|
|
|
|
"get_table_schema",
|
|
|
|
|
"monitor_data_freshness",
|
|
|
|
|
"trace_column_lineage"
|
2025-06-08 18:44:40 +08:00
|
|
|
],
|
|
|
|
|
"expected_resources": [
|
|
|
|
|
"database",
|
|
|
|
|
"table",
|
|
|
|
|
"view"
|
|
|
|
|
],
|
|
|
|
|
"expected_prompts": [
|
|
|
|
|
"sql_query_assistant",
|
|
|
|
|
"data_analysis_helper",
|
|
|
|
|
"schema_explorer"
|
|
|
|
|
]
|
2025-08-07 23:27:36 +08:00
|
|
|
}
|