
DataToRAG
com.datatorag由 datatorag.com 發布官方發布者v1.0.0更新於 Oct 29, 2026
Hosted MCP for Google Workspace, Atlassian and Notion: one OAuth, per-user accounts, write access.
概覽
託管式 MCP 閘道,透過一次 OAuth 登入讓助理存取使用者自己的 Google Workspace、Atlassian 與 Notion 帳戶。
- 可以做什麼
- 讀寫 Gmail、日曆、Drive、文件、試算表、簡報、聯絡人與任務
- 處理 Jira 議題與 Confluence 內容
- 建立與編輯 Notion 頁面、資料庫與留言
- 列出已連結帳戶、執行現成技能,並產生一次性檔案上傳與下載連結
- 依參照在服務之間搬移檔案,並回傳大小與 SHA-256
- 適用情境
- 適合需要讓助理在單一連線下同時操作 Google Workspace、Jira、Confluence 與 Notion 的情境,包括同一服務多個帳戶,也適合想使用託管端點而非本機程序的人。
- 執行需求
- 遠端端點 datatorag.com/mcp,使用 Streamable HTTP;用戶端與儀表板需以同一電子郵件完成 OAuth 登入。每位使用者須在儀表板連結自己的 Google、Atlassian 或 Notion 帳戶並授予所需權限。自架需要 Node.js 20 以上、pnpm 9、透過 DATABASE_URL 提供的 Postgres、CONNECTION_TOKEN_KEYS,以及各服務商的 OAuth 用戶端憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 DataToRAG,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.datatorag%2Fmcp-gateway/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"datatorag": {
"type": "http",
"url": "https://datatorag.com/mcp"
}
}
}README
Google Workspace, Jira, Confluence and Notion for Claude and other MCP clients, through one endpoint.
[License: MIT] [CI status on main] [Last commit on main] [143 tools as of October 2026] [Works with Claude, Cursor and ChatGPT]
DataToRAG is an open-source Model Context Protocol gateway. You point your AI client at one URL. Each person connects their own Google, Atlassian and Notion accounts, and the gateway hands the client the tools for those accounts, calling the services with the person's own OAuth grant. It runs hosted at datatorag.com, or on your own infrastructure under the MIT license.
Website · Docs · Status · Changelog · Skills
Try it in 60 seconds
Setup is two connections, and both are needed:
- Connect your accounts. Sign in at datatorag.com/dashboard and connect Google, Atlassian or Notion. Google's consent screen arrives with every box unticked: tick "Select all", or the services you want.
- Connect your AI client to
https://datatorag.com/mcp, then sign in with the same email when the client asks.
Claude (web and Desktop). Customize, then Connectors, then Add, then "Add custom connector". Paste the URL and leave the advanced OAuth fields empty.
Claude Code.
Cursor and other clients that take a JSON config.
ChatGPT. Settings, then Connectors, enable Developer mode, then Create, and paste the URL.
The getting started guide has screenshots of each step. Every client connects with OAuth.
The server is listed in the official MCP registry as com.datatorag/mcp-gateway; server.json is the listing.
Screenshots
The agent in the dashboard runs the same tools against your connected accounts, with no client setup.
An upload link takes one file from your computer, up to 25 MB, and answers its size and SHA-256.
The status page shows the latest end-to-end run against production, by service.
Connectors
Tool counts are from the code as of October 2026: 133 tools in the three connectors, and 10 built into the gateway.
The three connectors live in this repository under plugins/ and ship inside the gateway's image. A client only sees the tools for services its user has connected.
What makes it different
Several accounts per service. Connect a work and a personal Google account, or two Notion workspaces, under one login, and pick a default. Every connector tool takes an account argument to choose one (how we built it).
Responses sized for a context window. Tools return what the model needs rather than the raw API response. A two-page Google Doc comes back as 2 to 3 KB of text instead of 50 KB or more of JSON (the write-up).
OAuth per user. Each person grants access to their own accounts, and the gateway refreshes the grants. A connector receives only the calling user's access token, never a shared credential.
Files move between services without passing through the chat. A file reference names an email, an attachment or a Drive file, and the gateway carries it to Jira, Drive or an email in one call, answering with its size and SHA-256. Files from your computer arrive through a single-use upload link (file references).
Skills. Ready-made workflows, such as a morning brief or inbox triage, that run in the dashboard, on a schedule, or from any client as MCP prompts (skills, announcement).
A public status page. A test run calls the tools on production the way a user would and publishes what works, by service (status).
Architecture
In text:
- Client. Any MCP client sends Streamable HTTP to
POST /mcpwith a bearer token: an OAuth access token from the gateway's own authorization server, the only credential it accepts. - Gateway (
apps/gateway, one Node.js process: Express plus Next.js). It authenticates the bearer, opens or reuses the session, and answerstools/listfrom thetoolstable in Postgres, filtered to the services the user has connected. Atools/callis split on__into the plugin and the tool, the user's token for that service is resolved (and refreshed if expired), and the call is forwarded to the plugin. Every call is metered. The same process serves the dashboard and its agent, the docs, the changelog and the status page. - Built-ins.
list_connected_accounts,skills_*,file_upload_linkandfile_download_linkare answered by the gateway itself, with no plugin and no registry row. - Plugins. Each connector is an MCP server under
plugins/. The gateway starts each one as a child process under its own non-root account, with an environment ofPATH,NODE_ENVandPORTonly, and passes the user's token on each call in theX-User-Tokenheader. A crashing plugin is restarted up to three times a minute, and/healthreports each plugin as up or down. - Registry. Postgres holds users, connected accounts, provider tokens and the tool registry (name, description and input schema for each plugin tool). Changes to the registry in production are SQL files under
registry/, applied by theregistryworkflow after an approval.
Self-hosting
Prerequisites
- Node.js 20 or later and pnpm 9.
- A Postgres database, and its connection string as
DATABASE_URL. Any Postgres works; nothing here starts one for you. - An OAuth client for each provider you want: Google (one client for sign-in, a second for Workspace scopes), Atlassian, Notion.
Run the gateway
The gateway listens on http://localhost:8285 (set by GATEWAY_PORT):
On a laptop the gateway loads plugins from ~/.datatorag/plugins, or from DATATORAG_PLUGINS_DIR when it is set. Build them with pnpm --filter @datatorag-mcp/gws-mcp run build (and the same for atlassian-mcp and notion-mcp).
Environment variables
The full list, with comments, is in .env.example, and the schema that validates it is packages/config/src/index.ts. The ones a self-host needs:
Production
Production runs the image built from apps/gateway/Dockerfile, which carries the three plugins. A merge to main builds and publishes it (build.yml), and a deploy is dispatched by hand and approved (release.yml), starting it with docker/docker-compose.prod.yml.
Project structure
Contributing
Issues and pull requests are welcome. For a substantial change, open an issue first so we can agree on the direction; every pull request runs the gate (typecheck and tests) and a leak scan.
Security
Please report a vulnerability privately to [email protected] rather than in a public issue.
License
來源:README.md,提交 9aa3915
工具
0版本歷史
1- v1.0.0最新Oct 29, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分