@buoy-gg/mcp

中文文档
7.0.87发布于 2026/11/07TypeScriptESM + CJS近 30 天下载 4769

MCP server for Buoy. Lets AI coding tools read and drive your running app (free account for the basic tools, Pro for the rest), and use the web in Chrome with Buoy Web (free, no account).

原始使用文档
文档目录8 节
  1. Install
  2. Buoy Web
  3. Read screens
  4. Do more in one call
  5. Many sims at once
  6. Many Chromes at once
  7. Native Profiler
  8. Memory checks

@buoy-gg/mcp

Connect an MCP client to supported Buoy tools in a running app. Read captured state, invoke tool actions, and run configured benchmarks.

MCP guide  ·  buoy.gg  ·  All tools

npm version npm downloads

Watch the buoy-optimize film on buoy.gg

Install

Sign in first. Run this in your app's folder:

npx --package=@buoy-gg/core buoy login

Your browser opens buoy.gg. Click Allow. This signs in your computer. The MCP uses that sign-in, so it needs no key. As a backup, it reads a key from the env files in the folder it runs in.

Then set up the MCP:

npx -y @buoy-gg/mcp@latest init

Run it from your app's directory. It registers a buoy server in your MCP configs and adds the buoy-optimize skill. Your React Native app also needs @buoy-gg/external-sync. A free account gets the basic tools and Buoy Optimize, and Pro adds the full MCP. Restart your editor, open your app, and start with list_devices.

The MCP guide covers setup, what it captures and its limits. New to Buoy? Start with the Quick start.

Buoy Web

Let your AI use the web in its own Chrome tabs. It's free and needs no account.

npx -y @buoy-gg/mcp@latest init --web

This adds a buoy-web server for all your projects. Then add the Buoy Web Chrome extension and restart your editor. It only uses tabs it opened, and it never types passwords or card numbers. See the Buoy Web guide.

Read screens

Use native_inspect to read a point without a tap. Pass pointX and pointY in iOS Sim points. Other hosts use pixels. On a real iPhone, this reads the app view. The x and y fields still use screen fractions.

Use screenshot_component with compareTo to view a saved PNG next to the live screen. The saved file comes first. Use a full path, or start at the project root. The saved file stays as it is.

Do more in one call

run_flow can tap, type and swipe in one call. A swipe step with untilEnd: true goes to the end of a list. Pass real: true to make each tap a real touch. screen_recording can take steps. It records them, then stops and saves.

Many sims at once

The sim_farm_* tools run many slim iOS sims and Android phones on one Mac. They make Buoy Optimize faster. Ask your agent:

Use buoy optimize and the sim farm on our slow feed screen.

The agent finds as many ideas as it can and tests them all. Each idea gets its own sim. The agent checks how each one looks and how much memory it uses. Each app acts like a real phone (an iPhone SE, or a 3 GB Android phone), so an idea that uses too much memory is out. Then the best ideas are timed on one quiet sim. You can run the farm yourself too:

npx -y @buoy-gg/mcp@latest farm status
npx -y @buoy-gg/mcp@latest farm phone use off

See the Sim Farm guide.

Many Chromes at once

The chrome_farm_* tools run many slim Chromes on one computer. Each one runs your web app with its own storage and its own debugging address. Your tests and your agent can drive them all at once:

npx -y @buoy-gg/mcp@latest farm chrome up 8 --url http://localhost:3000
npx -y @buoy-gg/mcp@latest farm chrome run 8 --url http://localhost:3000 -- node my-test.mjs

See the Chrome Farm guide.


Part of Buoy, developer tools that live inside your app. Proprietary software. © Buoy LLC. Terms

Native Profiler

Use native_profile to start, stop, or take a timed iOS Simulator or Android trace. Use get_native_profile to read it by ID. Start a trace, run a flow, then stop in a finally step. Needs a Buoy Pro app. iOS needs Xcode on macOS. Android needs adb on Mac or Linux. The report shows hot functions, hot threads, and busy spans. Each span names its source. RSS and frame counts stay unknown when absent. Under 30 frames means too few to judge. Samples cannot find sleeping hangs. Read the guide.

Memory checks

memory_check starts or stops a route loop. get_memory_leaks reads its report. Checks need Pro and a native dev build with @buoy-gg/memory-leaks. Clock is optional for timer counts. Routes needs a mounted RouteTracker for loops.

Start returns a runId. Poll for results. The report shows suspects, GC proof and byte growth. A suspect is a clue. An empty list without GC proof does not prove clean. See the Memory Leaks guide.

版本与发布记录

@buoy-gg/mcp 共发布 92 个版本,首次发布于 2026/06/30;过去 12 个月发布了 92 个版本。

版本发布日期距今
7.0.87latest2026/11/071 天前
7.0.862026/11/062 天前
7.0.852026/11/053 天前
7.0.842026/11/035 天前
7.0.832026/11/035 天前
7.0.822026/11/036 天前

关于 @buoy-gg/mcp 的常见问题

@buoy-gg/mcp 是什么?

MCP server for Buoy. Lets AI coding tools read and drive your running app (free account for the basic tools, Pro for the rest), and use the web in Chrome with Buoy Web (free, no account).

如何安装 @buoy-gg/mcp?

在项目目录运行 npm install @buoy-gg/mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 buoy-mcp,可以用 npx buoy-mcp 直接运行。

@buoy-gg/mcp 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@buoy-gg/mcp 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@buoy-gg/mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@buoy-gg/mcp 可以商用吗?

@buoy-gg/mcp 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@buoy-gg/mcp 的下载量有多少?

根据 npm 官方下载统计,@buoy-gg/mcp 在 2026/10/09 – 2026/11/07 这 30 天内被下载 4,769 次,日均约 159 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@buoy-gg/mcp 还在维护吗?

最新版本 7.0.87 发布于 2026/11/07(1 天前);至今共发布 92 个版本,其中过去 12 个月发布了 92 个;首次发布于 2026/06/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。