hackafterdark/context-sherpa
If you are the rightful owner of context-sherpa 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.
Context Sherpa is an AI-powered code analysis server designed to assist developers in guiding AI coding agents by providing tools for linting, validating, and managing code rules based on natural language feedback.
Tools
Functions exposed to the LLM to take actions
initialize_ast_grep
Initializes an ast-grep project, creating the necessary configuration files and directories.
scan_code
Scans a given code snippet using the project's central ast-grep ruleset to validate code and check for rule violations.
add_or_update_rule
Adds or updates a rule in the project's central sgconfig.yml file.
remove_rule
Removes a rule from the project's central sgconfig.yml file by its unique ID.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client