1. Conduid
  2. Developer Tools
  3. Codeql N1ght MCP Server
MCP server · Developer Tools

Codeql N1ght MCP Server

MCP server for CodeQL N1ght tool integration

Unclaimed last commit a year ago devtools
34Low

Scored 7 months ago · breakdown

About Codeql N1ght MCP Server

Codeql N1ght MCP Server is an MCP server published by yezere in the Developer Tools category: mCP server for CodeQL N1ght tool integration.

The repository has 8 stars and 3 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/yezere/codeql_n1ght_mcp_server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Codeql N1ght MCP Server

Powered by Claude · Grounded in docs

I know everything about Codeql N1ght MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

CodeQL N1ght MCP Server

A Model Context Protocol (MCP) server for integrating CodeQL N1ght tool with AI assistants.

Overview

This MCP server provides a standardized interface for AI assistants to interact with the CodeQL N1ght tool, enabling automated code analysis workflows including environment setup, database creation, and security scanning.

Features

  • Environment Installation: One-click setup of JDK, Ant, and CodeQL dependencies
  • Database Creation: Create CodeQL databases from JAR/WAR/ZIP files with configurable decompilers
  • Security Scanning: Execute security scans with customizable query packs
  • Parallel Processing: Support for goroutines and multi-threading
  • Flexible Configuration: Customizable paths, timeouts, and caching options

Available Tools

version

Get version or help information from the CodeQL N1ght executable.

install_environment

Install required dependencies (JDK, Ant, CodeQL) with optional custom URLs.

create_database

Create a CodeQL database from target files (JAR/WAR/ZIP) with options for:

  • Decompiler selection (procyon/fernflower)
  • Dependency handling (none/all)
  • Parallel processing
  • Cache management

scan_database

Execute security scans on CodeQL databases with configurable:

  • Database and query pack paths
  • Parallel processing options
  • Cache control

run_codeql_n1ght

Generic interface for direct command execution with custom arguments.

Installation

  1. Install dependencies:
pip install -r requirements.txt
  1. Ensure the CodeQL N1ght executable is available at the configured path (default: J:\mcp\codeql-n1ght.exe)

Usage

Run the MCP server in STDIO mode:

python codeql_n1ght_mcp_server.py

Configuration

  • Default Executable Path: J:\mcp\codeql-n1ght.exe
  • Path Compatibility: Supports both Windows (J:\path) and Unix-style (/j:/path) path formats
  • Timeouts: Configurable per operation (default: 10 minutes for general operations, 20 hours for database/scan operations)

Response Format

All tools return a standardized response format:

{
  "returncode": 0,
  "stdout": "command output",
  "stderr": "error output",
  "timeout": false
}

Error Handling

  • Executable Not Found: Returns error if CodeQL N1ght executable is missing
  • Invalid Parameters: Validates decompiler and dependency options
  • Timeout Management: Configurable timeouts with process termination
  • Path Resolution: Automatic path normalization and validation

License

This project is open source and available under the MIT License.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Codeql N1ght MCP Server

How do I install Codeql N1ght MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Codeql N1ght MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Codeql N1ght MCP Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.