codeql-mcp
If you are the rightful owner of codeql-mcp 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.
This project runs a Model Context Protocol (MCP) server that wraps the CodeQL query server, enabling interaction through structured commands and document search.
The CodeQL MCP Server is designed to facilitate interaction with the CodeQL query server through a Model Context Protocol (MCP) server. This server allows tools like Cursor or AI agents to execute CodeQL queries, register databases, and decode results into JSON format. By providing a structured interface, it simplifies the process of running and managing CodeQL queries, making it accessible for various applications and integrations. The server is implemented using FastMCP and exposes CodeQL tools via a JSON-RPC handler, ensuring efficient communication and processing of requests.
Features
- Register CodeQL databases
- Run full queries or quick-evaluate a symbol
- Decode `.bqrs` files into JSON
- Locate predicate/class symbol positions