Yaver

io.github.yaver-io由 GitHub 账号 yaver-io 发布v1.99.478更新于 Oct 24, 2026

Phone-first OpenCode MCP for trusted devices: run, build, deploy, and manage endpoint-local tools.

概览

AI 生成的概览

Yaver 是一个本地 MCP 服务器,让编码助手直接驱动你自己的开发机,运行、构建、预览和部署本机工具与应用。

可以做什么
为 Claude Code、Codex、opencode 等编码助手完成 Yaver 的安装与注册,包括懒加载设置调用和无头认证流程。把 Yaver SDK 集成到现有 Expo 应用,安装依赖、挂载应用内界面并验证项目。为 Yaver 生成的 Expo 与 Convex 起始项目加入有成本上限的 OpenRouter 接入,同时让 API 密钥保留在服务端。驱动本机的终端编码助手,并把任务、构建和重载进度推送到手机或网页仪表盘等已配对端。把 React Native / Expo 包推送到已配对设备,并收集截图、日志和回放反馈。
适用场景
当你希望编码助手在你自己的硬件上针对真实代码仓库工作,并把构建预览或推送到已配对手机或仪表盘时使用。适合已经在用终端编码助手、想从其他设备远程控制和预览的开发者。
运行要求
通过 npx 从 yaver-cli npm 包以本地进程运行;仅支持 npm 安装方式,平台为 macOS、Linux 或经 WSL2 的 Windows,并会下载签名的助手二进制文件。需要登录 Yaver 账号,并配对端应用或网页仪表盘。可选环境变量 YAVER_HEADLESS 设为 1 时改用设备码 OAuth 而不打开浏览器。编码助手自带登录或订阅。
安装前请注意
需要登录和配对,客户端应用目前通过托管的协调服务完成身份与设备发现。免费共享中继有公平使用限制,Relay Pro 是可选付费方案。助手可以执行构建、向设备推送包并从你的机器部署,请留意交给它的任务。部署脚本会涉及 Convex、Cloudflare、App Store Connect、Play Console、npm 和 MCP 注册表的凭据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Yaver,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Yaver — an open-source, self-hostable MCP server. Your coding agent builds a full-stack app on your own machine, it hot-reloads on your real phone, and you keep fixing it from inside the running app.]

[Tests] [yaver-cli on npm] [License: FSL-1.1-Apache-2.0]

[Demo: a task sent from a phone runs on the desktop agent and the app reloads live on the device]

Watch the full demo →

What Yaver is

AI writes the code in seconds. The loop around it — build, install, reproduce, describe what's wrong, get back to the agent — still takes hours. Yaver closes that loop.

The yaver agent runs on hardware you already own: a Mac, a Linux box, a WSL machine, a Pi, or a VPS. Your coding agent works there, against your real repo. Every other surface — phone, watch, TV, car, AR/VR, browser — is a remote control and a preview target for that one machine.

It runs on the AI subscription you already pay for — no token markup, and your code never leaves your machine.

iOS and Android are the deepest path today. Watch, TV, car, and AR/VR surfaces live in this repo and share the same core.

Quick start

bash
npm install -g yaver-cliyaver authyaver serve

On a headless box (Pi, VPS, SSH-only), yaver auth --headless prints a short code and a URL you can open from any browser.

npm is the only supported install path, on macOS (Apple Silicon + Intel), Linux (x64 + arm64), and Windows via WSL2. It downloads a signed, notarized agent binary for your platform.

Then grab the app and pair it with that machine:

[Download Yaver on the App Store] [Get Yaver on Google Play]

Open Yaver, pick a project from your dev box, preview it on your phone, shake to vibe-code — fix a bug, ship a small feature, or tweak a style — and a fresh bundle lands in seconds. One screen, real device, no extra hardware.

Install or use it from your coding agent

Install the CLI directly, or register Yaver as an MCP server so Claude Code, Codex, or opencode can drive your machine from chat. MCP does not need a global install first — npx pulls the server on first run.

