Overview
What is codeql-mcp
codeql-mcp is a Model Context Protocol (MCP) server that integrates with the CodeQL query server, allowing tools like Cursor or AI agents to interact with CodeQL through structured commands and document searches.
How to Use
To use codeql-mcp, install the required packages using 'uv' or 'pip', then run the MCP server with 'uv run mcp run server.py -t sse'. Ensure your Cursor configuration points to the MCP server URL.
Key Features
Key features of codeql-mcp include the ability to register CodeQL databases, run full queries or quickly evaluate symbols, decode .bqrs files into JSON, and locate predicate/class symbol positions.
Where to Use
codeql-mcp can be used in software development, security analysis, and any domain requiring code analysis and querying using CodeQL.
Use Cases
Use cases for codeql-mcp include integrating CodeQL queries into development tools, enabling AI agents to perform code analysis, and facilitating document searches related to code queries.