Rootr

io.github.inspirio-co由 GitHub 帳號 inspirio-co 發布v0.2.1更新於 Nov 2, 2026

Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.

已驗證Streamable HTTP可網頁執行效率與工作流知識與記憶商業與電商

概覽

AI 產生的概覽

Rootr 將助理連接到團隊的 Rootr 知識工作區,讓它能讀取、寫入與搜尋文件、資料庫、試算表、CRM 與議題。

可以做什麼
  • 列出、讀取、搜尋、附加、編輯、寫入、檢視版本、複製與刪除文件,並發布文件、管理留言
  • 建立與管理工作區及範本骨架
  • 操作資料庫與資料列、試算表與儲存格、白板、表單與回覆、簡報與投影片
  • 管理 CRM 公司、聯絡人、商機、活動與任務,以及 LOG 資料存放區和議題追蹤
  • 以自然語言針對工作區知識圖譜提問根因問題並取得引用
  • 管理 Webhook,產生圖片或移除圖片背景
適用情境
適合團隊把文件、結構化資料與組織知識放在 Rootr,並希望助理直接處理這些內容、不必每次對話都貼上脈絡時使用;也適合需要依知識圖譜回答根因問題的情境。
執行需求
可使用 rootr.io 上以 Streamable HTTP 提供的遠端端點,透過 OAuth 登入並選擇工作區;或在 Node 18+ 安裝 rootr-cli npm 套件並以 stdio 方式執行。本機方式需要 Rootr API 金鑰(ROOTR_API_KEY,以 x-api-key 標頭送出)與工作區 ID(ROOTR_WORKSPACE);建立工作區需要帳戶層級金鑰。
安裝前請注意
API 金鑰可存取團隊內容並存放在設定檔中,應視為機密。許多工具會寫入、編輯、發布、刪除或複製內容,rootr_write 會整份取代文件,可能造成破壞。發布與公開分享工具可能讓文件或表單暴露到團隊之外。建立 Webhook 會把工作區事件傳送到外部網址。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "rootr": {
      "type": "http",
      "url": "https://rootr.io/mcp"
    }
  }
}

README

Rootr CLI + MCP Server

Connect your team's living knowledge base to Claude, ChatGPT, and any AI agent.

Rootr is a team knowledge & document workspace. This package is the official way to give an AI agent direct, permissioned access to your team's shared documents, structured data, and institutional knowledge — so your assistant already knows what your team knows, instead of you copy-pasting context into every conversation.

There are two ways to connect.

1. Remote connector — no install (recommended)

Rootr hosts a remote MCP endpoint over Streamable HTTP. In Claude Desktop, claude.ai, or ChatGPT, add a connector with just the URL and sign in with OAuth:

https://rootr.io/mcp

No JSON, no CLI, no tokens to paste. Log in, pick the workspace, and your team's docs are available to the assistant with your existing permissions. See the docs.

2. Local CLI / stdio MCP server (rootr-cli)

For the shell, or for agents that speak to a local stdio MCP server (e.g. Claude Code):

bash
npm install -g rootr-clirootr config --api-key rootr_xxxx --workspace ws_xxxrootr mcp          # start the stdio MCP server

The rootr command also works standalone: ls, read, write, append, edit, search, ask, ws, config.

Pure Node.js ESM, no build step. Requires Node 18+ (uses the built-in fetch).


Install

Run it straight from a clone, or install globally.

bash
npm install -g rootr-clirootr --help
# or from sourcecd cli && npm installnode bin/rootr.js --help

Configuration

Precedence: environment variables > ~/.rootr/config.json

Env varConfig keyDescription
ROOTR_API_KEYapiKeyA rootr_... API key. Sent as the x-api-key header on every request.
ROOTR_WORKSPACEworkspaceWorkspace id
ROOTR_BASE_URLbaseUrlDefaults to https://rootr.io/api/v1

Save to the config file (created with chmod 600):

bash
rootr config --api-key rootr_xxxxxxxxxxxxxxxx --workspace ws_123# optional on-prem / dev base URLrootr config --api-key rootr_xxx --workspace ws_123 --base-url https://dev.rootr.io/api/v1
rootr config          # show current config (api key shown masked)

Two kinds of key

Rootr API keys come in two kinds, and some tools require a specific one:

  • Workspace key — scoped to a single workspace (docs:read / docs:write / graph:read / ask / webhooks:manage). Enough for most document, LOG, issue, webhook, and ask tools.
  • Account key (PAT) — acts across your whole account. With the workspaces:create scope it can create new workspaces (rootr_create_workspace). Using a workspace key for an account-level action returns a 403 with a hint that an account key is required.

CLI usage

Path rule: an argument starting with / is treated as a path (resolved to a node id via the by-path API; needs a workspace set). Otherwise it is treated as a node id.

