Skip to main content
Glama
BenAHammond

code-auditor-mcp

by BenAHammond

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODE_AUDITOR_DATA_DIRNoDirectory to use as the storage root for the code index database.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
auditA

Fetch paginated results for a completed audit by resultId (or auditId alias). This tool never starts a new audit.

start_auditA

Start a background audit job. Returns immediately with a jobId. Poll audit_status until completed, then fetch pages with audit or audit_results.

audit_statusA

Get current status for a previously started background audit job. Returns resultId when completed.

audit_resultsA

Fetch paginated violations for a completed audit result by resultId.

audit_healthC

Quick health check of a codebase with key metrics

search_codeA

Search indexed functions and React components with natural language queries. Supports operators: entity:component, component:functional|class|memo|forwardRef, hook:useState|useEffect|etc, prop:propName, dep:packageName, dependency:lodash, uses:express, calls:functionName, calledby:functionName, dependents-of:functionName, used-by:functionName, depends-on:module, imports-from:file, unused-imports, dead-imports, type:fileType, file:path, lang:language, complexity:1-10, jsdoc:true|false

find_definitionA

Find the exact definition of a specific function or React component

sync_indexA

Synchronize, cleanup, or reset analysis-derived data (indexed functions, FlexSearch, cached audits, code maps, schema overlays). Project tasks, analyzer configs, and whitelist entries are preserved on reset.

generate_ai_configA

Generate configuration files for AI coding assistants

get_workflow_guideA

Get recommended workflows and best practices for using code auditor tools effectively

set_analyzer_configA

Set or update analyzer configuration that persists across audit runs

get_analyzer_configB

Get current configuration for an analyzer

reset_analyzer_configC

Reset analyzer configuration to defaults

get_code_map_sectionB

Retrieve a specific section of a previously generated code map

list_code_map_sectionsB

List all available sections for a code map

project_tasksA

Manage a persistent per-project task queue. Tasks and analyzer configs survive sync_index reset; reset clears function index, cached audits, code maps, and schema overlays (no ghost code references). Use delete to remove a task.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/BenAHammond/code-auditor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server