J
JordyZomer/codeql-mcp
Run CodeQL queries from an agent
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Install command from the repository
pip install fastmcp
Parsed from the README we fetched on 2026-11-05; we have not executed it.
This is the install method the repository states, not an MCP client config, so no JSON is generated.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
pip install fastmcp
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
pip install fastmcp. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# CodeQL MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
This project runs a Model Context Protocol (MCP) server that wraps the CodeQL query server. It enables tools like Cursor or AI agents to interact with CodeQL through structured commands and doc search.
## Features
✅ Register CodeQL databases
✅ Run full queries or quick-evaluate a symbol
✅ Decode .bqrs files into JSON
✅ Locate predicate/class symbol positions
## File Structure
| File | Purpose |
| server.py | Main FastMCP server exposing CodeQL tools |
| codeqlclient.py | CodeQLQueryServer implementation (JSON-RPC handler) |
## Requirements
Install with uv:
bash
uv pip install -r requirements.txt
or with pip:
bash
pip install fastmcp httpx
## Running the MCP Server
bash
uv run mcp run server.py -t sse
Starts the server at http://localhost:8000/sse
Required for Cursor or AI agent use
## Cursor Config
Make sure your .cusor/config.json contains:
"mcpServers": {
"CodeQL": {
"url": "http://localhost:8000/sse"
## Notes
Tools like Cursor will invoke these commands directly via natural language.
You must have a codeql binary in your $PATH, or hardcode its path in codeqlclient.py.
You should probably specify query locations, query write locations and database paths in your prompts.
## Features
✅ Register CodeQL databases
✅ Run full queries or quick-evaluate a symbol
✅ Decode .bqrs files into JSON
✅ Locate predicate/class symbol positions
## File Structure
| File | Purpose |
| server.py | Main FastMCP server exposing CodeQL tools |
| codeqlclient.py | CodeQLQueryServer implementation (JSON-RPC handler) |
## Requirements
Install with uv:
bash
uv pip install -r requirements.txt
or with pip:
bash
pip install fastmcp httpx
## Running the MCP Server
bash
uv run mcp run server.py -t sse
Starts the server at http://localhost:8000/sse
Required for Cursor or AI agent use
## Cursor Config
Make sure your .cusor/config.json contains:
"mcpServers": {
"CodeQL": {
"url": "http://localhost:8000/sse"
## Notes
Tools like Cursor will invoke these commands directly via natural language.
You must have a codeql binary in your $PATH, or hardcode its path in codeqlclient.py.
You should probably specify query locations, query write locations and database paths in your prompts.
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/jordyzomer-codeql-mcp/)
- Source
- awesome · https://github.com/JordyZomer/codeql-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.