emisar

dev.emisar由 emisar.dev 發布官方發布者v0.60.0更新於 Nov 19, 2026

Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.

已驗證Streamable HTTP可網頁執行雲端與基礎設施安全與監控

概覽

AI 產生的概覽

Emisar 讓 AI 助理透過對外連線的 runner 在遠端 Linux 伺服器上執行受政策管控的既定動作,而不必給予通用 SSH shell。

可以做什麼
  • 探索並要求已連線主機上宣告的維運動作,參數受型別約束
  • 依政策執行動作:自動執行、需核准或拒絕
  • 檢視執行歷史與稽核紀錄,包括被拒絕與待核准的要求
  • 從目錄安裝或自訂管理動作套件
  • 可選擇要求經橋接簽章的派送以加強管控
適用情境
當你希望代理程式操作正式或預備環境主機,但把權限限制在一組經過審查的動作內,並保留核准與稽核紀錄時使用。適合原本要讓代理程式直接使用 SSH 的團隊。
執行需求
位於 emisar.dev 的遠端 MCP 端點,需 OAuth 登入與 emisar 帳號。每台受管主機需 Linux、systemd 與 sudo 以安裝 runner,並允許對外 HTTPS 連線至 emisar.dev、registry.emisar.dev 及 Sigstore/GitHub 信任根。本機 stdio 用戶端可使用 emisar-mcp 橋接。
安裝前請注意
runner 以服務使用者的系統權限執行獲准動作,且不進行行程隔離,因此獲准的破壞性動作會造成實際影響。應同時審查動作定義、套件信任、政策與主機權限。僅限預備環境的 shell 套件屬重大風險、預設拒絕的緊急例外,不應安裝在正式 runner 上。輸出在離開主機前會去識別化,但仍需審查各動作可讀取的內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 emisar,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.emisar%2Femisar/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "emisar": {
      "type": "http",
      "url": "https://emisar.dev/api/mcp/rpc"
    }
  }
}

README

emisar

Leave the agent working. Keep production authority bounded.

emisar gives AI agents remote access to infrastructure through CLI or MCP. You choose the actions they can use. Your policy decides what runs automatically, what needs approval, and what is denied. A small runner connects out from each host and checks every request before running it. Agents call these actions without receiving a general production shell.

Start with the public pack catalog and let emisar suggest the packs that match a host. Add your own actions without adding another MCP server to every client.

Start with one host

You need an emisar account, a Linux host with systemd, and sudo. GitHub CLI with gh attestation verify --bundle checks the release signature. Without GitHub CLI, the installer asks before it continues with only the checksum. With --yes, it warns and continues. Allow outbound HTTPS to emisar.dev:443, registry.emisar.dev:443, tuf-repo-cdn.sigstore.dev:443, and tuf-repo.github.com:443. The last two serve the public trust roots used to authenticate release checksums. No GitHub login is required.

GitHub is the optional release fallback. If you want that fallback, also allow api.github.com:443, github.com:443, and release-assets.githubusercontent.com:443.

  1. In the console, choose Connect a runner. Copy the generated command; it contains a fresh, single-use enrollment key.

  2. Run it on the host:

    sh
    curl -fsSL https://emisar.dev/install.sh \  | sudo EMISAR_ENROLLMENT_KEY=emkey-enroll-... bash

    The installer authenticates the signed release checksum and verifies the archive against it. It then creates the service, installs host-matched starter packs, and starts the runner.

  3. Confirm the runner is online in the console, then dispatch linux.uptime with a reason. You are done when the output appears and the run is present in the audit trail.

  4. Open AI agents and connect your client. Remote MCP clients use OAuth; local stdio clients can use the emisar-mcp bridge and its browser approval flow. Agents that work in a terminal can also call tools directly with the emisar-mcp CLI.

The complete walkthrough, including expected output and troubleshooting, is at emisar.dev/docs/quickstart. An agent can perform and certify the setup with the public install-emisar skill.

How an action runs

text
AI client    |  CLI or MCP: discover actions, request one with typed arguments    vemisar control plane    |  authenticate, scope, apply policy, wait for approval when required    voutbound-only runner    |  verify pack hash, validate arguments, enforce local limits    vdeclared host command       stream redacted output, journal the attempt, update fleet audit

The action pack defines the contract: the executable, argv shape, argument schema, risk, timeout, output limits, redaction, and side-effect description. The model selects from that contract; it does not invent a command line for the runner to execute.

Adding a pack adds capabilities behind the same MCP surface. Operators do not need to deploy another tool server or reconfigure every agent when the catalog changes.

What holds the boundary

  • The runner opens an outbound TLS WebSocket and exposes no inbound listener. Commands return through that established connection.
  • Cloud input is limited to declared actions and typed, schema-bounded arguments. The runner rejects unknown actions and arguments.
  • Packs are content-addressed: a hash of their contents identifies them. The control plane pins the trusted pack hash, and the runner recomputes it from disk before execution. New or changed custom packs wait for trust.
  • The control plane evaluates runner scope, risk policy, action overrides, standing grants, and conditional approval before dispatch.
  • On the host, the runner clamps execution options to the pack's limits and runs the declared binary and argv. The runner redacts output before it leaves the host, and Emisar keeps the redacted output in run history.
  • The control-plane audit includes denied and pending requests. Every runner also writes its execution attempts and local refusals to a hash-chained JSONL journal.
  • A runner can optionally require bridge-attested dispatch: intent signed by the customer-authorized MCP bridge with an Ed25519 or ECDSA P-256 leaf key. The control plane then cannot invent or widen a permitted call.

