Chisel logo

Chisel

by ckanthony

Rust MCP file tools that reduce context use with targeted reads, diff-based edits, and strict root confinement.

Install Chisel

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for ckanthony/Chisel, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The ckanthony/Chisel MCP server provides confined file operations designed to minimize context usage during agent workflows. It applies unified diffs for focused edits and exposes grep, sed, and other whitelisted Unix commands for targeted reads instead of returning entire files. A configured root limits every file path, including paths passed to shell commands, while disallowed commands are rejected before execution. Reach for it when an agent needs controlled local file access, compact tool calls, or embeddable Rust-based file operations.

Use cases

  • Apply small source-code changes with unified diffs
  • Search large files with grep or rg
  • Extract selected file sections with sed
  • Restrict agent file access to a configured root
  • Embed confined file operations in another MCP server

Key features

  • Atomic unified-diff editing
  • Targeted Unix-style file inspection
  • Kernel-enforced path confinement
  • Fixed shell-command whitelist
  • File creation, movement, and directory management
  • Rust core library with WebAssembly embedding options

Tools6

What Chisel lets your agent do. Expand a tool for its parameters.

Self-reported~122 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/26 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8/22/2026 via OSV.dev · http://127.0.0.1:8080/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars29Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Chisel works

What ckanthony/Chisel MCP server does

The ckanthony/Chisel MCP server gives an MCP client a restricted set of file and shell-style operations. Its main editing path is patch_apply, which accepts a unified diff and changes only the lines covered by the patch. If the patch does not match, the operation fails without applying the edit. Raw diffs and diffs inside a diff code fence are supported.

For inspection, the server favors targeted commands over whole-file reads. The shell_exec tool exposes a compile-time whitelist containing grep, sed, awk, find, cat, head, tail, wc, sort, uniq, cut, tr, diff, file, stat, ls, du, and rg. This lets an agent search for headers, extract a section, compare files, or inspect metadata while returning less content to the model.

The remaining file tools cover appending, creating or replacing files, creating directory trees, and moving or renaming files. The server is implemented in Rust and is also associated with a reusable chisel-core library that can be embedded by Rust, Node.js through WebAssembly, or Python through WebAssembly.

How it works

All paths are checked against a configured root before file I/O or process creation. Absolute paths outside that root are rejected, and the confinement check also accounts for symlinks. The same validation applies to paths supplied to shell_exec, so using a permitted command does not bypass the root boundary.

Command execution is restricted to the fixed whitelist. The documented security defaults also include bearer-token authentication, binding to 127.0.0.1, atomic writes, and a read-only mode.

Setup and configuration

The ckanthony/Chisel MCP server can be installed from a pre-built .mcpb bundle, described as a one-click installation with no build step, or from a raw binary published on the GitHub Releases page.

A deployment needs a configured filesystem root so that the server can enforce path confinement. The project also includes an agent skill at skills/chisel/SKILL.md; its README gives npx skills add ckanthony/Chisel as the command to install that skill, not the MCP server itself.

Tools and capabilities

  • patch_apply: Apply a raw or fenced unified diff atomically.
  • append: Add content to an existing file.
  • write_file: Create or overwrite a file and create missing parent directories.
  • create_directory: Create nested directories with mkdir -p behavior.
  • move_file: Move or rename a file within the configured root.
  • shell_exec: Run one command from the fixed Unix-tool whitelist.

The design is suited to agents editing source, documentation, or other files where sending complete file contents would consume unnecessary context. It is less suitable when unrestricted shell access or access outside one configured root is required.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chisel

The README points to a pre-built .mcpb bundle for one-click installation or a raw binary from the project's GitHub Releases page. It does not provide a package-manager command for the server.

Its shell tool permits grep, sed, awk, find, cat, head, tail, wc, sort, uniq, cut, tr, diff, file, stat, ls, du, and rg. Commands such as rm, bash, sh, curl, chmod, and sudo are not allowed.

No. Paths are validated against the configured root, including paths passed to shell_exec. Outside-root paths are rejected before I/O or process creation.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChisel AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ckanthony-chisel?style=directory)](https://allmcps.com/mcp/ckanthony-chisel)
HTML Embed
<a href="https://allmcps.com/mcp/ckanthony-chisel"><img src="https://allmcps.com/api/badge/ckanthony-chisel?style=directory" alt="Chisel on AllMCPs" /></a>