slugaudit-mcp
Stores and manages code audit data (projects, files, signatures, dependencies, findings) in a PostgreSQL database, enabling persistent import, status, and briefing operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@slugaudit-mcpGenerate a code audit briefing for my project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SlugAudit
SlugAudit is an MCP server that gives an AI (Claude, Grok, Codex, or any MCP client) pre-parsed, searchable, 100%-in-sync evidence about a codebase — symbols, imports, dependency edges, source spans — so the AI queries a SQLite database instead of reading hundreds of flat files one at a time.
The saved token budget goes toward deep reasoning (spotting near-duplicate variable names, subtle structural near-misses, etc.) instead of mundane file-gathering.
What you get
Six MCP tools, exposed over stdio:
Tool | What it does |
| Arbitrary read-only SQL against the project's SQLite index. Joins, CTEs, the lot. Row-capped for safety. |
| Automatic snapshot of the current revision: file counts, languages, what changed since last import. |
| Tree-sitter structural pattern matching across 300+ languages. |
| The one write tool — records an audit finding against the evidence, bound to the file's current hash. |
| Enable/disable a project — |
| Operational snapshot: watcher health, unreconciled counts, tool-call counters, last-sync timestamp. Read-only — never syncs. |
Related MCP server: Code Expert MCP Server
Quick start
# Build and install
cargo build --release
./target/release/slugaudit-mcp install # copies to ~/.slugthug/bin/
# Connect your AI agent (Claude Code, Grok, or Codex)
./target/release/slugaudit-mcp connect
# Or run the interactive setup menu — install, connect, instructions for
# any other MCP-capable client, or start the server directly
./target/release/slugaudit-mcp menuProjects are enabled from inside the AI session: call project_control
with action = "on" (optionally with a project path), and SlugAudit
creates the activation marker and runs the first import immediately.
Documentation
Connecting to your AI agent —
connectcommand, per-agent guides (Claude Code, Grok, Codex), troubleshooting.Architecture & build docs — design decisions, implementation plan, how to build from source.
Design principles
Evidence only. SlugAudit surfaces what's in the codebase. It does not decide whether code is buggy, assign severity, or replace the AI's reasoning.
Per-project SQLite. Each enabled project gets its own
.planning/slugaudit/project.db. Zero config by default.Always in sync. Every tool call re-verifies freshness and waits on any in-flight import before executing — never answers from partial state.
Resource-bounded. File size, query steps, wall clock, and response size are all capped.
#![forbid(unsafe_code)]at the crate root.
License
SlugAudit is licensed under the PolyForm Noncommercial License 1.0.0 with a SlugAudit tool-use additional permission.
Use SlugAudit to build anything you want—even paid software. If SlugAudit itself becomes part of what you sell or distribute, contact us.
You may use SlugAudit internally as a development tool to analyze, audit, develop, test, or maintain any project, including proprietary and commercial software. The software you work on and SlugAudit's output do not become subject to SlugAudit's license merely because you used the tool.
Incorporating, embedding, bundling, distributing, reselling, or offering SlugAudit itself as part of a commercial product or service requires a separate written commercial license.
Independent developers and small teams are welcome. We may grant no-cost commercial integration permission when the project provides clear credit to SlugAudit and Slug Thug Labs. Contact us before shipping so we can understand what you're building.
Commercial integration licensing: admin@slugthuglabs.dev
See COMMERCIAL.md for practical examples and contact details.
This is a source-available license, not an OSI-approved open-source license.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseCqualityDmaintenanceEnables 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.135
- 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
- AlicenseNot gradedqualityCmaintenanceTransforms codebases into structural knowledge graphs for AI agents and developers, providing precise architectural awareness and dependency mapping.53MIT
- AlicenseAqualityDmaintenanceIntelligent code indexing and analysis for Large Language Models, enabling advanced search, file analysis, and real-time monitoring of codebases.12MIT
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/SlugThugLabs/slugaudit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server