finch-shell-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
finch-shell-mcp
MCP server for local files and shell jobs.
An MCP server that gives an agent ten tools: five for files, five for commands. Writes can be checked against a hash and are read back after they land. Command output is one text stream, read with a Unicode code-point cursor.
Features
Files: stat, read by byte offset, replace a whole file, exact text replace, insert or delete at a byte offset. A successful write is read back.
Commands:
argv, or a script for a named interpreter. The default wait is 10 seconds. When it elapses, the call returns the output so far and the job keeps running.A long job has a
job_id, a log file, and a status. You can keep reading, write to stdin, or stop the process tree.stdio and Streamable HTTP. On HTTP, jobs for different
Mcp-Session-Idvalues are not visible to each other. Files are shared.Output is not assumed to be UTF-8. Bytes that cannot be decoded become the replacement character and
lossyis set. The call itself still succeeds.No dependency needs a native compile step.
Related MCP server: Files MCP Server
Requirements
Node.js 22.18 or newer.
Quick start
This version is not on npm yet. Download the release tarball and install it globally:
hlint-finch-shell-mcp-0.1.1.tgz
Linux:
curl -fsSL -o hlint-finch-shell-mcp-0.1.1.tgz https://github.com/hlint/finch-shell-mcp/releases/download/v0.1.1/hlint-finch-shell-mcp-0.1.1.tgz && npm install -g ./hlint-finch-shell-mcp-0.1.1.tgzWindows (PowerShell):
Invoke-WebRequest -Uri https://github.com/hlint/finch-shell-mcp/releases/download/v0.1.1/hlint-finch-shell-mcp-0.1.1.tgz -OutFile hlint-finch-shell-mcp-0.1.1.tgz; npm install -g .\hlint-finch-shell-mcp-0.1.1.tgzThat puts finch-shell-mcp on your PATH. Add this to an MCP client:
{
"mcpServers": {
"finch-shell": {
"command": "finch-shell-mcp"
}
}
}Or run it from a checkout:
npm install
npx finch-shell-mcpHTTP:
finch-shell-mcp --http
finch-shell-mcp --http 0.0.0.0:8787The default URL is http://127.0.0.1:7331/mcp. --http 8787 changes only the port and still binds to loopback. FINCH_SHELL_HTTP_HOST and FINCH_SHELL_HTTP_PORT apply when no address is passed. FINCH_TRANSPORT=http also starts HTTP.
Loopback checks Host and Origin. Any other address has no caller authentication and should stay on a network you trust.
Job logs live in FINCH_SHELL_HOME. When unset, Windows uses %LOCALAPPDATA%\finch-shell-mcp and other systems use ~/.finch-shell-mcp.
Tools
Tool | What it does |
| Size, times, and a short hash for many paths |
| Read text or hexadecimal bytes |
| Replace a whole file |
| Replace exact text |
| Insert or delete at a byte offset |
| Start a job and wait |
| Continue reading output |
| Write stdin after the job goes quiet |
| List jobs for this session |
| Stop a job and its process tree |
A tool result is one JSON text block. On failure, ok is false and error.code is stable. A non-zero command exit is not a failed call. Read status.
Fields, error codes, and limits are in the interface contract.
Development
npm install
npm test
npm run typecheck
npm run build
npm run packnpm install runs tsdown and writes dist/index.mjs. That file is the command. npm run pack typechecks, then builds a .tgz. Publishing runs the tests again. Layout and implementation notes are in the development guide.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
A real-time, multiplayer filesystem for agents and humans: shared files, live edits, history.
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Shared control plane for AI coding agents — tasks, memory, decisions, file locks. 12 tools.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables secure local filesystem operations and interactive terminal sessions for AI assistants. Provides 12 tools for file management, directory operations, code searching, and running interactive REPLs with security protections.32 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to safely explore directories, read files, search content by pattern or filename, and edit files with checksum verification and dry-run preview within sandboxed filesystem access.68 npm76ISC
- FlicenseAqualityDmaintenanceEnables an LLM agent to search files, list directories, read and write UTF-8 text files, move or delete paths, list terminal processes, and launch a terminal in a chosen folder.8-
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to search, read, edit, and manage files and directories, execute and control terminal commands and processes, and perform code or text searches and replacements. It also supports in-memory code execution and interactive process sessions for tasks like data analysis and long-running command management.1,287,096 npm2MIT