Read the exact guarantees, limitations, and threat model in .agent/kb/specs/security-model.md.

How emisar fits into your stack

Use declared actions for agent access and SSH for interactive administration. Run the agent in a sandbox such as co:op, grant the runner the OS permissions its actions need, and ship lasting configuration changes through your deployment workflow.

The runner executes permitted actions with its service user's OS permissions; it does not isolate those processes. Permitted destructive actions still have real effects. Review action definitions, pack trust, policy, runner settings, and host permissions together when deciding what the agent may do.

The staging-only shell pack is the explicit break-glass (emergency-only) exception to the declared-action model. It is critical-risk, default-denied, never suggested, and should not be installed on production runners.

Find the right surface

GoalStart here
Install, upgrade, harden, or diagnose a hostrunner/README.md
Connect Claude, ChatGPT, Cursor, Codex, or another MCP clientConnect a CLI agent
Inspect or develop the stdio bridgemcp/README.md
Browse, install, or author action packspacks/README.md
Let an agent install emisar, connect a client, or author a packskills/README.md
Review architecture and trust boundaries.agent/kb/architecture.md
Review protocol contracts.agent/kb/specs/wire-protocol.md and .agent/kb/specs/mcp-api.md
Contribute to the control planeportal/README.md
Review the production GCP infrastructureinfra/README.md

Repository layout

text
portal/   Elixir/Phoenix control plane, operator console, website, and MCP APIrunner/   Go host runner and operator CLImcp/      Go stdio-to-HTTP MCP bridgepacks/    Versioned action-pack catalogskills/   Standalone customer skills for coding agentsinfra/    Production Terraform for emisar on Google Cloudrun       Root contributor command for development, tests, gates, and operationsdev/      Development Compose topologies, images, configs, and fixturestools/    Go implementations behind the contributor command and CIdist/     Tracked distribution packages plus ignored generated build output.agent/kb/ Repository architecture, specifications, runbooks, and rules

Each top-level project has its own AGENTS.md with its architecture, security rules, and verification gate. Run ./run help for the complete list of contributor commands.

Develop locally

The recommended path needs only Coop and Docker on the host. It installs every tool version the repository pins in the isolated project image:

sh
./run bootstrap             # works before Go is installedcoop build                  # build the pinned project image oncecoop run -- ./run setup     # sidecars, deps, migrations, browser toolingcoop shell                  # enter the development box

Then, inside the shell:

sh
./run seed        # explicit, idempotent demo data./run serve       # live reload at the URL printed by Coop# or: ./run serve --iex

For native development, install the exact versions in .tool-versions with asdf. You also need Git, Coop, Docker, the PostgreSQL client, ShellCheck, jq, GNU Bash (with read -N), GNU coreutils, Chrome/Chromium, and ImageMagick. On macOS, Apple's bundled Bash and BSD utilities cannot run all pack regression checks:

sh
brew install bash coreutils jqexport PATH="$(brew --prefix coreutils)/libexec/gnubin:$(brew --prefix bash)/bin:$PATH"

./run setup checks all prerequisites before starting services; ./run doctor reports every detected version and any mismatch to fix. On macOS, run ./run certs trust once for this workspace after setup.

The fast loop runs Phoenix in the current environment and keeps only PostgreSQL and Keycloak in the workspace-isolated Coop dependency stack.

./run urls prints this workspace's distinct Portal, metrics, Postgres, and Keycloak URLs. Coop forks inherit the same setup but receive different ports and volumes. Setup, serve, and reset never apply seeds unless you ask for them.

Use ./run status for a read-only view of the current workspace, ./run logs [db|keycloak] for its exact sidecar logs, and ./run psql for its development database. Every canonical gate (./run gate <project>) prints its current phase and elapsed time; a failure names the phase that stopped it.

The root docker-compose.yml remains the slower packaged topology with the release Portal image, seeded demo data, three runners, MCP, and signing. Start it with ./run smoke; it serves http://localhost:4010. See portal/README.md and dev/README.md.

License

This repository is dual-licensed:

  • runner/, mcp/, packs/, skills/, and dist/cursor-plugin/ are open source under the Apache License 2.0; the skills and the Cursor plugin carry their own copy (skills, plugin). You can inspect, build, package, and operate the on-host components independently.
  • Everything else, including portal/, is source-available under the Business Source License 1.1. Non-production use is free. Production use is permitted only as needed to operate the Apache-licensed components or the hosted service under the Additional Use Grant. Other production use requires a commercial license. Each version converts to Apache 2.0 on its Change Date.

See contributing, security, and the CLA. For commercial licensing, contact [email protected].

來源:README.md,提交 6b81554

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

11
  1. v0.60.0最新Nov 19, 2026
  2. v0.59.0Nov 11, 2026
  3. v0.58.0Nov 8, 2026
  4. v0.57.0Nov 7, 2026
  5. v0.56.0Nov 3, 2026
  6. v0.55.0Oct 30, 2026
  7. v0.53.0Oct 11, 2026
  8. v0.52.0Oct 9, 2026
  9. v0.51.0Oct 7, 2026
  10. v0.50.0Sep 25, 2026
  11. v0.49.0Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。