Capabilities

Engineered for control. Built for agentic AI.

CodeMCP bridges your local developer environment with leading AI models without sacrificing privacy, stability, or codebase security.

Isolation

Project-Scoped File System Sandbox

Unlike generic tools that grant full machine access, CodeMCP enforces strict root boundaries. AI assistants cannot traverse outside your designated project directory, keeping personal documents, SSH keys, and system files protected.

Path traversal protection (guards against ../ attacks)
Strict real-path symlink validation
.mcpignore file exclusion rules
Dynamic root resolution per session
Explore isolation architecture
Context

Persistent Memory via CONTEXT.md

Feed AI assistants architectural guidelines, style guides, and project rules that persist across prompts. CodeMCP automatically indexes and injects CONTEXT.md into model prompts without prompt bloat.

Zero-overhead context synchronization
Live reloads when guidelines change
Repository architecture onboarding for agents
Custom domain rules and schema specifications
Configure CONTEXT.md rules
Inspection

High-Performance Code Search & Navigation

Equip AI with fast file globbing, regex search, and directory tree mapping. Models find exact symbol references and file dependencies without needing to ingest entire large codebases into token windows.

Sub-millisecond ripgrep-style search engine
File tree hierarchy discovery
Pattern filtering with glob syntax
Byte-safe incremental content streaming
View search & indexing tools
Permissions

Granular Tool Permissions

Choose exactly what operations an AI assistant can perform. Switch seamlessly between read-only audit mode and read-and-write engineering mode with per-tool access control.

Read-Only vs. Read & Write toggle
Restricted shell execution policies
Per-directory write whitelisting
Configurable write quotas and rate limiting
Review CLI permission flags
Supervision

Human Approval & Diff Previews

Never let an AI silently overwrite critical files. CodeMCP offers an interactive confirmation layer that shows clear line-by-line diffs before any destructive disk modification is applied.

Colorized terminal diff preview before writes
Auto-apply toggle for trusted autonomous agents
Atomic transactional writes (rollback on failure)
Audit trail of every tool call with timestamps
See approval flow in action
Credentials

Auto-Generated Vault Authentication

Every CodeMCP session creates cryptographically secure ephemeral tokens. Remote AI clients authenticate securely without you exposing permanent API keys or environment secrets.

Local secret vault integration
Automated token rotation per session
ngrok SSL tunnel with basic authentication
Zero plain-text password leakage in logs
Check local vault security
MCP Compliant Protocol

Standardized Model Context Protocol Tools

CodeMCP implements the official Model Context Protocol (MCP) specification. Every AI client that speaks MCP—such as Claude, Cursor, Windsurf, Cline, and OpenAI—connects using standard JSON-RPC 2.0 over standard I/O or SSE tunnels.