
DATPAQ
com.datpaq由 datpaq.com 發布官方發布者v1.0.0更新於 Oct 26, 2026
34 production API tools over one hosted MCP endpoint.
概覽
託管式 MCP 端點,把 Datpaq 的正式環境 API 端點包裝成可呼叫的工具,每次請求以 Datpaq API 金鑰驗證。
- 可以做什麼
- 以 MCP 工具形式呼叫 Datpaq API 端點,每個啟用的 API 對應一個工具(描述稱 34 個工具,README 提到涵蓋 63 個啟用 API 的託管工具)
- 透過單一 streamable HTTP 連線取得工具目錄與協定版本資訊
- 在同一個 URL 上同時支援無狀態的現代協定版本與舊版 initialize 握手
- 可選擇以 Go 或 Docker 自行架設同一伺服器,並將用戶端指向本機位址
- 適用情境
- 當你已有 Datpaq 帳號,希望助理直接呼叫 Datpaq 的託管 API 端點、而不必自行撰寫整合時使用。適合支援遠端 streamable HTTP 伺服器與 bearer 標頭的用戶端。
- 執行需求
- 遠端端點 streamable HTTP,不需本機執行環境。需要 Datpaq API 金鑰,每次請求以 Authorization bearer 標頭傳送。自行架設為選項,需要 Go 1.26.3+ 或 Docker,並可選用 DATPAQ_BASE_URL 與 PORT 設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 DATPAQ,將其新增到工作區。
- 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.datpaq%2Fdatpaq/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"datpaq": {
"type": "http",
"url": "https://mcp.datpaq.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
Datpaq MCP Server
Hosted Model Context Protocol server for the Datpaq API.
Hosted at https://mcp.datpaq.com/ — also installable locally and self-hostable.
datpaq-mcp-http exposes the Datpaq API as MCP tools over streamable HTTP, so any MCP-compatible client (Claude Desktop, Cursor, Codex, Cline, Continue, agent frameworks) can call Datpaq endpoints with a single connection.
For the local CLI (and the stdio MCP that ships with it for Claude Desktop), see github.com/datpaq/cli.
Connect
Verify with curl — modern (2026-07-28):
Or legacy (initialize handshake), which keeps working unchanged:
Protocol versions
The server is dual-era: it speaks both the stateless 2026-07-28 revision and the
handshake-based revisions (2025-11-25 and earlier) on the same endpoint, and picks per
request. You do not need to configure anything — point your client at the URL and it will
use whichever it supports.
Notes for the modern era:
tools/listandserver/discoverreturnttlMsandcacheScope: "public"caching hints. The tool catalog is identical for every tenant and only changes on redeploy, so clients can cache it and skip re-fetching every tool definition on each reconnect.Mcp-MethodandMcp-Nameare validated against the request body. A header that disagrees with the body is rejected with-32020 HeaderMismatch; a missing header is served anyway, so clients that have not implemented header mirroring yet still work.- An unsupported version gets
400+-32022listing the versions we do support, so a client can retry rather than fail. - Features the spec deprecated in
2026-07-28— roots, sampling, logging, DCR, and the 2024-11-05 HTTP+SSE transport — were never used by this server, so nothing changes for you there.
Auth model: every request must present a Datpaq API key as Authorization: Bearer <key> — the server holds no credentials of its own, so a single instance can serve many tenants, each billed against their own Datpaq account.
Configure your client
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
Cursor (~/.cursor/mcp.json or project .cursor/mcp.json):
Codex CLI:
Codex TOML:
For full step-by-step instructions per client (including Cline and Continue), see the Datpaq MCP docs.
Self-host
Install via Go:
Requires Go 1.26.3+.
Or pull the Docker image:
Run it:
Then point an MCP client at http://localhost:8080/.
Ships with a Fly.io config for one-command deploys:
No secrets to configure — clients authenticate per request.
What's exposed
The server registers one MCP tool per active Datpaq API endpoint. The active set is curated in internal/cli/active-apis.json — add a slug there when a new API ships on datpaq.com, redeploy, and the tool appears for every connected client.
Inactive APIs are scrubbed entirely from the MCP surface (unlike the CLI, which still lets you invoke them directly). This keeps the hosted tool list focused on production-ready endpoints.
Tools that depend on local state or shell-out to the user's machine (auth flows, config writers, etc.) are deliberately not registered — see internal/mcp/public_tools.go.
Configuration
The Datpaq API key is not a server-side variable. Each request must include it as Authorization: Bearer <key>. See the Quickstart auth model.
Managing active APIs
The active set is curated in internal/cli/active-apis.json. The CLI repo is the canonical place to regenerate that manifest from the admin dashboard export (or, in Phase 2, GET /api/v1/catalog/active). This repo receives updates via sync — it does not ship its own fetch tooling.
Canonical workflow (sibling checkout at ../CLI):
If you edited active-apis.json in this repo by mistake, push it back to CLI with ./scripts/sync-active-apis.sh (MCP → CLI only). Prefer the CLI-first flow above for normal updates.
Development
Run tests:
License
Apache 2.0 — see LICENSE.
來源:README.md,提交 fa40c75
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分