codeql-mcp-server

bui21x/codeql-mcp-server

3.1

If you are the rightful owner of codeql-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that provides CodeQL integration for AI agents.

CodeQL MCP Server

A Model Context Protocol (MCP) server that provides CodeQL integration for AI agents.

Features

  • Code security analysis
  • Query execution
  • JSON results format
  • Health monitoring

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Install CodeQL CLI

  2. Run server:

uvicorn src.mcp_server:app --reload

API Endpoints

  • POST /analyze - Run CodeQL analysis
  • GET /health - Check server health

MCP Integration

This server follows the MCP specification for tool integration with AI agents.