outline-rbac-mcp
MCP server that provides role-based access control for Outline workspaces, allowing users to interact with docs, users, and admin tools according to their assigned role.
README
outline-rbac-mcp
Role-based access plugin for Outline, built as a standalone MCP server over the Outline REST API. No changes to the Outline server required.
Each person connects with their own Outline API key. The plugin resolves who the key belongs to and their workspace role, then only exposes the operations that role is entitled to.
How access is decided — the role graph
Roles are nodes in a directed graph; each role inherits every capability of the roles below it:
admin ──▶ member ──▶ viewer ──▶ guest
| Role | Adds capabilities |
|---|---|
| guest | view own account, read shared docs |
| viewer | read/search docs, list users, read comments |
| member | update own account, create/update/delete docs, write comments |
| admin | invite/remove/suspend/activate users, change roles, update any account, read audit log |
Effective permissions are resolved by walking the inheritance edges (BFS) and unioning capabilities.
The workflow pipeline
Every tool call flows through a staged workflow — a failure at any node short-circuits the call:
authenticate ─▶ resolve_role ─▶ authorize ─▶ execute ─▶ audit
- authenticate — verifies the API key against
auth.info - resolve_role — reads the caller's role, resolves capabilities from the graph
- authorize — rejects the call if the role lacks the tool's required capability
- execute — proxies to the Outline REST API
- audit — records actor, role, tool, outcome, and per-stage timing (admins can read it via
audit_log)
Tools
| Tool | Requires |
|---|---|
whoami, access_graph |
account.view_self (all roles) |
search_docs, read_doc, list_users |
viewer+ |
update_my_account, create_doc, update_doc, delete_doc |
member+ |
invite_user, remove_user, suspend_user, activate_user, change_user_role, audit_log |
admin |
Denied calls return DENIED: role "<role>" lacks capability "<capability>".
Install (per user)
- Create your API key in Outline: Settings → API & Apps → New API key
- Install from the packaged tarball (or from npm once published):
npm install -g ./outline-rbac-mcp-1.0.0.tgz # or: npm install -g outline-rbac-mcp
claude mcp add outline-rbac \
--env OUTLINE_URL=https://outline.knowaiclub.com \
--env OUTLINE_API_KEY=<your-personal-api-key> \
-- outline-rbac-mcp
The package also ships a Claude Code plugin manifest (.claude-plugin/plugin.json + .mcp.json), so the repo can be installed as a Claude Code plugin from a marketplace; set OUTLINE_URL and OUTLINE_API_KEY in your shell environment and the plugin's MCP server picks them up.
From source
cd outline_test && npm install
claude mcp add outline-rbac \
--env OUTLINE_URL=https://outline.knowaiclub.com \
--env OUTLINE_API_KEY=<your-personal-api-key> \
-- node /path/to/outline_test/src/server.js
Works the same in Claude Desktop / Cursor as a stdio MCP server:
{
"mcpServers": {
"outline-rbac": {
"command": "node",
"args": ["/path/to/outline_test/src/server.js"],
"env": {
"OUTLINE_URL": "https://outline.knowaiclub.com",
"OUTLINE_API_KEY": "<your-personal-api-key>"
}
}
}
}
Smoke test
TEST_KEY=<api-key> node test/smoke.js whoami access_graph 'list_users={}'
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。