slugaudit-mcp
Stores and manages code audit data (projects, files, signatures, dependencies, findings) in a PostgreSQL database, enabling persistent import, status, and briefing operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
SlugAudit
SlugAudit is a local stdio MCP server that indexes an opted-in project into a
disposable SQLite database (<root>/.planning/slugaudit/project.db), so an AI
coding agent queries symbols, call sites, imports, comments, diagnostics,
dependency edges, and file text instead of reading files one by one.
Language support
Rust is the only tested language.
Rust's Tree-sitter grammar is compiled statically into the slugaudit binary,
so Rust works offline with zero runtime grammar downloads. Other languages
download Tree-sitter grammars on first use, remain available, and emit a line
in notices on tool responses (report, leads, structure) so the agent
knows their results are untested and best-effort.
If you hit a problem with a language other than Rust, please open an issue or contribute a tested adapter for it.
Related MCP server: Code Expert MCP Server
Always matches your code
On every tool call except health (and cursor continuations reading a stored
page), SlugAudit walks the project, BLAKE3-hashes every regular file on disk,
compares against files.content_hash in SQLite, updates changed rows, adds new
files, and removes deleted ones. Stored files.content is never re-read or
re-hashed out of SQLite. There is no file watcher.
Opt-in per repo: a project is enabled iff
<root>/.planning/slugaudit/exists (project_control"action": "on"creates it;"action": "off"deletes it). Everything inside.planning/slugaudit/is disposable local scratch; a missing or damaged database is deleted and rebuilt from disk.Session-only model state: findings (
finding,finding_read,finding_clear), custom mechanics (mechanic), and the sessionprofilelast one server process and are wiped when SlugAudit restarts.
Install & CLI
curl -fsSL https://raw.githubusercontent.com/SlugThugLabs/slugaudit/main/install.sh | bashConnect to your coding client or manage the installation:
slugaudit connect claude # or: cursor, gemini, agy, codex, opencode, ...
slugaudit disconnect claude # alias: slugaudit remove claude
slugaudit install # install this binary to ~/.slugthug/slugaudit/
slugaudit grammar <list|install> # list or install optional non-Rust grammars
slugaudit menu # interactive setup menu
slugaudit update # update to the latest Linux x86_64 releaseTools
Tool | What it does |
| Project snapshot: file and language counts, skipped files, import resolution, notices |
| Read-only SQL ( |
| Tree-sitter pattern search over one file or all files of a language |
| Unranked counts and file/line rows for mechanical facts ( |
| Register, list, or remove session Tree-sitter counters for |
| Record, read, and clear this session's review findings, bound to each file's content hash |
| Turn indexing |
| Read-only server, database, and result-store state (never syncs) |
Documentation
Start at docs/README.md:
License
See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-powered codebase analysis — call graphs, security, dead code, complexity. 150+ tools.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Related MCP Servers
- FlicenseCqualityCmaintenanceEnables AI assistants to analyze codebases through semantic search, call graph generation, and function metadata extraction. Provides real-time code analysis with persistent vector storage for understanding complex code structures and relationships.136-
- AlicenseAqualityDmaintenanceAnalyzes codebases from local directories, GitHub, and Azure DevOps, providing intelligent context to AI coding assistants through repository structure, critical files, and semantic maps.144MIT
- AlicenseBqualityDmaintenanceTransforms codebases into structural knowledge graphs for AI agents and developers, providing precise architectural awareness and dependency mapping.1526MIT
- AlicenseNot gradedqualityDmaintenanceProvides semantic code search and code insights via a knowledge graph, enabling AI to understand, navigate, and modify complex projects with deep dependency and architecture analysis.MIT