# Emisar

> A zero-trust gateway that lets AI agents run policy-bounded, audited infrastructure actions through CLI or MCP.

Emisar, built by Andrii Dryga, gives AI agents access to infrastructure through declared actions over CLI or MCP rather than a general shell. A small outbound-only runner on each host checks every request, while a control plane applies policy, approvals, and audit logging. The runner and MCP bridge are Apache-2.0 open source, and the control-plane source is available under the Business Source License.

## What It Is

Emisar is an infrastructure-access gateway for AI agents such as Claude, Cursor, and ChatGPT. Operators install action packs, which are YAML definitions of a command, its typed arguments, risk level, timeouts, output limits, and redaction. The agent selects from these declared actions instead of inventing command lines. Packs cover software such as Postgres, Docker, Nomad, Kubernetes, and AWS, and teams can write custom packs that an admin must trust before they run.

## How an Action Runs

The agent discovers actions and requests one with typed arguments through the CLI or MCP. The control plane authenticates the caller, applies runner scope and policy, and waits for approval when required. The runner then verifies the pack hash, validates arguments, enforces local limits, executes the declared binary, and streams redacted output back. Policy can allow, require approval for, or deny actions by risk tier, action, host, or group, and standing grants can cover repeated work.

## Audit and Boundaries

The cloud audit records requests, policy decisions, and outcomes, including denied and pending ones. Each runner also keeps a hash-chained journal on the host, and audit export to a SIEM is available on higher plans. The runner makes only outbound TLS connections and exposes no inbound listener. It runs actions with its service user's OS permissions and does not isolate those processes, so permitted destructive actions still have real effects.

## Setup Path

Setup starts with a Linux host running systemd. A generated install command with a single-use enrollment key installs the runner and host-matched starter packs. Remote MCP clients such as Claude.ai and ChatGPT connect through OAuth, while local clients use the emisar-mcp stdio bridge. The vendor states that only the hosted control plane is supported, with no supported self-hosted deployment.

## Features
- Declared, versioned action packs with typed argument validation
- Policy by risk tier, action, host or group: allow, require approval, or deny
- Human approvals via web UI and email, plus revocable standing grants
- Cloud audit log and hash-chained runner journal on each host
- Output redaction on the host before results are returned
- Outbound-only runner with no inbound listener
- CLI and MCP access using the same policy and runner checks
- Custom packs with admin trust and private pack registries
- Optional bridge-attested signed dispatch
- Runbooks, SSO/OIDC and SCIM directory sync
- Runner deployment on Linux, containers, Kubernetes DaemonSet and Nomad

## Integrations
Claude.ai, ChatGPT, Claude Code, Claude Desktop, Cursor, Windsurf, Zed, Copilot CLI, Gemini CLI, Codex CLI, Okta, Microsoft Entra, JumpCloud, Keycloak, Google Workspace, Kubernetes, Nomad, Docker, Postgres, AWS

## Platforms
MACOS, LINUX, WEB, API, CLI

## Pricing
Freemium — Free tier available with paid upgrades

## Version
v0.64.0

## Links
- Website: https://emisar.dev
- Documentation: https://emisar.dev/docs
- Repository: https://github.com/andrewdryga/emisar
- EveryDev.ai: https://www.everydev.ai/tools/emisar
