CodeLocal MCP server
2026년 11월 11일 커밋AI 클라이언트와 지속 가능한 프로젝트 브레인, 그리고 코딩 작업을 위한 제어된 로컬 실행 환경을 연결하는 범용 MCP 레이어를 제공합니다.
다른 이름 codelocal-cloud/CodeLocal
- 스타
- 100
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- Apache-2.0
CodeLocal MCP란?
CodeLocal은(는) MCP server입니다. AI 클라이언트와 지속 가능한 프로젝트 브레인, 그리고 코딩 작업을 위한 제어된 로컬 실행 환경을 연결하는 범용 MCP 레이어를 제공합니다.
프로젝트 README에서 생성된 요약
CodeLocal MCP server 정보
다양한 AI 인터페이스 전반에서 일관된 프로젝트 인텔리전스를 유지하려는 개발자는 CodeLocal을 사용하여 지속 가능한 프로젝트 브레인을 구축할 수 있습니다. CodeLocal은 Claude, ChatGPT, Codex와 같은 호환 클라이언트를 로컬 머신에 연결하는 범용 레이어 역할을 하며, 어떤 채팅 인터페이스를 사용하더라도 프로젝트 규칙, 결정 사항 및 학습된 기술이 유지되도록 보장합니다.
npm을 통해 런타임을 설치하고 특정 워크스페이스를 승인하면, AI 에이전트에게 파일, Git 및 터미널에 대한 제어된 접근 권한을 부여할 수 있습니다. 이 시스템은 저장소 소스와 인덱스가 사용자의 컴퓨터에 머무는 로컬 우선(local-first) 방식을 사용하며, CodeLocal Cloud는 OAuth를 통해 ID, 라우팅 및 인증을 처리합니다. 이러한 설정을 통해 단일 런타임으로 각 워크스페이스마다 별도의 데몬을 실행할 필요 없이 여러 프로젝트를 효율적으로 관리할 수 있습니다.
표준 코딩 작업 외에도, 이 서버는 설치된 다른 서버들을 연결하는 로컬 MCP 허브 역할을 할 수 있습니다. 또한 브라우저 작업을 위한 격리된 Chromium 세션이나 computer use 권한을 통한 네이티브 데스크톱 제어를 통해 선택적인 자동화 기능을 제공합니다.
활용 사례
- 1다양한 AI 클라이언트 간 컨텍스트 유지Claude와 ChatGPT 사이를 전환할 때 동일한 프로젝트 규칙과 결정 사항을 사용합니다.
- 2터미널 명령 안전 실행AI 에이전트가 승인된 프로젝트 폴더 내에서 Git 명령 또는 셸 스크립트를 실행할 수 있도록 허용합니다.
- 3여러 로컬 MCP 서버 중앙 집중화머신에 설치된 다양한 MCP 도구들을 단일 허브를 통해 관리하고 연결합니다.
- 4브라우저 기반 워크플로 자동화격리된 브라우저 세션을 사용하여 AI가 웹 인터페이스와 상호작용할 수 있도록 합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능codelocal-cloud/codelocal is public and reachablegithub.com/codelocal-cloud/codelocal ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-11github.com/codelocal-cloud/codelocal ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기CodeLocal
One Project Brain. Any AI client. Your machine.
CodeLocal is a universal MCP layer for AI coding. It connects ChatGPT, Codex, Claude and other MCP-compatible clients to one durable Project Brain plus controlled access to the project folders you explicitly authorize on your own machine.
The model reasons. CodeLocal remembers, routes and executes.
Why CodeLocal
Most AI coding tools treat each chat, client or machine as a fresh start. CodeLocal is designed around the opposite idea: your project intelligence should survive the interface you happen to use today.
- One Project Brain — preserve verified decisions, project context, rules, Experience and reusable skills.
- Any compatible AI client — use ChatGPT, Codex, Claude or another MCP-capable agent against the same project intelligence.
- Controlled local execution — files, Git, terminal and optional automation run against workspaces you explicitly authorize.
- Multi-workspace by design — one local runtime can keep many projects available and activate them lazily.
- Local-first source access — repository source and local indexes stay on your machine by default; Cloud is used for identity, routing and sanitized durable continuity.
We are not trying to rebuild Codex, Claude Desktop, DeepSeek Harness, Cursor or another AI coding client. AI clients are interfaces. CodeLocal is the shared intelligence and execution layer behind them.
How it works
You
↓
MCP-compatible AI clients ChatGPT · Codex · Claude · other agents
↕ MCP over HTTPS + OAuth
CodeLocal Project Brain durable rules · decisions · Experience · skills
↓
CodeLocal Cloud identity · routing · auth · sanitized continuity
↓ authenticated runtime channel
CodeLocal native runtime controlled execution on your computer
↓
Authorized workspaces files · Git · terminal · local MCP extensions
↓
Verification evidence → verified Experience → safer reuse
The AI client/model reasons; CodeLocal provides the shared MCP layer, preserves project intelligence and controls execution.
Quick start
Requires Node.js 20+ and npm.
Install the current stable release:
npm i -g codelocal@latest
Verify the installed version:
codelocal --version
Authorize one or more projects:
cd /path/to/project-a
codelocal .
cd /path/to/project-b
codelocal .
Start one machine runtime:
codelocal
A single runtime can keep many workspaces authorized. You do not need one CodeLocal daemon per project or per AI client.
Useful commands:
codelocal --version
codelocal setup
codelocal status
codelocal workspaces
codelocal grant <path>
codelocal ungrant <path-or-id>
codelocal doctor <path>
codelocal stop
codelocal reset --all
codelocal uninstall --all
codelocal approvals list
codelocal mcp list
Connect an MCP-compatible AI client
The current hosted MCP endpoint is:
https://codelocal.cloud/mcp
For ChatGPT and Codex, use the CodeLocal Plugin from the OpenAI directory when available; reviewer/developer flows can use the endpoint directly. Other MCP-compatible clients can add the same remote endpoint when they support authenticated remote MCP.
OAuth signs the AI client into your CodeLocal account. Pairing signs your local machine into the same account. A connected client can only route tools to devices and workspaces belonging to that account.
Typical first request:
@CodeLocal inspect project_info first, understand this project,
then make the requested change and run the relevant checks.
Core capabilities
Project Brain
- durable single-user project knowledge;
- verified Experience promotion and reuse;
- reusable learned skills;
- project rules, decisions and constraints;
- continuity across compatible clients and paired machines when Cloud continuity is available.
Files and code intelligence
- workspace boundary enforcement and symlink escape protection;
.gitignore-aware listing and search;- sensitive-path blocking independent of
.gitignore; - UTF-8/binary detection and ranged reads;
- SHA-256 stale-write protection;
- exact edits, patches and transactional structured edits;
- project/language/framework mapping;
- symbols, definitions, references, diagnostics and structural call/import context;
- dependency inspection for Node, Go, Rust and Python.
The native structural engine works without requiring a language server. Dedicated LSP integrations add depth where available.
Terminal and Git
- guarded host command execution;
- concurrent process management and PTY support where available;
- incremental stdout/stderr, stdin, resize, signals and cancellation;
- deterministic command risk classification;
- approval gates for sensitive operations;
- local redacted terminal/audit history;
- non-force Git stage, commit and push controls;
- idempotency protection for side-effecting tool calls.
Local MCP hub
CodeLocal can connect other MCP servers installed on the user's machine while keeping their configuration local.
codelocal mcp add <name> -- <command> [args...]
codelocal mcp add <name> --url <https://server/mcp>
codelocal mcp list
codelocal mcp search <query>
Secrets should be referenced from environment variables instead of being copied into CodeLocal Cloud.
Optional automation
On first start, CodeLocal can enable two optional capabilities separately:
- Browser Automation — isolated Chromium sessions for opening, inspecting, clicking, typing and screenshots.
- Computer Use — native desktop control through operating-system accessibility/screen permissions.
Run codelocal setup to change these choices later and codelocal doctor to inspect readiness.
Security model
.gitignore is a retrieval rule, not a security boundary. Sensitive locations such as private keys, credential stores and .env secrets are handled separately.
Terminal commands execute on the user's host after CodeLocal policy and approval checks. CodeLocal does not claim that command policy alone is an OS sandbox. Browser Automation and Computer Use are optional and should be enabled only where that trust model is acceptable.
Raw repository source, local indexes, secrets and machine bindings remain local by default. The supported remote MCP flow, account/device routing and cross-device Project Brain continuity currently depend on CodeLocal Cloud.
Read the full Security & Privacy, Security Policy and Implementation Status.
Build it with us
“It takes a village to raise a child. Open source is no different.”
CodeLocal is still growing. If you find a bug, disagree with a design decision, have an idea, or can make any part of the project better, contribute code and share feedback in the CodeLocal Forums.
codelocal.cloud is the CodeLocal team's current reference deployment. The source is open for you to study, fork, modify and experiment with. Experimental self-hosting is welcome, but a self-hosted public gateway is not yet an officially supported deployment target.
Do not wait for CodeLocal to become “finished” before participating. Review the code, open issues, propose safer designs, send pull requests, challenge assumptions and tell us what does not work. Help us grow CodeLocal together.
See Contributing.
Public edition and Enterprise
The public edition is intentionally optimized for one person: one user's Project Brain, reusable skills, project context and controlled execution across compatible AI clients.
The private Enterprise edition serves organizations that need AI inside security-sensitive business environments and can include organization-wide controls, private integrations, customer-specific deployment assumptions and proprietary infrastructure coupling.
The public repository is not a copy of the Enterprise codebase with private files removed. We do not move the Enterprise source code into this repository. Instead, the Enterprise edition acts as a proven product and operational reference: each capability is designed and implemented again for the public edition.
Why? The Enterprise edition contains organization-specific integrations, deployment assumptions, access controls, security hardening and infrastructure that are tightly coupled to private business environments. Copying that code directly into the public repository would make the open-source edition harder to understand, audit, fork and run independently. Rebuilding each public capability separately lets us keep the useful ideas and behavior while producing a cleaner, standalone implementation for the community.
This rewrite is being performed manually, feature by feature. During the transition, the public repository may not yet contain every capability available in Enterprise, and reviewers may still encounter historical names, compatibility files or Enterprise-era metadata that are not part of the shipped public npm runtime.
Target completion date for the current public-repository separation and cleanup: October 19, 2026.
Until then, use STATUS.md, the release builder and canonical architecture documentation as the source of truth for what actually ships in the public edition.
Repository map
| Path | Ownership |
|---|---|
cmd/, internal/ |
Canonical Go backend, CLI and local runtime |
web/ |
Next.js browser product |
deploy/ |
Dockerfiles, Railway configs and deployment assets |
tools/, scripts/ |
Build, release and developer tooling |
docs/ |
Architecture, guides, operations and plans |
legacy/typescript-runtime/ |
Quarantined compatibility/history code; not the shipped runtime |
The canonical backend, Cloud gateway, CLI and local runtime are implemented in Go. The browser product uses Next.js + TypeScript. See Product Stack.
Development
Requires Go 1.25+.
go test ./...
go vet ./...
go build ./cmd/...
Validate and build the npm CLI staging package without publishing:
npm run release:npm:prepare
For the full repository gate, use:
npm run release:prepare
Publishing and release details live in the npm release operations runbook. Keep release mechanics there rather than duplicating fast-changing implementation details in this README.
Update
Stable:
npm i -g codelocal@latest
Beta:
npm i -g codelocal@beta
A normal npm update keeps existing pairing credentials and authorized workspaces. If an already-open MCP client reports a tool/schema mismatch after an update, refresh or reconnect CodeLocal in that client so it scans the current tool surface.
Documentation
- Start here
- User Guide
- How CodeLocal Works
- Security & Privacy
- Project Brain Evidence
- Product Stack
- Implementation Status
- Security Policy
- Contributing
- Beta Channel
- OpenAI Plugin Submission Pack
Website: https://codelocal.cloud
License
CodeLocal is licensed under the Apache License 2.0. Unless a file or directory states otherwise, source code in this repository may be used, modified and distributed under the terms of that license. Third-party components retain their respective licenses.
CodeLocal MCP 질문
CodeLocal은 무엇을 하나요?
ChatGPT 및 Claude와 같은 AI 클라이언트를 지속 가능한 프로젝트 인텔리전스 및 제어된 로컬 실행 환경에 연결하는 범용 MCP 레이어 역할을 합니다.
CodeLocal을 여러 프로젝트에서 사용할 수 있나요?
네, 단일 런타임으로 여러 프로젝트를 유지하며 필요할 때마다 지연 로딩(lazy activation) 방식으로 활성화할 수 있습니다.
CodeLocal이 브라우저 자동화를 제공하나요?
네, CodeLocal은 브라우저 자동화 작업을 위해 격리된 Chromium 세션을 선택적으로 활성화할 수 있습니다.