bash
rootr ls                                   # whole tree  (TYPE<TAB>path)rootr ls /notes                            # subtree
rootr read /notes/todo.md                  # markdown to stdoutrootr read /notes/todo.md --json           # full JSON incl. metadata
echo "# Title" | rootr write /notes/new.md # full replace (creates if missing)rootr write /notes/new.md --file ./local.md
rootr append /notes/log.md "Deployed today"          # safe, conflict-freerootr append /notes/log.md "- one more" --heading "## Todo"
rootr edit /notes/todo.md --find "- [ ] ship" --replace "- [x] ship"
rootr search "deploy runbook"              # path — snippetrootr ws                                   # list workspaces (id<TAB>name)rootr ask "why did latency go up after last week's deploy?"

append never rewrites the whole document, so it is safe to run concurrently. write supports --if-match "\"etag\"" for optimistic concurrency (a 412 means the document changed underneath you — re-read and retry). edit returns 409 if --find is missing or not unique; pass --all to replace every match. ask queries the workspace knowledge graph (GraphRAG) and prints the answer plus citations (document path: quote).

Use as an MCP server

rootr mcp starts a Model Context Protocol server over stdio. It exposes 80+ tools across the full Rootr surface, so an agent can author and query every node type:

GroupTools (examples)
Documentsrootr_list, rootr_read, rootr_append (recommended, conflict-free), rootr_edit, rootr_write, rootr_search, rootr_document_versions, rootr_delete_node, rootr_duplicate_node
Publishing & commentsrootr_publish_document, rootr_set_document_public, rootr_document_public_status, rootr_comment_document, rootr_list_document_comments
Workspaces & scaffoldingrootr_workspaces, rootr_scaffold_plan, rootr_create_workspace, rootr_scaffold_apply
Databases (typed columns + board/table views)rootr_read_database, rootr_add_row, rootr_update_row, rootr_delete_row, rootr_list_rows
Spreadsheets (formulas)rootr_create_spreadsheet, rootr_read_spreadsheet, rootr_update_spreadsheet, rootr_create_sheet, rootr_update_sheet, rootr_delete_sheet, rootr_patch_spreadsheet_cells
Whiteboardsrootr_create_whiteboard, rootr_read_whiteboard, rootr_update_whiteboard
Formsrootr_create_form, rootr_read_form, rootr_update_form, rootr_list_form_responses, rootr_submit_form_response, rootr_create_form_share_link, rootr_list_form_share_links
CRMrootr_crm_* — companies, contacts, deals (kanban), activities, tasks, CSV import
Presentationsrootr_create_presentation, rootr_read_presentation, rootr_update_presentation, rootr_update_presentation_slide, rootr_append_presentation_slides, rootr_reorder_presentation_slides
LOG datastoresrootr_create_log_store, rootr_update_log_fields, rootr_add_log_entries, rootr_query_log_entries, rootr_log_stats
Issuesrootr_create_issue_tracker, rootr_list_issues, rootr_create_issue, rootr_get_issue, rootr_update_issue, rootr_comment_issue
Webhooksrootr_list_webhooks, rootr_create_webhook, rootr_delete_webhook
GraphRAG askrootr_ask — natural-language root-cause Q&A over the knowledge graph, with citations
Imagesrootr_generate_image, rootr_remove_image_background

Tool descriptions steer agents to prefer rootr_append / rootr_edit over the destructive rootr_write. Tools that take a workspace argument fall back to ROOTR_WORKSPACE (or the config default) when it is omitted. All tool schemas are in English; JSON-returning tools respond with pretty-printed JSON text.

Register in Claude Code / Claude Desktop

Add to ~/.claude.json (Claude Code) or your Claude Desktop MCP config:

json
{  "mcpServers": {    "rootr": {      "command": "rootr",      "args": ["mcp"],      "env": {        "ROOTR_API_KEY": "rootr_xxxxxxxxxxxxxxxx",        "ROOTR_WORKSPACE": "ws_123"      }    }  }}

(If you did not install globally, use "command": "node" and "args": ["/path/to/rootr-cli/bin/rootr.js", "mcp"].)

Error handling

On a non-2xx response the CLI prints the API message (when present) to stderr and exits 1:

  • 401 / 403 — check the API key / workspace scope
  • 412 — document changed since you read it (If-Match mismatch): re-read and retry
  • 409 — the server's reason is shown verbatim (e.g. edit find not found / not unique)

Layout

  • bin/rootr.js — entry point, command dispatch
  • lib/config.js — config load/save
  • lib/client.js — Rootr REST API client
  • lib/resolve.js — shared path/id target resolution
  • lib/mcp.js — MCP stdio server, assembles all tool groups
  • lib/mcp-tools/* — one module per tool group (documents, workspaces, databases, spreadsheets, whiteboards, forms, crm, presentations, logs, issues, webhooks, ask, misc)

Dependencies: @modelcontextprotocol/sdk (MCP server) and zod (tool input schemas). The CLI core has no external dependencies. No build step — pure ESM JavaScript.


Made by Inspirio · rootr.io · [email protected]

來源:README.md,提交 6bfa98b

工具

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

版本歷史

1
  1. v0.2.1最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

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

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

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

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

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