CodeWeave MCP
Provides tools to inspect, edit, and validate a Git repository, including context fetching, file reading, patch preparation and application, and running allow-listed tasks.
Allows connection to ChatGPT for AI-assisted coding.
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., "@CodeWeave MCPFind the definition of the User model"
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.
CodeWeave
CodeWeave is a local-first MCP server for deterministic code retrieval, safe editing, Git operations, and Bash execution against one repository.
mcp rust local-first developer-tools code-search safe-editing
chatgpt claude
Highlights
Serves one fixed Git worktree with snapshot, hash, and range-handle guards.
Provides retrieval, semantic intelligence, previewed transactions, Bash, and scoped Git operations through a fixed 25-tool MCP surface.
Keeps edits local and reports partial validation or transaction recovery truthfully rather than silently rolling back changes.
Supports stdio for local clients and authenticated streamable HTTP for a trusted tunnel or reverse proxy.
Related MCP server: Git Code Review MCP
Requirements
Rust stable when building from source
Git and a valid Git worktree
Bash (Git Bash is supported on Windows)
Optional language servers: rust-analyzer, basedpyright, and typescript-language-server
Start
cargo build --release
./target/release/codeweave-rust init --config config.json --path /absolute/path/to/repo
./target/release/codeweave-rust doctor --config config.json
./target/release/codeweave-rust --config config.json --transport stdioFor streamable HTTP:
./target/release/codeweave-rust --config config.json --transport httpHTTP is stateless, uses JSON responses, and normally binds to loopback with a
bearer token. The generated token file is created exclusively and with mode
0600 on Unix. Use a trusted TLS tunnel or reverse proxy for remote clients.
Configuration
Configuration requires configVersion: 2 and rejects unknown fields,
including unknown nested fields. See config.example.json.
Git and Bash are validated before the server accepts requests.
MCP tools
CodeWeave exposes one fixed 25-tool surface:
workspace,code_retrieve,code_intelligencecode_write,code_replace,code_replace_range,code_insert,code_delete,code_rename,code_preview,code_transactiongit_status,git_diff,git_log,git_show,git_blame,git_preflight,git_stage,git_commit,git_restore,git_pushbash,bash_status,bash_output,bash_cancel
All clients connected to one process share workspace mutations, generations,
and Bash runs. workspace.changes is bounded process-local history; Git is the
durable record. Restarting creates a new instance_id and resets generation.
Transaction guarantees
Edits enforce snapshot/file preconditions and replace each file atomically. Multi-file transactions use preflight plus best-effort compensation, but do not claim cross-file atomicity. Partial commits and restoration failures are reported explicitly. Validation never silently rolls back an applied edit.
Architecture and concurrency invariants are documented in
docs/architecture.md. Client setup is covered under
docs/connect-chatgpt.md and docs/connect-claude.md.
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.
Latest Blog Posts
- 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/abhij1306/codeweave'
If you have feedback or need assistance with the MCP directory API, please join our Discord server