NEPHIS MCP Server
Enables spawning isolated MicroVM sandboxes with an optional embedded PostgreSQL instance and returns a PostgreSQL connection URL, allowing AI agents to run database-backed tasks in a sandboxed environment.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
NEPHIS MCP Server (nephis-mcp-server)
Model Context Protocol (MCP) Server for NEPHIS
Sub-6ms KVM MicroVM Sandboxes, Zero-Copy Database Branching, and Execution Fabric for AI Coding Agents.
⚡ Architecture Overview
Canonical Production Gateway: https://nephis.theeducode.com
Instant Self-Serve API Keys (10k Free Runs): https://nephis.theeducode.com/keys
Commercial Pricing Table: https://nephis.theeducode.com/pricing.html
Quickstart Command:npx -y nephis-mcp-server
The NEPHIS MCP Server connects LLMs and autonomous coding assistants (Claude Desktop, Cursor, Windsurf, and Cline) directly to NEPHIS's bare-metal MicroVM engine and the wider NEPHIS Systems Fabric:
Eschaton: 74k RPS bare-metal online judge with 38ms parallel testcase fan-out.
Thanaton: Sub-12ms hardware KVM microVMs with 10.4 GB/s Sabre restore and $0 idle RAM cost.
Mnemon-DB: 31ms zero-copy PostgreSQL 16 + pgvector branching with 2.26 GB/s FastCDC.
Aletheia: 1.09µs fuel-metered in-memory symbolic verifier (100% Free Apache 2.0).
Hyperion, Acheron, Lethe, Kronos: On-premises kernel schedulers, zero-tax networks, CDC Parquet streaming, and deterministic hypervisors.
┌─────────────────────────────────┐
│ AI Coding Agent │
│ (Claude / Cursor / Windsurf) │
└────────────────┬────────────────┘
│
│ JSON-RPC 2.0 (stdio / SSE)
▼
┌─────────────────────────────────┐
│ Thanaton MCP Server │
│ (@thanaton/mcp-server) │
└────────────────┬────────────────┘
│
│ REST Control Plane (Port 8080 / mTLS)
▼
┌─────────────────────────────────┐
│ Project Thanaton Engine (KVM) │
│ ├── Firecracker MicroVMs │ ──► Sub-6ms boot (<2ms with UFFD)
│ ├── Cgroups v2 Jailer │ ──► Hardened hardware sandbox
│ ├── SSRF Firewall (iptables) │ ──► Blocks 169.254.169.254 metadata
│ └── Scale-to-Zero Snapshotting │ ──► Drops RAM to 0 MB when idle
└─────────────────────────────────┘Related MCP server: Secure Grid Genesis Execution
🛠️ Complete MCP Tool Catalog
The server exposes 7 production tools over standard MCP JSON-RPC:
1. thanaton_exec_command
Executes an arbitrary bash or shell command inside an isolated MicroVM sandbox.
Parameters:
command(string, required): Shell command to execute (e.g.npm test,git status,python3 script.py).sandbox_id(string, optional): Target sandbox ID. If omitted, an ephemeral sandbox is created automatically.timeout_ms(number, optional): Maximum execution timeout in ms (default:15000).
Response Format:
{ "sandbox_id": "sbx_a1b2c3", "command": "python3 -c 'print(42)'", "stdout": "42\n", "stderr": "", "exit_code": 0, "duration_ms": 11.2 }
2. thanaton_run_code
Directly compiles and runs standalone code snippets with Base64 encoding to prevent parameter injection or shell quoting failures.
Parameters:
language(string, required): One of"python","javascript","typescript","go","rust","c","cpp","bash".code(string, required): The source code snippet to compile and execute.timeout_ms(number, optional): Execution timeout in ms (default:10000).
Response Format:
{ "language": "python", "stdout": "Result: 144\n", "stderr": "", "exit_code": 0, "execution_time_ms": 9.4 }
3. thanaton_spawn_sandbox
Provisions a new hardware-isolated KVM MicroVM with customizable RAM, vCPU quota, and optional embedded PostgreSQL database.
Parameters:
runtime(string, optional):"microvm"(default) or"silicon".memory_mb(number, optional): RAM allocation in MiB (default:256, max:4096).with_db(boolean, optional): Whether to bundle an embedded PostgreSQL instance (default:false).
Response Format:
{ "status": "success", "sandbox_id": "sbx_f8a92e", "runtime": "microvm", "state": "running", "boot_duration_ms": 5.82, "db_url": "postgresql://postgres:thanaton@172.16.2.2:5432/sbx_f8a92e" }
4. thanaton_list_sandboxes
Lists all active, sleeping, and managed MicroVM sandboxes across the current organization.
5. thanaton_wake_sandbox
Instantly wakes a hibernated MicroVM from an NVMe memory snapshot in sub-6ms (<2ms with Userfaultfd).
Parameters:
sandbox_id(string, required): ID of the sleeping sandbox to wake.
6. thanaton_sleep_sandbox
Scales a MicroVM to zero. Guest RAM is flushed to an NVMe golden memory snapshot; CPU usage drops to 0.00% and RAM allocation drops to 0 MB ($0 idle cost).
Parameters:
sandbox_id(string, required): ID of the sandbox to hibernate.
7. thanaton_destroy_sandbox
Terminates guest processes, deletes TAP network interfaces, unlinks cgroups, and frees all resources.
Parameters:
sandbox_id(string, required): ID of the sandbox to delete.
🚀 Client Configuration Guides
1. Claude Desktop Setup
Open your Claude configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the thanaton server:
{
"mcpServers": {
"thanaton": {
"command": "node",
"args": ["d:/MOHIT/testing-judge0-vm/mcp-server/dist/index.js"],
"env": {
"THANATON_API_URL": "http://127.0.0.1:8080",
"THANATON_API_KEY": ""
}
}
}
}Or run directly via NPX:
{
"mcpServers": {
"thanaton": {
"command": "npx",
"args": ["-y", "@thanaton/mcp-server"]
}
}
}2. Cursor IDE Setup
In your workspace root, create or edit .cursor/mcp.json:
{
"mcpServers": {
"thanaton": {
"command": "node",
"args": ["d:/MOHIT/testing-judge0-vm/mcp-server/dist/index.js"],
"env": {
"THANATON_API_URL": "http://127.0.0.1:8080"
}
}
}
}3. Cline / Roo-Code Setup
In VS Code settings.json under cline.mcpServers:
{
"cline.mcpServers": {
"thanaton": {
"command": "node",
"args": ["d:/MOHIT/testing-judge0-vm/mcp-server/dist/index.js"]
}
}
}4. Windsurf (Cascade) Setup
In ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"thanaton": {
"command": "node",
"args": ["d:/MOHIT/testing-judge0-vm/mcp-server/dist/index.js"]
}
}
}🔒 Security & Sandboxing Guarantees
Hardware KVM Boundary: Every command runs inside a guest Linux kernel. Host memory and filesystem are completely inaccessible from the guest.
SSRF & Cloud Metadata Firewall: The network namespace blocks all egress to
169.254.169.254(cloud metadata service) and link-local ranges, preventing IAM token theft.Pure Stdio Guard: All internal logging is piped to
stderr, guaranteeing standard output remains strictly formatted for JSON-RPC 2.0 frames.Base64 Code Escaping: Scripts are Base64 encoded before execution, preventing shell injection or command substitution exploits.
🤖 Recommended System Prompt for AI Coding Agents
To ensure Claude or Cursor always uses Thanaton for running code, add this to your custom instructions:
You have access to the Thanaton MCP Server tools (`thanaton_exec_command`, `thanaton_run_code`, `thanaton_spawn_sandbox`).
Whenever executing untrusted code, testing bash scripts, running unit tests, or querying databases:
1. ALWAYS use `thanaton_run_code` or `thanaton_exec_command` instead of running directly on the local machine.
2. For multi-step tasks requiring dependencies or database state, spawn a dedicated sandbox using `thanaton_spawn_sandbox`.
3. Put dormant sandboxes to sleep with `thanaton_sleep_sandbox` to preserve resources.📄 License
Apache-2.0 © Thanaton Architecture Team
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud Linux VMs for your agent: run code, Docker, files and HTTPS previews in a Sandboxer microVM.
Execution platform for AI agents on Firecracker microVMs in the EU. Interactive Linux sandboxes with root, templates for Python, Node.js, Go, Rust and a headless browser, public HTTPS URLs. Background jobs that outlive the connection, batches of up to 1,000 jobs with dependencies, hard cost caps reserved up front, execution receipts with SHA-256, log digests that fit the context. IPv4, dual-stack or IPv6-only with its own public address, allowlists or no network. WASI runtime for small tasks. Idle sandboxes sleep and keep their files. Also REST API, Python SDK and LangChain.
Linux microVM sandboxes for AI agents: run commands, files, processes, pause and wake.
Sealed microVM sandboxes for AI agents: run untrusted code locally or in kosa8 Cloud.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides sandboxed code execution for AI agents with support for Python, JavaScript, and shell commands. Includes comprehensive safety features like destructive pattern blocking, timeout protection, and restricted file access for secure production use.37 npm37 PyPIMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to safely execute Python, JavaScript, and Bash code in an isolated Docker sandbox with strict security constraints.1-
- AlicenseAqualityDmaintenanceEphemeral MicroVM-isolated code execution for AI agents. Run Python, Node, or bash — fresh hardware-isolated VM per call, hard-purged after. No state persists between calls.1849 npmMIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to safely run commands, install dependencies, test, and modify code inside disposable, policy-enforced Docker sandboxes isolated from the host, returning results and diffs.15MIT