MCP Code Sanitizer
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CACHE_MAX | No | Max cache entries. | 200 |
| CACHE_TTL | No | Cache TTL in seconds. | 3600 |
| GROQ_MODEL | No | Groq model. | llama-3.3-70b-versatile |
| GROQ_API_KEY | Yes | Required. Get at console.groq.com. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_codeC | Strict analysis of a code fragment using Groq LLM. |
| compare_codeB | Compares two versions of code and evaluates the quality of changes. |
| explain_codeB | Explains what code does — step by step and clearly. |
| generate_testsB | Generates tests for the provided code. |
| analyze_fileA | Analyzes a whole code file from disk. Automatically detects language by file extension. Large files are split into chunks and analyzed in parallel. |
| cache_infoC | Shows cache statistics or clears the cache. |
| generate_reportA | Generates a beautiful HTML report from analyze_code or analyze_file results. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/notasandy/mcp-code-sanitizer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server