# Platter [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/hadriangateway/platter  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/platter

## Description
MCP server exposing Read, Write, Edit, Bash, Glob, Grep, and JS tools over stdio.

## Tools
Capabilities this server exposes over MCP:

- **read** — Read file contents with pagination (offset/limit). Detects image files (JPEG, PNG, GIF, WebP) and returns metadata. Truncates text to 2000 lines or 50KB.
- **write** — Create or overwrite files. Auto-creates parent directories.
- **edit** — Find-and-replace with exact or fuzzy matching (normalizes smart quotes, dashes, and Unicode whitespace). Requires a unique match, or use `replace_all` for every occurrence (exact matches only). Returns a unified diff.
- **bash** — Execute shell commands. Commands are killed at a timeout, and an optional `warn` returns control early while the command keeps running. Output truncated to last 2000 lines or 50KB.
- **glob** — Fast file pattern matching. Returns up to 500 paths matching a glob pattern (e.g. `**/*.ts`).
- **grep** — Search file contents using [ripgrep](https://github.com/BurntSushi/ripgrep). Supports regex, file filtering, context lines, and multiple output modes. Requires `rg` to be installed.
- **js** — Evaluate JavaScript/TypeScript in a persistent Node.js `vm` context. State persists across calls within a session. Supports `await`, `console.log`, and loading packages from unpkg.com via `await load("package")`. Auto-returns the last expression. **Not a security sandbox** — see [Security](#securit…

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/hadriangateway/platter), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://github.com/hadriangateway/platter/releases/latest/download/platter-linux-x64 -o platter
```

2. Run:

```sh
chmod +x platter
```

3. Start the server:

```sh
./platter          # stdio mode
```

4. Start the server:

```sh
./platter -t http  # HTTP mode on :3100
```

5. Start the server:

```sh
docker run --rm -i ghcr.io/hadriangateway/platter                                   # stdio mode
```

6. Start the server:

```sh
docker run --rm -p 3100:3100 ghcr.io/hadriangateway/platter -t http --host 0.0.0.0  # HTTP mode
```

## Documentation

## What Platter does

Platter exposes seven tools for interacting with a computer through MCP: `read`, `write`, `edit`, `bash`, `glob`, `grep`, and `js`. Together, they cover file inspection and modification, directory discovery, text search, shell execution, and scripted computation.

The file tools operate on local paths. `read` supports pagination and recognizes JPEG, PNG, GIF, and WebP files, returning image metadata rather than treating them as ordinary text. Text and command output are bounded at 2,000 lines or 50 KB. `write` creates parent directories when needed, while `edit` produces a unified diff after an exact or normalized find-and-replace operation.

## How it works

The executable communicates with MCP clients through stdio by default or through Streamable HTTP when started with the HTTP transport. HTTP mode can bind to a selected host and port, use HTTPS certificates, and apply OAuth, bearer-token, JWKS, or no authentication depending on its command-line configuration.

`bash` runs commands with configurable time limits and can return control early while a process continues. `glob` returns up to 500 matching paths. `grep` uses ripgrep for regular expressions, file filters, context lines, and selectable output formats, so `rg` must be installed for that tool.

The `js` tool evaluates JavaScript or TypeScript in a persistent Node.js `vm` context. Variables and other state remain available across calls in one session; it also supports `await`, `console.log`, automatic return of the final expression, and package loading from unpkg.com. JavaScript execution is not sandboxed.

## Setup and configuration

A release binary can be downloaded for Linux or macOS on x64 or ARM64, then run directly. Docker images are available from `ghcr.io/hadriangateway/platter`; stdio containers need interactive input, while HTTP containers expose the configured port. Developers can also install dependencies with Bun, run the TypeScript development command, or compile a standalone binary for the host platform.

Useful runtime options include `--cwd` for the tools' working directory, `--tools` to register only selected tools, and repeated `--allow-path` options to constrain file-oriented operations. `--allow-command` applies full-string regular-expression restrictions to Bash commands. These path restrictions do not apply to Bash or JavaScript, and Bash-only sandbox mode can use memory, overlay, or read-write filesystem backends with optional URL prefixes.

## Tools and capabilities

- `read`: Paginated text reads and image metadata detection.
- `write`: File creation or replacement with automatic parent-directory creation.
- `edit`: Unique-match replacement, optional exact `replace_all`, and unified diffs.
- `bash`: Native or sandboxed commands, timeouts, process limits, and early warnings.
- `glob`: Glob-based path discovery with a 500-result ceiling.
- `grep`: Ripgrep-backed regex and contextual content searches.
- `js`: Persistent JavaScript or TypeScript evaluation with asynchronous expressions.

## Limitations and notes

The `js` tool is never sandboxed, so it should not be treated as an isolation boundary. Native Bash is also unrestricted unless command patterns or sandbox mode are configured. Read and command responses are truncated at the stated limits, and `grep` depends on the `rg` executable. HTTP deployments should be configured deliberately because the server can expose file operations and command execution to connected agents.

_Full upstream README: https://allmcps.com/mcp/platter/readme_