bash
# direct CLInpm install -g yaver-cliyaver auth
# or as MCP# Claude Codeclaude mcp add --scope user yaver -- npx -y yaver-cli yaver-mcp
# Codexcodex mcp add yaver -- npx -y yaver-cli yaver-mcp
# opencodenpx -y -p yaver-cli yaver mcp setup opencode
# then, in the agent chat:call yaver_lazy_setup

To add Yaver to an existing Expo app, give the agent the app directory and ask it to call yaver_sdk_integrate. The direct deterministic equivalent is:

bash
npx -y yaver-cli integrate --dir /path/to/app --framework expo --verify quick

This installs compatible dependencies, mounts the in-app Yaver surface, wires the Expo plugin, and verifies the project. It does not choose a bundle ID, configure your app's own authentication, deploy, or publish anything.

For a Yaver-generated Expo + Convex starter that needs AI, the agent can then call yaver_openrouter_integrate at the monorepo root. It adds an authenticated, cost-bounded HTTP/SSE seam and React Native stream helper while keeping the OpenRouter key server-side—no polling and no database write per token.

Already installed globally? yaver mcp setup claude-code (or codex / opencode) writes the same entry, and yaver auth auto-registers every installed runner on first sign-in. Yaver is published to the official MCP registry as io.github.yaver-io/yaver. Codex Desktop can also load the repo-local plugin in plugins/yaver.

Full tool list and HTTP/remote setup: MCP guide.

How it works

[The yaver agent runs on your own machine and holds your repo, tasks, vault and builds. Surfaces connect directly over a LAN beacon and QUIC, falling back to Yaver Relay. A thin hosted plane carries identity and device discovery only.]

  1. Start yaver serve on your own machine.
  2. Pair a surface — the mobile app, the web dashboard, or another Yaver client.
  3. Send a task to your coding agent from whichever surface is nearest.
  4. Watch terminal, build, and reload progress stream back live.
  5. Push the fix to a real device, or deploy from your own machine when it's ready.

The CLI, agent, relay, and backend are all self-hostable. Client apps currently reach you through a thin hosted coordination plane for identity and device discovery; full client self-host is on the way.

For remote access, Yaver Relay is the default path. The free shared relay is for light personal use and has fair limits; the relay implementation is open source if you want to run your own. Relay Pro is the optional $9/month managed lane with higher account-wide transfer limits. It connects to the machine or VPS you already control; it does not include hosted compute or an AI subscription.

What works today

  • Drive Claude Code, Codex, OpenCode, Aider, Goose, or another terminal agent from the Yaver agent.
  • Push React Native / Expo bundles to a paired phone through the native Hermes path.
  • Capture dev-build feedback with screenshots, logs, and replay context.
  • Stream task, build, and reload progress to mobile or the web dashboard.
  • Keep peer discovery, relay, and vault flows local-first.
  • Build against SDKs and examples for React Native, Flutter, web, Unity, Go, Python, and JS/TS.

What it costs

A solo developer can start with the open-source stack at $0.

ComponentRuns onCost
Yaver CLI + agentYour dev machine$0
Yaver surface appsiOS / Android / watch / TV / car / AR/VR$0
Web dashboardBrowser$0
Backend on your own machineYour Mac / Linux / WSL / VPS$0 + your hardware
Yaver shared relayYaver-hosted, fair-use limited$0
Relay ProManaged account-private lane on shared relay hosts$9/month
AI models (Ollama)Your GPU or CPU$0

The open-source stack includes the mobile app, CLI, agent, web dashboard, SDKs, and relay implementation. Yaver's shared relay is available with fair limits for getting started. Your coding agent brings its own login or subscription — Yaver never resells tokens.

V1 is focused on your own devices and self-hosted machines. Relay Pro is the only paid launch product; all client surfaces, browser/Hermes lanes, MCP and library integration, and the feedback SDK are included. Yaver does not sell a hosted coding workspace in this release.

Repository map

