Myrmex Hive MCP server
io.github.olafkfreund/myrmex-hive·v1.0.3·2 starsZero-inbound-port MCP gateway for managing distributed edge servers over reverse SSH tunnels
2 stars
Reviews
Write oneNobody has reviewed Myrmex Hive yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Myrmex Hive tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 66 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Myrmex Hive compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 60% of 48,255 servers
- GitHub stars
- 2
- more than 75% of 28,688 servers
Install Myrmex Hive in Claude Code, Cursor or VS Code
claude mcp add myrmex-hive -- docker run -i --rm ghcr.io/olafkfreund/myrmex-gateway:1.0.3
What the publisher says
From the Myrmex Hive repository's README, as published. We do not edit it. Read it on GitHub
Myrmex Hive: Secure Agent Orchestrator & Gateway
Myrmex Hive is a decentralized, secure, and geeky agent orchestration framework built on top of the Model Context Protocol (MCP). It is designed to securely monitor, query, and manage distributed edge servers, Docker hosts, and Kubernetes nodes without exposing any ingress ports on your target systems.
1. Architecture & Security Model
Myrmex Hive is designed for zero-trust environments where target edge systems (agents) must remain completely isolated from direct inbound network traffic.
flowchart TD
%% Node Definitions
subgraph Edge ["Target Edge Node (Myrmex Agent)"]
Agent["Myrmex Agent<br/>(CPU/Mem/Disk, strict allowlist)"]
end
subgraph Gateway ["Central Hive Gateway"]
SSHD["Secure SSHD Receiver<br/>(Port 2222)"]
Orch["Myrmex Hive Orchestrator"]
LLM["Ollama LLM<br/>(Gemma 4/2)"]
end
Client["Client / CLI / Portal<br/>(Stdio / SSE MCP Interface)"]
%% Connections
Agent -- "SSH Outbound Tunnel" --> SSHD
SSHD -- "JSON-RPC over SSH channel" --> Orch
Orch <--> LLM
Client <--> Orch
%% Styling / Colors
classDef edgeNode fill:#282828,stroke:#fabd2f,stroke-width:2px,color:#ebdbb2;
classDef gatewayNode fill:#282828,stroke:#fe8019,stroke-width:2px,color:#ebdbb2;
classDef clientNode fill:#282828,stroke:#b8bb26,stroke-width:2px,color:#ebdbb2;
class Agent edgeNode;
class SSHD,Orch,LLM gatewayNode;
class Client clientNode;Security Principles (Why We Made These Choices)
- Zero Inbound Ports: Instead of running an SSH daemon or exposing management ports (like HTTP/gRPC) on your target servers, the Myrmex Agent initiates a secure, outbound connection to the Myrmex Gateway. This eliminates the primary attack vector of public scanner discovery and automated brute-force attacks.
- OS-Grade Encryption: Outbound tunnels utilize standard SSH protocol channels managed via Go's native crypto/ssh package, enforcing secure Ed25519 signature validation and high-grade ciphers (ChaCha20-Poly1305, AES-GCM).
- Defense-in-Depth Allowlist: The Agent executes binaries directly via OS process forks (os/exec) rather than invoking a shell (like /bin/sh or bash). This completely bypasses shell expansion, neutralizing shell injection vulnerabilities. Arguments are strictly validated against developer-defined regular expressions in config.json.
- Central Token Authorization: Access to the Gateway's control API is guarded via secure bearer token authentication.
2. Quickstart & Installation
Myrmex Hive supports Go, Nix, Linux, macOS, and Windows environments.
Nix / NixOS (Declarative Flake)
Add Myrmex Hive to your flake.nix inputs:
inputs.myrmex-hive.url = "github:olafkfreund/myrmex-hive";You can then run the CLI tool directly:
nix run github:olafkfreund/myrmex-hive#myrmex -- --helpTo deploy a Myrmex Agent or Gateway as a declarative systemd service on NixOS, enable the module in your configuration.nix:
{ inputs, config, pkgs, ... }: {
imports = [ inputs.myrmex-hive.nixosModules.default ];
services.myrmex-hive = {
enable = true;
role = "agent"; # Or "gateway"
configPath = "/etc/myrmex/agent_config.json";
};
}macOS (Homebrew)
brew tap olafkfreund/myrmex
brew install --cask myrmex-hiveInstalls all three binaries: myrmex (operator CLI), myrmex-gateway, and myrmex-agent.
macOS only — Homebrew casks are not supported on Linuxbrew. On Linux use the deb/rpm packages from the releases page, the Nix flake, install.sh, or the container images.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Myrmex Hive: common questions
- Is Myrmex Hive MCP server safe?
- Mostly: it is graded B (80/100). Read the Myrmex Hive safety report
- How do I install Myrmex Hive?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Myrmex Hive need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Myrmex Hive maintained?
- The last commit was 106 days ago (2026-07-21). The latest release is v1.0.3.
- How does Myrmex Hive compare with other MCP servers?
- safety score 80/100 (higher than 60% of 48,255 servers); github stars 2 (more than 75% of 28,688 servers). Full comparison.