Platter
v2.1.0MCP server exposing Read, Write, Edit, Bash, Glob, Grep, and JS tools over stdio.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read Read
Read the contents of a file. Output is truncated to 2000 lines or 50KB (whichever is hit first). Use offset/limit for large files.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to the file to read (relative or absolute) |
limit | number | Maximum number of lines to read |
offset | number | Line number to start reading from (1-indexed) |
write Write
Write content to a file. Creates the file if it doesn't exist, overwrites if it does. Automatically creates parent directories.
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to write to the file |
path * | string | Path to the file to write (relative or absolute) |
edit Edit
Edit a file by replacing exact text. The old_text must match exactly (including whitespace). Supports fuzzy matching for minor Unicode/whitespace differences. The match must be unique in the file.
| Parameter | Type | Description |
|---|---|---|
new_text * | string | New text to replace the old text with |
old_text * | string | Exact text to find and replace (must match exactly) |
path * | string | Path to the file to edit (relative or absolute) |
replace_all | boolean | Replace all occurrences of old_text (default false) |
bash Bash
Execute a bash command, or manage a running one. Call in one of two modes; do not mix them: 1. Start a command: pass 'command' (and optional 'timeout' and 'warn'). Omit 'pid' and 'kill'. 2. Manage a running command: pass 'pid' (and optional 'warn', 'timeout' or 'kill'). Omit 'command'. Returns stdout/stderr combined, truncated to last 2000 lines or 50KB. A command that is still running when its timeout expires is killed (default: 120, in seconds). Raise 'timeout' for commands expected to run long. Set 'warn' to get control back sooner: if the command is still running after that many sec…
| Parameter | Type | Description |
|---|---|---|
command | string | Bash command to execute. Provide this to start a new process; omit when managing an existing one via 'pid'. |
kill | boolean | Kill the process specified by 'pid'. Only valid together with 'pid'; omit when starting a new command. |
pid | number | PID of a running process to reattach to or kill. Omit (do not pass 0) when starting a new command via 'command'. |
timeout | number | Seconds the command may run before it is killed (default: 120). With 'pid', sets a new limit counted from now. |
warn | number | Seconds to wait before returning early. If the command is still running by then, the call returns with its pid and the command keeps running. Omit to wait until it finishes or times out. |
glob Glob
Fast file pattern matching. Returns file paths matching a glob pattern, sorted alphabetically. Supports patterns like '**/*.ts', 'src/**/*.tsx', '*.json'.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Glob pattern to match files against (e.g. '**/*.ts') |
path | string | Directory to search in (relative or absolute). Defaults to working directory. |
grep Grep
Search file contents using ripgrep. Supports regex patterns, file filtering, and multiple output modes. Requires ripgrep (rg) to be installed.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Regular expression pattern to search for |
after_context | number | Number of lines to show after each match (content mode only) |
before_context | number | Number of lines to show before each match (content mode only) |
case_insensitive | boolean | Case insensitive search (default false) |
context | number | Number of lines to show before and after each match (content mode only) |
fixed_strings | boolean | Treat pattern as a literal string, not a regex (default false) |
glob | string | Glob pattern to filter files (e.g. '*.js', '*.{ts,tsx}') |
output_mode | string | Output mode: 'content' shows matching lines, 'files_with_matches' shows file paths (default), 'count' shows match counts per file |
path | string | File or directory to search in (relative or absolute). Defaults to working directory. |
js JavaScript
Evaluate JavaScript/TypeScript code in a persistent runtime. State persists across calls within the session. Use assignment (`x = 42`) or `var` to persist values between calls. `function` and `class` declarations also persist. `let`/`const` are scoped to the current evaluation. Supports `await` for async operations: `data = await fetch(url)`. Load packages with `await load("lodash")` (fetches from unpkg.com) or `await load("https://cdn.example.com/lib.js")`. Returns the result of the last expression, plus any console output.
| Parameter | Type | Description |
|---|---|---|
code * | string | JavaScript or TypeScript code to evaluate |
timeout | number | Timeout in seconds (default: 30) |