local-mcp-toolbox
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., "@local-mcp-toolboxSummarize the last 50 lines of the app server logs"
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.
Local MCP Toolbox
A secure, local-first Model Context Protocol (MCP) server for inspecting and troubleshooting development environments without granting an AI assistant unrestricted machine access.
Status
This repository is in Phase 1 — Discovery and Architecture. The scaffold, security model, configuration profiles, and architecture decisions are established. The read-only implementation has not begun; no MCP tools are registered yet.
Related MCP server: CodeAudit MCP
Why this project exists
AI assistants are useful at diagnosing infrastructure and code, but a generic shell tool or unrestricted Docker socket turns a helpful integration into a high-privilege control plane. Local MCP Toolbox is designed to expose narrow, typed, auditable, read-only capabilities instead: inspect a repository, summarize logs, review Docker state, and identify risky configuration.
Version 1 scope
Version 1 delivers the secure read-only core:
MCP stdio server and Typer CLI
Permission profiles, path containment, output limits, structured errors, audit records, and centralized redaction
System, filesystem, Git, Docker, logs, security-scanner, infrastructure-inventory, and incident-summary modules
Native and Docker deployment, tests, and client configuration examples
GitHub, Kubernetes, local-LLM, HTTP transport, dashboard, and all write operations are deliberately deferred. See ROADMAP.md.
Architecture
flowchart LR
C["MCP client"] --> T["stdio transport"]
T --> S["MCP server / tool registry"]
S --> P{"Permission decision"}
P -->|allowed| M["Narrow read-only tool module"]
P -->|denied| E["Safe structured error"]
M --> R["Redaction + output limits"]
R --> C
S --> A["Audit log (sanitized metadata only)"]
M --> F["Approved local integrations"]All analyzed content is untrusted data. Tool modules never interpret file, log, issue, label, or commit content as instructions.
Security model
Deny by default: the
restrictedprofile permits only configured filesystem roots and no integrations.Read-only Version 1: no generic command execution, mutations, stop/restart operations, commits, or remote tool execution.
Narrow interfaces: every tool has typed, validated inputs; external binaries (when needed) use fixed argument templates and no shell.
Data minimization: canonical path checks, symlink-escape prevention, blocked sensitive patterns, result limits, and redaction happen before output.
Accountability: every request writes a sanitized JSONL audit event. Secrets are never written to audit logs.
See docs/security-model.md, docs/threat-model.md, and docs/adr/.
Proposed layout
src/mcp_toolbox/
server/ MCP lifecycle and modular registration
tools/ Narrow read-only tool domains
permissions/ Profile and integration authorization
redaction/ Sensitive-data detection and fingerprints
audit/ Sanitized JSONL audit events
config/ Typed settings loading
models/ Shared response and error contracts
resources/ Safe MCP resources
prompts/ Reusable safe MCP prompts
cli/ Operator-facing commands
tests/ Unit, integration, and security regressions
config/ Restricted, standard, and example profiles
docs/ Architecture, threat model, ADRs, and operating guides
examples/ MCP-client configuration examples
demo/ Explicitly non-production test fixturesEngineering decisions
Read-only by default makes the security boundary understandable and contains the blast radius.
Generic shell execution is prohibited because validation cannot reliably make arbitrary command execution safe.
Local AI is preferred for later summarization features so sensitive logs do not leave the machine by default.
Docker socket access is opt-in and will be documented as a privilege boundary, not treated as routine plumbing.
Untrusted content will be labeled in response envelopes to reduce prompt-injection risk.
Audit logging and redaction are cross-cutting services, not optional behavior added per tool.
Deterministic collection/parsing remains separate from any future AI-generated explanation.
Planned quick start
The commands below become available after the core foundation is implemented:
uv sync --extra dev
uv run local-mcp-toolbox doctor
uv run local-mcp-toolbox serve --config config/restricted.ymlDocumentation
Why This Project Matters
This project demonstrates how to connect AI systems to real developer environments without equating "useful" with "unrestricted." It combines MCP protocol design, least-privilege authorization, DevOps diagnostics, redaction, auditing, container safety, and testable operational tooling.
License
MIT. See 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
- Alicense-qualityCmaintenanceA Model Context Protocol (MCP) server that provides safe, read-only access to Kubernetes resources for debugging and inspection. Built with security in mind, it offers comprehensive cluster visibility without modification capabilities.Last updated45MIT
- Alicense-qualityCmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.Last updated1MIT
- Flicense-qualityCmaintenanceSecure local development platform that exposes controlled developer capabilities (FS, Git, search, command execution) to AI assistants via MCP with deny-by-default security and audit logging.Last updated
- Alicense-qualityAmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.Last updated28MIT
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Read-only Remote MCP for externally grounded AI agent trust 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/chriswayneh/local-mcp-toolbox'
If you have feedback or need assistance with the MCP directory API, please join our Discord server