mcp_settings.json•1.54 kB
{
"mcpServers": {
"joern": {
"autoApprove": [
"ping",
"load_cpg",
"get_method_callees",
"get_method_callers",
"get_class_full_name_by_id",
"get_class_methods_by_class_full_name",
"get_method_code_by_full_name",
"get_method_code_by_id",
"get_method_full_name_by_id",
"get_call_code_by_id",
"get_method_code_by_class_full_name_and_method_name",
"get_derived_classes_by_class_full_name",
"get_parent_classes_by_class_full_name",
"get_method_by_call_id",
"get_referenced_method_full_name_by_call_id",
"get_calls_in_method_by_method_full_name"
],
"disabled": false,
"command": "uv",
"args": [
"--directory",
"/home/kali/ssd/workspace/mcp-joern",
"run",
"server.py"
],
"transportType": "stdio",
"description": "Joern mcp server",
"config": {
"host":"127.0.0.1",
"port":"16162",
"log_level":"ERROR",
"timeout": 1800
}
}
},
"llm": {
"model_type": "custom",
"config": {
"openai": {
"model": "gpt-4",
"base_url": "https://api.openai.com/v1",
"timeout": 30
},
"local": {
"model": "",
"base_url": "http://localhost:8000/v1",
"timeout": 30
},
"custom": {
"model": "qwq-plus-latest",
"base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"timeout": 60
}
}
}
}