{"slug": "show-hn-mcp-stama-an-ultra-fast-rust-mcp-server-with-no-dependencies", "title": "Show HN: MCP-stama – An ultra-fast Rust MCP server with no dependencies", "summary": "StamManif released mcp-stama, an ultra-fast Rust-based Model Context Protocol (MCP) server with zero dependencies, designed for AI coding agents in Cursor, Claude Desktop, and Windsurf. The single static binary runs in under 10MB RAM with sub-millisecond tool response times, compared to legacy Node.js or Python MCP servers that consume 180–350MB and take 1.5–3 seconds to start. It includes tools like fast_grep for file search, git_snapshot for Git inspection, and docker_watcher for container diagnostics, plus auto-configuration flags for Cursor and Claude.", "body_md": "**The Ultra-Fast Swiss Army Knife MCP Server for AI Coding Agents**\n\n*Blazingly fast, zero-dependency, single static Rust binary built for Cursor, Claude Desktop, and Windsurf.*\n\n⚡\n\nWhy switch toStandard Node.js or Python MCP tools consume`mcp-stama`\n\n?200MB+ RAMand take1–3 secondsjust to wake up.`mcp-stama`\n\nruns natively in under10MB RAMwithsub-millisecond tool response times, keeping your AI agent fast and your computer cool.\n\n| Metric | Legacy MCP Servers (Node / Python) | ⚡ `mcp-stama` (Rust) |\n|---|---|---|\nCold Startup Time |\n1,500ms – 3,000ms | < 2ms (Instant) |\np50 Execution Latency |\n150ms – 800ms | 300µs – 5ms (Sub-ms) |\nMemory Footprint (RSS) |\n180 MB – 350 MB | < 10 MB |\nDependencies |\n100+ `node_modules` / `pip` packages |\nZero external runtimes |\nInstallation |\nRequires Node.js / Python setup | Single static binary |\n\nEach tool in `mcp-stama`\n\nis engineered to give your AI agent deep local context **without wasting prompt tokens** or spawning heavy child processes:\n\n- 🔎\n: Sub-millisecond file search and regex scanning using`fast_grep`\n\n`ignore::WalkBuilder`\n\n. Respects`.gitignore`\n\nand`.ignore`\n\nautomatically while skipping binary/hidden files. - 📦\n: Pure-Rust Git inspector powered natively by`git_snapshot`\n\n`gix`\n\n(`gitoxide`\n\n). Fetches HEAD commits, branch information, line deltas, and file status without calling the external`git`\n\nexecutable. - 🐳\n: Instant host and container diagnostics powered by`docker_watcher`\n\n`bollard`\n\nand`sysinfo`\n\n. Gives your AI instant visibility into running Docker containers, system memory, CPU cores, and mapped ports. - ⚡\n: Includes`auto-configurator`\n\n`--install-cursor`\n\nand`--install-claude`\n\nflags to automatically inject`mcp-stama`\n\ninto your editor settings in under 2 seconds. - 🛡️\n**Pure Stdio JSON-RPC 2.0**: All diagnostic and logging outputs are routed strictly to`stderr`\n\n, keeping`stdout`\n\n100% compliant for JSON-RPC frame protocol traffic.\n\n```\ncurl -fsSL [https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.sh](https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.sh) | sh\niwr -useb [https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.ps1](https://raw.githubusercontent.com/StamManif/mcp-stama/main/install.ps1) | iex\ncargo install mcp-stama\n```\n\nSkip manual JSON editing! Let `mcp-stama`\n\nconfigure your AI client automatically:\n\nMacOS/Linux\n\n```\n{ command -v mcp-stama >/dev/null 2>&1 && mcp-stama || ~/.local/bin/mcp-stama; } --install-claude\n```\n\nWindows\n\n```\n& \"$HOME\\.mcp-stama\\bin\\mcp-stama.exe\" --install-claude\n```\n\nMacOS/Linux\n\n```\n{ command -v mcp-stama >/dev/null 2>&1 && mcp-stama || ~/.local/bin/mcp-stama; } --install-cursor\n```\n\nWindows\n\n```\n& \"$HOME\\.mcp-stama\\bin\\mcp-stama.exe\" --install-cursor\n```\n\nIf you prefer adding it manually to your settings file:\n\n```\n{\n  \"mcpServers\": {\n    \"mcp-stama\": {\n      \"command\": \"mcp-stama\",\n      \"args\": []\n    }\n  }\n}\n{\n  \"mcpServers\": {\n    \"mcp-stama\": {\n      \"command\": \"mcp-stama\",\n      \"args\": []\n    }\n  }\n}\n```\n\nRun the embedded benchmark suite on your own machine at any time with `mcp-stama --benchmark`\n\n:\n\n| Tool Name | Invocations | p50 Latency | p99 Latency | Memory Footprint (RSS) |\n|---|---|---|---|---|\n`docker_watcher` |\n100 | 327 µs |\n1.66 ms |\n`< 10 MB` |\n`git_snapshot` |\n100 | 462 µs |\n1.36 ms |\n`< 10 MB` |\n`fast_grep` |\n100 | 5.05 ms |\n8.72 ms |\n`< 10 MB` |\n\n```\n                 +-------------------------------+\n                 |  AI Client (Cursor / Claude)  |\n                 +---------------+---------------+\n                                 |\n                          stdio (JSON-RPC)\n                                 |\n                 +---------------v---------------+\n                 |        StdioTransport         |\n                 +---------------+---------------+\n                                 |\n                     JsonRpcRequest / Response\n                                 |\n                 +---------------v---------------+\n                 |          ToolRegistry         |\n                 +---------------+---------------+\n                                 |\n         +-----------------------+-----------------------+\n         |                       |                       |\n+--------v--------+     +--------v--------+     +--------v--------+\n|    fast_grep    |     |  git_snapshot   |     | docker_watcher  |\n| (ignore/regex)  |     |   (gix/rust)    |     | (bollard/sys)   |\n+-----------------+     +-----------------+     +-----------------+\n# Clone the repository\ngit clone [https://github.com/StamManif/mcp-stama.git](https://github.com/StamManif/mcp-stama.git)\ncd mcp-stama\n\n# Run test suite\ncargo test\n\n# Build release binary\ncargo build --release\n\n# Run internal micro-benchmarks\n./target/release/mcp-stama --benchmark\n```\n\nLicensed 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)).", "url": "https://wpnews.pro/news/show-hn-mcp-stama-an-ultra-fast-rust-mcp-server-with-no-dependencies", "canonical_source": "https://github.com/StamManif/mcp-stama", "published_at": "2026-08-13 22:26:25+00:00", "updated_at": "2026-08-13 22:42:11.490725+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-agents", "ai-infrastructure"], "entities": ["StamManif", "mcp-stama", "Cursor", "Claude Desktop", "Windsurf", "gitoxide", "bollard", "sysinfo"], "alternates": {"html": "https://wpnews.pro/news/show-hn-mcp-stama-an-ultra-fast-rust-mcp-server-with-no-dependencies", "markdown": "https://wpnews.pro/news/show-hn-mcp-stama-an-ultra-fast-rust-mcp-server-with-no-dependencies.md", "text": "https://wpnews.pro/news/show-hn-mcp-stama-an-ultra-fast-rust-mcp-server-with-no-dependencies.txt", "jsonld": "https://wpnews.pro/news/show-hn-mcp-stama-an-ultra-fast-rust-mcp-server-with-no-dependencies.jsonld"}}