Skip to main content
Glama

Joern MCP Server

by sfncat

load_cpg

Loads a Code Property Graph (CPG) from a specified file path for code review and security analysis. Ensures the correct CPG is active in the Joern MCP Server.

Instructions

Loads a CPG from a file if the cpg is not loaded or the cpg is not the same as the filepath. Args: cpg_filepath (str): The path to the CPG file, the filepath is absolute path. Returns: str: True if the CPG is loaded successfully, False otherwise.

Input Schema

NameRequiredDescriptionDefault
cpg_filepathYes

Input Schema (JSON Schema)

{ "properties": { "cpg_filepath": { "title": "Cpg Filepath", "type": "string" } }, "required": [ "cpg_filepath" ], "title": "load_cpgArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sfncat/mcp-joern'

If you have feedback or need assistance with the MCP directory API, please join our Discord server