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.

已验证Streamable HTTP可网页运行效率与工作流知识与记忆沟通与协作

概览

AI 生成的概览

托管式 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 客户端凭据。
安装前请注意
授予了对邮件、日历、文件、工单和页面的写入权限,助手可以发送、修改和删除这些账户中的数据。Google 授权页默认所有权限均未勾选,README 建议全选或按需勾选,请仔细核对权限范围。服务商令牌在服务器端加密存储,调用会被计量。本机文件通过一次性上传链接传输。

安装

在 SourceWeft 中

  1. 打开 控制台中的 DataToRAG,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

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

[DataToRAG: your work tools behind one MCP endpoint. Gmail, Drive, Docs, Sheets, Calendar, Jira, Confluence and Notion connected to datatorag.com/mcp, used from any MCP client.]

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:

  1. 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.
  2. 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.

bash
claude mcp add --transport http datatorag https://datatorag.com/mcp

Cursor and other clients that take a JSON config.

json
{  "mcpServers": {    "datatorag": {      "url": "https://datatorag.com/mcp"    }  }}

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 dashboard agent searching Notion with notion_search, reading the page with notion_get_page, and summarising what it says.]

The agent in the dashboard runs the same tools against your connected accounts, with no client setup.

[The upload page after a file was sent: the file's name, size and SHA-256, and a short reference to paste back into the conversation.]

An upload link takes one file from your computer, up to 25 MB, and answers its size and SHA-256.

[The public status page: the latest full check of production, with checks working and failing, tools working, and Gmail's results by check.]

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.

ConnectorToolsServicesDocs
Google Workspace (plugins/gws-mcp)87Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, Tasksdocs
Atlassian (plugins/atlassian-mcp)28Jira, Confluencedocs
Notion (plugins/notion-mcp)18Pages, databases, commentsdocs
Gateway built-ins10Connected accounts, skills, file upload and download links, a connectivity checkdocs

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

[How a tool call travels: an MCP client posts to /mcp with a bearer token; the DataToRAG gateway authenticates it, serves tools/list from the registry and routes tools/call to the plugin that owns the tool; each plugin calls its service's API with the user's OAuth grant; Postgres holds users, accounts, provider tokens and the tool registry.]

In text:

  1. Client. Any MCP client sends Streamable HTTP to POST /mcp with a bearer token: an OAuth access token from the gateway's own authorization server, the only credential it accepts.
  2. Gateway (apps/gateway, one Node.js process: Express plus Next.js). It authenticates the bearer, opens or reuses the session, and answers tools/list from the tools table in Postgres, filtered to the services the user has connected. A tools/call is 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.
  3. Built-ins. list_connected_accounts, skills_*, file_upload_link and file_download_link are answered by the gateway itself, with no plugin and no registry row.
  4. 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 of PATH, NODE_ENV and PORT only, and passes the user's token on each call in the X-User-Token header. A crashing plugin is restarted up to three times a minute, and /health reports each plugin as up or down.
  5. 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 the registry workflow 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

bash
pnpm installpnpm -r --filter "./packages/*" run build    # the gateway reads these packages' built output
cp .env.example .env                          # then fill in DATABASE_URL, CONNECTION_TOKEN_KEYS and the OAuth clientspnpm --filter @datatorag-mcp/db db:migrate    # schema changes are never applied on start
pnpm dev:gateway

The gateway listens on http://localhost:8285 (set by GATEWAY_PORT):

PathWhat it is
/mcpThe MCP endpoint
/dashboardSign in, connect accounts, the agent
/docs/getting-startedThe docs
/healthLiveness, and each plugin's state
/.well-known/oauth-authorization-serverOAuth metadata for MCP clients

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:

VariablePurpose
DATABASE_URLPostgres connection string. Required
CONNECTION_TOKEN_KEYSKeys the provider tokens are encrypted with: <id>:<base64 of 32 bytes>, comma separated, the first encrypts and all decrypt. Required; make one with openssl rand -base64 32
GATEWAY_PORT, GATEWAY_BASE_URLPort, and the public URL OAuth redirects are built from
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRETGoogle sign-in for the dashboard
GOOGLE_GWS_CLIENT_ID, GOOGLE_GWS_CLIENT_SECRETGoogle Workspace connections
ATLASSIAN_CLIENT_ID, ATLASSIAN_CLIENT_SECRETJira and Confluence connections
NOTION_OAUTH_CLIENT_ID, NOTION_OAUTH_CLIENT_SECRETNotion connections
SLACK_CONNECTOR_CLIENT_ID, SLACK_CONNECTOR_CLIENT_SECRET, SLACK_CONNECTOR_TEAM_IDSlack connections, for one workspace and admins only; optional
ANTHROPIC_API_KEY, PLAYGROUND_MODELThe dashboard agent; empty turns it off
STRIPE_*Billing; optional
POSTHOG_API_KEY, SLACK_BOT_TOKEN, BREVO_API_KEYAnalytics, notifications and email; each is off when empty

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

apps/gateway/          The product: MCP gateway, OAuth server, dashboard, site  server.ts            Express entry: /mcp, /oauth, /auth, /files, /health  src/gateway/         Tool routing, auth, plugin manager, file references, metering  src/app/             Next.js app: dashboard, docs, blog, changelog, status, skills  src/mastra/          The dashboard agent  content/             Markdown for the blog, changelog, docs and skillspackages/  config/              Environment schema (zod)  db/                  Drizzle schema and migrations  auth/                Token hashing and constant-time compares  types/               Shared types, including the plugin manifestplugins/  gws-mcp/             Google Workspace connector  atlassian-mcp/       Jira and Confluence connector  notion-mcp/          Notion connectorregistry/              Reviewed SQL for changes to the tool registrydocker/                Compose filesscripts/               The pre-merge gate, leak scan, deploy and registry helpersdocs/                  Architecture notes and implementation planstools/capture/         Product screenshots and recordings (Remotion)

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

MIT

来源:README.md,提交 9aa3915

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Oct 29, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分