A local MCP server for developers

Give AI acontrolled view of your code

CodeMCP connects MCP-compatible AI assistants directly to your local projects with controlled access to context, files, search, editing, execution, and memory.

18+Node.js runtimeREQUIREMENT
MCPprotocol connectionSTANDARD
Localproject-scoped accessBY DEFAULT
MITopen source licenseLICENSE
18+Node.js runtimeREQUIREMENT
MCPprotocol connectionSTANDARD
Localproject-scoped accessBY DEFAULT
MITopen source licenseLICENSE
Capabilities

Everything you need.
Nothing you don't.

All features & tools
01

Project-scoped access

Give an AI assistant access to the selected project instead of your entire machine.

Explore feature
02

Context that persists

Use CONTEXT.md and project configuration to give agents the knowledge they need to work effectively.

Explore feature
03

Files, search, and edits

Let AI inspect the real repository, search code, create files, and make controlled changes.

Explore feature
AB
04

Approval by design

Path validation, ignore rules, command restrictions, credential protection, and human approval workflows.

Explore feature
Process

Three steps.
Your project, in context.

workflow.ts
1$ codemcp
2No codemcp.json found in ~/projects/my-app.
3Initializing project...
4
5┌  CodeMCP - Project Init
6│
7◇  Project name:
8│  my-app
9│
10◇  Project description:
11│  Project overview and guidelines for AI assistants.
12│
13◇  Select tool permissions for AI assistants:
14│  Read and Write (Recommended)
15│
16◇  Project initialized successfully!
Ready
Integrations

Works with everything
you already use.

Works with MCP-compatible AI clients and the tools already in your development workflow.

Claude icon
Claude
MCP Client
ChatGPT icon
ChatGPT
AI Assistant
Cursor icon
Cursor
AI Code Editor
GitHub Copilot icon
GitHub Copilot
AI Assistant
Google Gemini icon
Google Gemini
AI Model
DeepSeek icon
DeepSeek
AI Model
Grok icon
Grok
AI Assistant
Windsurf icon
Windsurf
AI Code Editor
Lovable icon
Lovable
Full-stack AI
v0 by Vercel icon
v0 by Vercel
UI Generation
Bolt icon
Bolt
Web Sandbox
Replit icon
Replit
AI Environment
Manus icon
Manus
Autonomous Agent
Figma icon
Figma
Design Systems
Framer icon
Framer
Interactive Web
Webflow icon
Webflow
Visual Web
Builder.io icon
Builder.io
Visual Headless
Mistral icon
Mistral
MCP Client
Cline icon
Cline
Autonomous Agent
Firebase Studio icon
Firebase Studio
Cloud Platform
Claude icon
Claude
MCP Client
ChatGPT icon
ChatGPT
AI Assistant
Cursor icon
Cursor
AI Code Editor
GitHub Copilot icon
GitHub Copilot
AI Assistant
Google Gemini icon
Google Gemini
AI Model
DeepSeek icon
DeepSeek
AI Model
Grok icon
Grok
AI Assistant
Windsurf icon
Windsurf
AI Code Editor
Lovable icon
Lovable
Full-stack AI
v0 by Vercel icon
v0 by Vercel
UI Generation
Bolt icon
Bolt
Web Sandbox
Replit icon
Replit
AI Environment
Manus icon
Manus
Autonomous Agent
Figma icon
Figma
Design Systems
Framer icon
Framer
Interactive Web
Webflow icon
Webflow
Visual Web
Builder.io icon
Builder.io
Visual Headless
Mistral icon
Mistral
MCP Client
Cline icon
Cline
Autonomous Agent
Firebase Studio icon
Firebase Studio
Cloud Platform
Firebase Studio icon
Firebase Studio
Cloud Platform
Cline icon
Cline
Autonomous Agent
Mistral icon
Mistral
MCP Client
Builder.io icon
Builder.io
Visual Headless
Webflow icon
Webflow
Visual Web
Framer icon
Framer
Interactive Web
Figma icon
Figma
Design Systems
Manus icon
Manus
Autonomous Agent
Replit icon
Replit
AI Environment
Bolt icon
Bolt
Web Sandbox
v0 by Vercel icon
v0 by Vercel
UI Generation
Lovable icon
Lovable
Full-stack AI
Windsurf icon
Windsurf
AI Code Editor
Grok icon
Grok
AI Assistant
DeepSeek icon
DeepSeek
AI Model
Google Gemini icon
Google Gemini
AI Model
GitHub Copilot icon
GitHub Copilot
AI Assistant
Cursor icon
Cursor
AI Code Editor
ChatGPT icon
ChatGPT
AI Assistant
Claude icon
Claude
MCP Client
Firebase Studio icon
Firebase Studio
Cloud Platform
Cline icon
Cline
Autonomous Agent
Mistral icon
Mistral
MCP Client
Builder.io icon
Builder.io
Visual Headless
Webflow icon
Webflow
Visual Web
Framer icon
Framer
Interactive Web
Figma icon
Figma
Design Systems
Manus icon
Manus
Autonomous Agent
Replit icon
Replit
AI Environment
Bolt icon
Bolt
Web Sandbox
v0 by Vercel icon
v0 by Vercel
UI Generation
Lovable icon
Lovable
Full-stack AI
Windsurf icon
Windsurf
AI Code Editor
Grok icon
Grok
AI Assistant
DeepSeek icon
DeepSeek
AI Model
Google Gemini icon
Google Gemini
AI Model
GitHub Copilot icon
GitHub Copilot
AI Assistant
Cursor icon
Cursor
AI Code Editor
ChatGPT icon
ChatGPT
AI Assistant
Claude icon
Claude
MCP Client
Security

Control is
non-negotiable.

AI should be useful without being unrestricted. CodeMCP keeps access local, explicit, and scoped to the project you choose.

Local-firstProject-scopedMCPOpen sourceHuman approval

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.

For developers

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.