
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.
概览
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);创建工作区需要账户级密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Rootr,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
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:
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):
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).
- Homepage: https://rootr.io
- Docs: https://rootr.io/en/docs
- npm: https://www.npmjs.com/package/rootr-cli
Install
Run it straight from a clone, or install globally.
Configuration
Precedence: environment variables > ~/.rootr/config.json
Save to the config file (created with chmod 600):
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:createscope it can create new workspaces (rootr_create_workspace). Using a workspace key for an account-level action returns a403with 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.
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:
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:
(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 scope412— document changed since you read it (If-Match mismatch): re-read and retry409— the server's reason is shown verbatim (e.g.editfind not found / not unique)
Layout
bin/rootr.js— entry point, command dispatchlib/config.js— config load/savelib/client.js— Rootr REST API clientlib/resolve.js— shared path/id target resolutionlib/mcp.js— MCP stdio server, assembles all tool groupslib/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版本历史
1- v0.2.1最新Sep 16, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。