
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.
概览
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 桥接。
安装
在 SourceWeft 中
- 打开 控制台中的 emisar,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
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.
-
In the console, choose Connect a runner. Copy the generated command; it contains a fresh, single-use enrollment key.
-
Run it on the host:
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.
-
Confirm the runner is online in the console, then dispatch
linux.uptimewith a reason. You are done when the output appears and the run is present in the audit trail. -
Open AI agents and connect your client. Remote MCP clients use OAuth; local stdio clients can use the
emisar-mcpbridge 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
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
Repository layout
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:
Then, inside the shell:
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:
./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/, anddist/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版本历史
11- v0.60.0最新Nov 19, 2026
- v0.59.0Nov 11, 2026
- v0.58.0Nov 8, 2026
- v0.57.0Nov 7, 2026
- v0.56.0Nov 3, 2026
- v0.55.0Oct 30, 2026
- v0.53.0Oct 11, 2026
- v0.52.0Oct 9, 2026
- v0.51.0Oct 7, 2026
- v0.50.0Sep 25, 2026
- v0.49.0Sep 16, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。