# Show HN: MCP-stama – An ultra-fast Rust MCP server with no dependencies

> Source: <https://github.com/StamManif/mcp-stama>
> Published: 2026-08-13 22:26:25+00:00

**The Ultra-Fast Swiss Army Knife MCP Server for AI Coding Agents**

*Blazingly fast, zero-dependency, single static Rust binary built for Cursor, Claude Desktop, and Windsurf.*

⚡

Why switch toStandard Node.js or Python MCP tools consume`mcp-stama`

?200MB+ RAMand take1–3 secondsjust to wake up.`mcp-stama`

runs natively in under10MB RAMwithsub-millisecond tool response times, keeping your AI agent fast and your computer cool.

| Metric | Legacy MCP Servers (Node / Python) | ⚡ `mcp-stama` (Rust) |
|---|---|---|
Cold Startup Time |
1,500ms – 3,000ms | < 2ms (Instant) |
p50 Execution Latency |
150ms – 800ms | 300µs – 5ms (Sub-ms) |
Memory Footprint (RSS) |
180 MB – 350 MB | < 10 MB |
Dependencies |
100+ `node_modules` / `pip` packages |
Zero external runtimes |
Installation |
Requires Node.js / Python setup | Single static binary |

Each tool in `mcp-stama`

is engineered to give your AI agent deep local context **without wasting prompt tokens** or spawning heavy child processes:

- 🔎
: Sub-millisecond file search and regex scanning using`fast_grep`

`ignore::WalkBuilder`

. Respects`.gitignore`

and`.ignore`

automatically while skipping binary/hidden files. - 📦
: Pure-Rust Git inspector powered natively by`git_snapshot`

`gix`

(`gitoxide`

). Fetches HEAD commits, branch information, line deltas, and file status without calling the external`git`

executable. - 🐳
: Instant host and container diagnostics powered by`docker_watcher`

`bollard`

and`sysinfo`

. Gives your AI instant visibility into running Docker containers, system memory, CPU cores, and mapped ports. - ⚡
: Includes`auto-configurator`

`--install-cursor`

and`--install-claude`

flags to automatically inject`mcp-stama`

into your editor settings in under 2 seconds. - 🛡️
**Pure Stdio JSON-RPC 2.0**: All diagnostic and logging outputs are routed strictly to`stderr`

, keeping`stdout`

100% compliant for JSON-RPC frame protocol traffic.

```
curl -fsSL [https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.sh](https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.sh) | sh
iwr -useb [https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.ps1](https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.ps1) | iex
cargo install mcp-stama
```

Skip manual JSON editing! Let `mcp-stama`

configure your AI client automatically:

MacOS/Linux

```
{ command -v mcp-stama >/dev/null 2>&1 && mcp-stama || ~/.local/bin/mcp-stama; } --install-claude
```

Windows

```
& "$HOME\.mcp-stama\bin\mcp-stama.exe" --install-claude
```

MacOS/Linux

```
{ command -v mcp-stama >/dev/null 2>&1 && mcp-stama || ~/.local/bin/mcp-stama; } --install-cursor
```

Windows

```
& "$HOME\.mcp-stama\bin\mcp-stama.exe" --install-cursor
```

If you prefer adding it manually to your settings file:

```
{
  "mcpServers": {
    "mcp-stama": {
      "command": "mcp-stama",
      "args": []
    }
  }
}
{
  "mcpServers": {
    "mcp-stama": {
      "command": "mcp-stama",
      "args": []
    }
  }
}
```

Run the embedded benchmark suite on your own machine at any time with `mcp-stama --benchmark`

:

| Tool Name | Invocations | p50 Latency | p99 Latency | Memory Footprint (RSS) |
|---|---|---|---|---|
`docker_watcher` |
100 | 327 µs |
1.66 ms |
`< 10 MB` |
`git_snapshot` |
100 | 462 µs |
1.36 ms |
`< 10 MB` |
`fast_grep` |
100 | 5.05 ms |
8.72 ms |
`< 10 MB` |

```
                 +-------------------------------+
                 |  AI Client (Cursor / Claude)  |
                 +---------------+---------------+
                                 |
                          stdio (JSON-RPC)
                                 |
                 +---------------v---------------+
                 |        StdioTransport         |
                 +---------------+---------------+
                                 |
                     JsonRpcRequest / Response
                                 |
                 +---------------v---------------+
                 |          ToolRegistry         |
                 +---------------+---------------+
                                 |
         +-----------------------+-----------------------+
         |                       |                       |
+--------v--------+     +--------v--------+     +--------v--------+
|    fast_grep    |     |  git_snapshot   |     | docker_watcher  |
| (ignore/regex)  |     |   (gix/rust)    |     | (bollard/sys)   |
+-----------------+     +-----------------+     +-----------------+
# Clone the repository
git clone [https://github.com/StamManif/mcp-stama.git](https://github.com/StamManif/mcp-stama.git)
cd mcp-stama

# Run test suite
cargo test

# Build release binary
cargo build --release

# Run internal micro-benchmarks
./target/release/mcp-stama --benchmark
```

Licensed under the **Apache License, Version 2.0** ([LICENSE](/StamManif/mcp-stama/blob/main/LICENSE) or [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)).
