Give AI acontrolled view of your code
Everything you need.
Nothing you don't.
Project-scoped access
Give an AI assistant access to the selected project instead of your entire machine.
Explore featureContext that persists
Use CONTEXT.md and project configuration to give agents the knowledge they need to work effectively.
Explore featureFiles, search, and edits
Let AI inspect the real repository, search code, create files, and make controlled changes.
Explore featureApproval by design
Path validation, ignore rules, command restrictions, credential protection, and human approval workflows.
Explore featureThree steps.
Your project, in context.
Works with everything
you already use.
Works with MCP-compatible AI clients and the tools already in your development workflow.
Control is
non-negotiable.
AI should be useful without being unrestricted. CodeMCP keeps access local, explicit, and scoped to the project you choose.
Project boundaries
The server is scoped to the project directory you choose, not your whole filesystem.
Credential protection
Environment files and sensitive paths can be excluded through ignore rules and access controls.
Approval workflows
Keep destructive commands and writes behind explicit approval instead of silent execution.
Transparent controls
Inspect the tools, paths, commands, and project context available to your assistant.
Built by devs.
For devs.
A local, project-scoped MCP server that gives AI assistants useful access to your codebase without handing over your whole machine.
Node.js 18+
Runs locally with a simple npx command.
Project-scoped
Access stays bounded to the selected project.
MCP-compatible
Connects compatible AI assistants through MCP or HTTP.
Open source
MIT licensed and built for developer workflows.
npx @mahesh2-lab/codemcp# Run from your project# Node.js 18+
Ready to build
something great?
Give your AI assistant the context it needs — and keep your codebase under your control.
Open source. Local-first. Project-scoped.