finch-shell-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FINCH_TRANSPORT | No | Set to "http" to start the server with the Streamable HTTP transport. | |
| FINCH_SHELL_HOME | No | Directory where job logs live. When unset, Windows uses %LOCALAPPDATA%\finch-shell-mcp and other systems use ~/.finch-shell-mcp. | |
| FINCH_SHELL_HTTP_HOST | No | HTTP host to bind to when no address is passed on the command line. | |
| FINCH_SHELL_HTTP_PORT | No | HTTP port to bind to when no address is passed on the command line. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for files and commands on this machine. Writes to an existing file need expect_hash. A binary write without it is rejected. Tools do not add a newline for you. exec requires mode. timeout does not stop the job. Use ttl_ms or job_kill to stop it. There is no terminal. Passing tty returns E_TTY_UNAVAILABLE. Over HTTP, jobs with Mcp-Session-Id belong to that session. Calls without the header share a separate table.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fs_statA | Size, times, short hash, and an encoding guess for 1 to 200 absolute paths. hash defaults to true. |
| fs_readA | Read from a byte offset. mode is text, hex, or auto. At most 2 MB per call. A failed decode does not fail the call. hash is the short hash of the whole file. |
| fs_writeA | Provide exactly one of text or hex. A hex write to an existing file requires expect_hash unless force is set. The write is read back. Parent directories are created by default. |
| fs_patchA | Replace exact text, not a regular expression. Each edit has old_text, new_text, and count, and count must equal the number of matches. Files over 8 MB are rejected. |
| fs_spliceB | offset is a byte count, start, or end. Provide exactly one of insert or insert_hex. No newline is added. An existing file requires expect_hash unless force is set. |
| execC | mode is required. argv uses program and args. shell uses script and interpreter. The default wait is 10 seconds and does not kill the job. The response is the last 4096 characters. |
| job_readC | cursor is a character index and may be negative. At most 16384 characters per call. wait_ms waits out the current burst, or the next burst when the job is already standing_by. |
| job_sendB | Accepted only while standing_by. cursor is required. No newline is added. Provide exactly one of input or input_hex. |
| job_listB | Lists live jobs and jobs marked lost after a restart. tags is a subset match. |
| job_killB | Windows uses taskkill /T /F on the parent chain. Other systems send SIGTERM to the process group, then SIGKILL after the grace period. A partial stop returns E_KILL_INCOMPLETE. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Job tools and filesystem tools are grouped by resource, with mostly distinct actions: job read/send/kill/list and fs stat/read/write/patch/splice. The main ambiguity is among fs_write, fs_patch, and fs_splice, but their descriptions clarify the different editing semantics.
Names consistently use snake_case with resource prefixes job_ and fs_. The standalone exec is the only name without a resource prefix, which is a minor but readable deviation.
Ten tools is well-scoped for a shell/job and filesystem MCP server, covering process launch, job lifecycle, and core file operations. Each tool has a clear role without obvious redundancy.
Job lifecycle coverage is complete with list/read/send/kill plus exec for launching, and filesystem coverage includes stat/read/write/patch/splice. Explicit delete, rename, or directory-listing tools are missing, but agents can work around those via exec.