About WorldBase
WorldBase is an MCP server published by RZfive in the Science category: local-first AI agent platform: generate, run & manage full web apps from natural language. Desktop / Mobile / CLI, one Rust core. Conduid read 16 tools from its source: ask_user, discover_local_agents, fill_current_page_form, handoff_room_task, interact_current_page, invite_local_agent and 10 more. No package is published for it, so it installs from a source checkout.
The repository has 143 stars and 17 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v1.7.4 (18 Nov 2026): 应用能力平台(🧩 实验):Rust 侧统一应用目录,Agent 用常驻的 search_tools 按任务发现能力,只把命中的能力 schema 注入当前运行;每次运行下发能力 token,调用前校验 schema、授权范围与数据范围,工具名统一为 app{app}{capability}。内置文档、项目、数据、宿主四个第一方应用,托管… It follows v1.7.2 (29 Oct 2026), and the 5 most recent releases go back to v1.6.9 (14 Oct 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include ai-app-generator, ai-coding-assistant, cross-platform, desktop-app, electron and flutter.
Install
git clone https://github.com/RZfive/WorldBaseTools (16)
ask_userAsk the user one or more clarification questions when you are blocked on a decision the user must make (the request is genuinely ambiguous, you cannot pick a sensible default, or proceeding without their answer would force a costly rewrite). BUNDLE every pending question into a single ask_user call — never ask one at a time when more are coming. For each question, propose 2-4 mutually exclusive option strings; the renderer adds an "其他 (自定义)" free-text fallback automatically. Do NOT use this tool when a sensible default exists, or when the answer is obvious from context, or merely to confirm something — pick the obvious choice and proceed instead. For plan or PRD approval, first open the full plan as an in-memory document workspace tab when `open_workspace_tab` is available (title + markdown), then ask one approval question here; otherwise present the plan in chat first. Never ask for approval while the plan is not visible. Returns `{ answers: [{ question, answer }] }` where `answer` is either the option string the user chose or the free text they typed.| Parameter | Type | Description |
|---|---|---|
| questions * | array | List of clarification questions to ask the user, all surfaced together in one panel. 1-4 questions; combine related concerns rather than splitting them into multiple calls. |
discover_local_agentsList supported coding CLI agents installed on this computer and available to invite to the current room.fill_current_page_formBatch-fill form fields on the active in-app browser/project page. Provide an array of field entries with selectors or refs from read_current_page and the text to enter. This is the built-in replacement for chrome/playwright browser MCP form helpers and a convenience wrapper around interact_current_page action=batch_input.| Parameter | Type | Description |
|---|---|---|
| fields * | array | Array of {selector|ref, text, append?} objects. |
| tab_id | any |
handoff_room_taskProactively @mention another room member and assign a specific piece of work, review, verification, or decision. Use this instead of asking the user to relay a request or @ the member. Treat the user message as the overall goal: complete your own contribution and split the recipient’s specific part; never forward or lightly paraphrase the user’s original request. The recipient already receives its own name, role, persona, and style from the runtime: the task must contain only the concrete assignment and useful context/evidence, never role-play, identity, greeting, tone, formatting, or self-introduction instructions. The task is shown as your direct @member message. Queue all needed handoffs, then end the current turn immediately because recipients start only after this turn. The runtime later returns the recipient’s result as a visible @reply event and reawakens you in a new round; do not wait or poll for replies.| Parameter | Type | Description |
|---|---|---|
| agentId * | string | Stable room member ID or @ followed by the exact member name. Do not use @all. |
| task * | string | The recipient’s specific responsibility, relevant context/evidence and real deliverable. Do not copy the user request verbatim; do not restate the recipient role or ask for a greeting/self-introduction. |
interact_current_pageOperate the active in-app browser/project page. Actions: click, input, select, batch_input, extract, evaluate, hover, focus, press_key (real keyboard), scroll, wait, wait_for, find (semantic element lookup), navigate, reload, back, forward, resize (viewport), emulate (print/screen media, prefers-color-scheme, prefers-reduced-motion, user agent, mobile viewport/device scale), batch (multiple actions in one round trip). For wait_for, selector/ref/text are evaluated in the current document, while state/url wait across navigations; text accepts a string or an array of strings and matches when ANY value is present. Set include_snapshot=false to skip the post-action interactive page snapshot and save tokens. Use timeout or timeout_ms to bound wait/wait_for/navigate/reload/back/forward/evaluate. Action "emulate" is the built-in replacement for chrome-devtools-mcp "emulate". These built-in page tools replace chrome/playwright browser MCP for navigation, screenshots, console/network reads, viewport resizing/emulation, DOM inspection, and script evaluation; use external browser MCP only for capabilities the built-in surface lacks (CDP-level network interception, performance tracing, or CI browser matrices). Use selectors or stable refs from read_current_page.| Parameter | Type | Description |
|---|---|---|
| action * | any | |
| actions | array | Required for batch. Array of action objects, each with an "action" field and its own parameters. |
| append | boolean | For input/batch_input: append text instead of replacing the current value. |
| color_scheme | string | For emulate: emulate prefers-color-scheme. |
| device_scale_factor | number | For emulate: device pixel ratio from 0.5 to 4 (default 1 when a viewport is supplied). |
| fields | array | Required for batch_input. Array of {selector|ref, text, append?} objects. |
| height | integer | For resize/emulate: viewport height in CSS pixels. emulate accepts 320-4096; a missing dimension keeps the current viewport size. |
| ignore_cache | boolean | For reload: bypass the HTTP cache. |
| include_snapshot | boolean | Default true. Set false to skip the post-action interactive page snapshot and save tokens; action_result is still returned. |
| index | integer | For select: the zero-based index of the option to select. |
| key | string | Required for press_key. Key name (e.g. "Enter", "Tab", "ArrowLeft", "a"). |
| label | string | For select: the visible text label of the option to select. |
| left | number | Optional horizontal scroll offset in pixels for scroll. |
| limit | integer | For find: maximum matches to return (default 20, max 50). |
| max_chars | integer | For extract: maximum characters to return per page. Default 60000. |
| media | string | For emulate: emulated CSS media type. Use "print" to verify print styles. |
| mobile | boolean | For emulate: mobile viewport flag. |
| modifiers | array | Optional key modifiers for press_key. |
| name | string | For find: accessible-name substring filter. |
| offset | integer | For extract: zero-based character offset to start reading from. |
| reduced_motion | string | For emulate: emulate prefers-reduced-motion. |
| reset | boolean | For resize/emulate: reset the agent viewport and page emulation back to the panel defaults. |
| role | string | For find: accessible role filter (button, link, textbox, checkbox, ...). |
| script | string | For evaluate: JavaScript expression, async function, or statements to run in the page. Async and top-level await are supported; the result is serialized. |
| state | string | For wait_for: document load state to wait for. |
| tab_id | any | |
| text | any | For input: text to type into the target field (required, string). For wait_for: a string or an array of strings; the wait succeeds when ANY value is present. |
| timeout | integer | Alias for timeout_ms on wait/wait_for/navigate/reload/back/forward/evaluate. |
| timeout_ms | integer | For wait/wait_for/navigate/reload/back/forward/evaluate: timeout in milliseconds. Alias: timeout. |
| top | number | Required for scroll. Vertical scroll offset in pixels. |
| url | string | For navigate: target URL. For wait_for: URL substring to wait for. |
| user_agent | string | For emulate: override the page user agent. Must be non-empty. |
| value | string | For select: the option value to select. |
| width | integer | For resize/emulate: viewport width in CSS pixels. emulate accepts 320-4096; a missing dimension keeps the current viewport size. |
invite_local_agentCreate an independent room Worker from an installed CLI and queue its specific task. The same CLI can run several Workers with separate roles and sessions.| Parameter | Type | Description |
|---|---|---|
| agentId * | string | Stable ID returned by discover_local_agents. |
| exitAfterTask | boolean | Leave the room after reporting a successful result. Defaults to true for a delegated Worker. |
| instructions | string | Optional role-specific boundaries. |
| role | string | Short role such as UI reviewer or test author. |
| task * | string | Concrete task, relevant handoff context and expected evidence. Do not include identity, role-play or greeting instructions. |
manage_workspace_tabsList, switch to, or close tabs in the user's right-side workspace panel. Switching tabs retargets your UI tools: after activating a terminal tab, read_active_terminal / write_active_terminal operate on that terminal; after activating a browser or project tab, read_current_page / interact_current_page operate on that page (pass its id as tab_id when several pages are open). Actions: "list" returns every open tab with id, kind, title and its url/cwd/file_path/project_id; "activate" focuses an existing tab (by tab_id from a previous list, or by kind plus url/cwd/file_path) and reveals the panel — use it to show a terminal or web page to the user, or to retarget your terminal/page tools; it never creates tabs (use open_workspace_tab for that); "close" closes one tab (closing the last tab hides the panel, and closing a terminal tab kills its session).| Parameter | Type | Description |
|---|---|---|
| action * | string | What to do with the workspace tabs. |
| cwd | string | terminal only: match an existing terminal tab by working directory. |
| file_path | string | document only: match an existing document tab by file path. |
| kind | string | Tab kind filter; with url/cwd/file_path it locates one specific tab, without them it targets the first tab of that kind. |
| tab_id | string | Exact tab id from a previous "list" result. Wins over kind/matchers. |
| url | string | browser only: match an existing tab by URL (same rule as open dedupe). |
mcp_get_prompt获取 MCP 服务器上的提示模板展开结果。| Parameter | Type | Description |
|---|---|---|
| arguments | object | 提示模板参数键值对。 |
| name * | string | 提示模板名称。 |
| server_id * | string | MCP 服务器 ID。 |
mcp_list_prompts列出一个或全部 MCP 服务器提供的提示模板。| Parameter | Type | Description |
|---|---|---|
| server_id | string | 可选。指定要查看的 MCP 服务器 ID。 |
mcp_list_resources列出一个或全部 MCP 服务器提供的资源。| Parameter | Type | Description |
|---|---|---|
| server_id | string | 可选。指定要查看的 MCP 服务器 ID。 |
mcp_list_servers列出当前配置的 MCP 服务器及其连接状态、能力和已发现的工具数量。mcp_read_resource读取 MCP 服务器上的资源内容。| Parameter | Type | Description |
|---|---|---|
| server_id * | string | MCP 服务器 ID。 |
| uri * | string | 资源 URI。 |
open_project_appAsk WorldBase shell to open an existing project in the managed app UI. Prefer this over launching an unmanaged preview server yourself.| Parameter | Type | Description |
|---|---|---|
| mode | string | How the shell should open the project. Use embed by default; use window only when the user explicitly wants a standalone window. |
| project_id * | string | Project ID |
open_workspace_tabOpen a tab in the user's right-side workspace panel next to the chat. Use kind "folder" with root_path to bind a code directory; kind "document" with file_path to open one document (PDF/Excel/Word/...), or with title and markdown to open an in-memory Markdown document (use this for long PRDs and plans; it is never written to disk); kind "browser" with url to open a web page the user can watch and you can operate with the page tools (read_current_page / interact_current_page, including screenshots, diagnostics, navigation and viewport resize); kind "terminal" to open a shell terminal you can operate with read_active_terminal / write_active_terminal; kind "project" with project_id to open one of the user's developed apps (you can operate its UI with the page tools). The panel stays visible after the reply finishes.| Parameter | Type | Description |
|---|---|---|
| active_file_path | string | Optional: file path (relative to root_path for folder tabs) to select after opening. |
| file_path | string | document only: absolute path of the document file to open as its own tab. Reopening a bound path just focuses its tab. |
| kind * | string | Which workspace tab to open. |
| markdown | string | document only: full Markdown body for an in-memory document tab. Use this for PRDs, plans, and long proposals; it is never written to disk. |
| project_id | string | project only: id of one of the user's developed apps (from list_projects). Its UI opens in the workspace panel. |
| root_path | string | folder only: absolute directory path to bind as the code workspace root. Omit to let the user pick a folder interactively. |
| title | string | document only: title for an in-memory AI-authored Markdown document. |
| url | string | browser only: URL to load in the embedded browser tab. |
read_current_pageInspect the active in-app browser/project page. Modes: "interactive" (default) returns title, URL, readable text, interactive elements with stable refs/selectors, and form fields; "article" returns readability-style primary content as markdown; "search_results" extracts result titles/URLs/snippets from a search engine page; "screenshot" returns a current viewport (or full-page) image for visual verification and accepts timeout/timeout_ms for long captures; "diagnostics" returns console output, uncaught errors, recent fetch/XHR/resource activity, viewport and history state. These built-in page tools replace chrome/playwright browser MCP for navigation, screenshots, console/network reads, viewport changes, DOM inspection, and script evaluation; use external browser MCP only for capabilities the built-in surface lacks (CDP-level network interception, performance tracing, or CI browser matrices). When web_search/web_fetch reports access "blocked"/"degraded", open the page with open_workspace_tab(kind="browser") and read it here with mode "article".| Parameter | Type | Description |
|---|---|---|
| clear_diagnostics | boolean | diagnostics only: clear the buffered console/error/network entries after returning the current snapshot. |
| format | string | screenshot only: image format. Default png. |
| full_page | boolean | screenshot only: capture the full scrollable page instead of the visible viewport. |
| max_chars | integer | Maximum characters from the live page text preview to return (interactive mode). Default ${DEFAULT_MAX_CHARS}, maximum ${MAX_TEXT_CHARS}. |
| max_width | integer | screenshot only: maximum image width in pixels (default 1280, max 4096). |
| mode | string | interactive (default): DOM snapshot with refs and form selectors. article: readable primary-content text. search_results: title/URL/snippet list from the current search page. screenshot: image of the page for visual design verification. diagnostics: console/errors/network/viewport state. |
| quality | integer | screenshot only: JPEG quality 10-100 (default 80). |
| tab_id | any | |
| timeout | integer | screenshot only: alias for timeout_ms. |
| timeout_ms | integer | screenshot only: capture timeout in milliseconds. The page surface clamps it to its supported screenshot budget. |
save_current_page_as_documentSave the full text of the active in-app browser/project page as a document artifact. Long pages are extracted in chunks; if a safety cap is reached the result includes truncated/expected length metadata plus guidance for reading the remainder. Returns an artifact_id that can be read with read_document in chunks, searched, and revisited later. Useful for long pages or when the model needs to search or repeatedly reference the page content. Prefer this built-in tool over external browser MCP when you need a durable, searchable copy of page content.| Parameter | Type | Description |
|---|---|---|
| file_name | string | Optional display name for the saved document. Defaults to "current-page". |
| ref | string | Optional stable ref from read_current_page to extract only that element. |
| selector | string | Optional CSS selector to extract only a portion of the page. Defaults to the full page body. |
| tab_id | any |
Security checks
- ✓README presentThe repository's README runs to about 503 words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 365 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 503 words, fetched 12 days ago. The original in the repository is authoritative.
Read full README