PathPurpose
desktop/agent/Go agent, CLI surfaces, local API, relay/P2P/runtime integrations
mobile/React Native mobile app and native preview container
watch/, wear/, tvos/Apple Watch, Wear OS, and Apple TV client surfaces
web/Next.js marketing site and dashboard
backend/convex/Hosted identity, session, and device-discovery metadata
relay/QUIC relay service
sdk/Public SDKs and feedback clients
demo/Small fixture apps used to test SDK and push flows
demo-videos/Source notes for the landing/demo clips
docs/Architecture notes, setup guides, audits, handoffs, and planning material

Deploying Yaver

Use exactly one local entrypoint:

bash
./deploy/deploy.sh <target> [options]

Targets are all, backend, cloudflare, ios, android, npm, and mcp with aliases listed by ./deploy/deploy.sh --help. The entrypoint delegates to the maintained vault-aware scripts and yaver deploy commands, but gives humans, agents, and MCP one path so deploys do not drift.

Deploys are owner-only. The script refuses group/other-writable repo or script paths before touching Convex, Cloudflare, App Store Connect, Play Console, npm, or MCP registry credentials.

This repo is the monorepo

Yaver is one monorepo — this one. Agent, CLI, mobile, watch, TV, car, AR/VR, web, relay, backend, and SDKs all live here and ship together. Splitting them would only buy version skew between surfaces that have to agree.

Everything else in the yaver-io org is a validation / use-case app — something whose only job is to exercise Yaver from the outside. Those are separate repos precisely because they must be clonable, buildable, and breakable on their own, exactly as a user's project is. If they lived in here they'd inherit this repo's tooling and stop being an honest test.

The rule: product code goes in this repo; anything that tests the product from outside gets its own repo.

Validation apps

The apps that prove Yaver works live in their own repos, not in this one. They are local-only todo apps — no backend, no accounts, no network — and they are deliberately boring, because they are the control.

The same todo app is built five ways. Yaver reaches each one differently, so when the loop feels different across stacks, it is the transport that differs and not the app:

RepoStackHow Yaver reaches it
yaver-todo-rnExpo / React NativeHermes — the agent compiles an HBC bundle and the container swaps it in place
yaver-todo-ktNative Android (Kotlin)native-webrtc — runs on a build host, H.264 streamed to the phone, taps sent back
yaver-todo-swiftNative iOS (SwiftUI)native-webrtc — same, macOS build host only
yaver-todo-flutterFlutter / Dartnative-webrtc — Dart has no Hermes equivalent
yaver-todo-webNext.jsdev server — HMR through Yaver's relay path

Hermes is React-Native-only: native and Flutter apps compile to real binaries and can never be loaded into the Yaver container. That is why three of the five exist — they are the only honest way to exercise the streaming path.

They are separate repos so they can be cloned, built, and broken without touching this one. Each README states what works and what doesn't per stack, including where a feedback SDK does not exist yet.

Documentation

Docs index · Setup · Contributing · Runtime architecture · Protocol · Feedback SDK · Security · License

If an AI coding agent is setting Yaver up for you, point it at the canonical machine guide first:

bash
curl -s https://yaver.io/llms.txt

Markdown in this repo is context, not source of truth. If a doc and the code disagree, trust the code and fix the doc in the same change.

Development

bash
# Web dashboard / landingcd web && npm install && npm run dev
# Go agent testscd desktop/agent && go test ./...

Run the narrower package tests for the area you change — the repo spans Go, Node, React Native, Swift, Kotlin, Flutter, Unity, and embedded C.

License

The repo uses a split license: the core is FSL-1.1, which auto-converts to Apache-2.0 after two years, and the client SDKs are Apache-2.0 so you can embed them in closed-source apps. See docs/planning/LICENSING.md.

If your legal team needs the core under different terms, a commercial license is available — email [email protected].

来源:README.md,提交 ede164b

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

8
  1. v1.99.478最新Oct 10, 2026
  2. v1.99.477Oct 8, 2026
  3. v1.99.473Oct 4, 2026
  4. v1.99.471Oct 4, 2026
  5. v1.99.470Oct 3, 2026
  6. v1.99.469Sep 20, 2026
  7. v1.99.468Sep 19, 2026
  8. v1.99.467Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。