Skip to main content
Glama

Joern MCP Server

by Lekssays
Dockerfile.joern•1.14 kB
# Dockerfile for Joern - Code Property Graph Analysis Tool # This builds a local Joern image with all necessary tools for C/C++ analysis FROM eclipse-temurin:21-jdk-jammy # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ git \ wget \ unzip \ build-essential \ && rm -rf /var/lib/apt/lists/* # Set Joern version ENV JOERN_VERSION=4.0.429 ENV JOERN_HOME=/opt/joern # Download and install Joern from joernio/joern GitHub releases RUN mkdir -p ${JOERN_HOME} && \ cd /tmp && \ wget -q https://github.com/joernio/joern/releases/download/v${JOERN_VERSION}/joern-install.sh && \ chmod +x joern-install.sh && \ sed -i 's/sudo //g' joern-install.sh && \ ./joern-install.sh && \ rm -rf joern-install.sh # Add Joern CLI tools to PATH ENV PATH="${JOERN_HOME}/joern-cli:${JOERN_HOME}/joern-cli/bin:${PATH}" # Create workspace directory RUN mkdir -p /workspace /playground # Set working directory WORKDIR /workspace # Verify installation - check joern RUN joern --help # Default command - keep container running for interactive use CMD ["tail", "-f", "/dev/null"]

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/Lekssays/joern-mcp'

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