Melodeiro/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 dayong@mcphub.com.
The CodeQL MCP Server is a Model Context Protocol server that integrates with the CodeQL CLI and query server, allowing AI agents and tools to perform comprehensive code analysis using natural language.
Tools
Functions exposed to the LLM to take actions
register_database
Register a CodeQL database with the query server.
create_database
Build a CodeQL database from source code.
get_database_info
Retrieve database metadata.
evaluate_query
Execute a complete CodeQL query.
test_predicate
Quick-evaluate a single predicate/class.
decode_bqrs
Convert binary results to readable format.
list_supported_languages
List available CodeQL languages.
list_query_packs
List installed query packs and suites.
discover_queries
Find queries by pack/language/category.
find_security_queries
Search security queries by vulnerability type.
analyze_database
Run comprehensive analysis with query suites.
run_security_scan
Execute security-focused scan with SARIF output.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client