DATPAQ

com.datpaq由 datpaq.com 發布官方發布者v1.0.0更新於 Oct 26, 2026

34 production API tools over one hosted MCP endpoint.

已驗證Streamable HTTP可網頁執行雲端與基礎設施開發者工具

概覽

AI 產生的概覽

託管式 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 設定。
安裝前請注意
每次請求都必須帶上 Datpaq API 金鑰(Authorization 標頭),應保存在用戶端設定或環境變數中,不要外流。用量依你自己的 Datpaq 帳號計費。README 未列出個別工具,使用前請確認實際開放哪些端點。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DATPAQ,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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


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

URLhttps://mcp.datpaq.com/
Transportstreamable HTTP
Protocol2026-07-28 and 2025-11-25 (and earlier) — see Protocol versions
AuthAuthorization: Bearer YOUR_DATPAQ_API_KEY (per request)
ToolsHosted tools across 63 active APIs

Verify with curl — modern (2026-07-28):

bash
curl -s -X POST https://mcp.datpaq.com/ -H "Authorization: Bearer $YOUR_DATPAQ_API_KEY" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -H "MCP-Protocol-Version: 2026-07-28" -H "Mcp-Method: server/discover" -d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientInfo":{"name":"curl","version":"0"},"io.modelcontextprotocol/clientCapabilities":{}}}}'

Or legacy (initialize handshake), which keeps working unchanged:

bash
curl -s -X POST https://mcp.datpaq.com/ -H "Authorization: Bearer $YOUR_DATPAQ_API_KEY" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}'

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.

EraVersionsHow it's served
Modern2026-07-28Stateless. Every request carries its version, client info, and capabilities in _meta, mirrored into the MCP-Protocol-Version / Mcp-Method / Mcp-Name headers. Implements server/discover, tools/list, tools/call.
Legacy2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05The initialize handshake, exactly as before. Sessions, GET SSE streams, and Mcp-Session-Id all still work.

Notes for the modern era:

  • tools/list and server/discover return ttlMs and cacheScope: "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-Method and Mcp-Name are 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 + -32022 listing 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):

json
{  "mcpServers": {    "datpaq": {      "url": "https://mcp.datpaq.com/",      "headers": {        "Authorization": "Bearer YOUR_DATPAQ_API_KEY"      }    }  }}

Cursor (~/.cursor/mcp.json or project .cursor/mcp.json):

json
{  "mcpServers": {    "datpaq": {      "url": "https://mcp.datpaq.com/",      "headers": {        "Authorization": "Bearer YOUR_DATPAQ_API_KEY"      }    }  }}

Codex CLI:

bash
export DATPAQ_API_KEY="YOUR_DATPAQ_API_KEY"codex mcp add datpaq --url https://mcp.datpaq.com/ --bearer-token-env-var DATPAQ_API_KEY

Codex TOML:

toml
[mcp_servers.datpaq]url = "https://mcp.datpaq.com/"bearer_token_env_var = "YOUR_DATPAQ_API_KEY"

For full step-by-step instructions per client (including Cline and Continue), see the Datpaq MCP docs.

Self-host

Install via Go:

bash
go install github.com/datpaq/mcp/cmd/datpaq-mcp-http@latest

Requires Go 1.26.3+.

Or pull the Docker image:

bash
docker build -t datpaq-mcp-http -f cmd/datpaq-mcp-http/Dockerfile .docker run -p 8080:8080 datpaq-mcp-http

Run it:

bash
datpaq-mcp-http --addr :8080

Then point an MCP client at http://localhost:8080/.

Ships with a Fly.io config for one-command deploys:

bash
fly launch --config fly.tomlfly deploy

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

VariablePurpose
DATPAQ_BASE_URLOverride the API base URL (default: https://datpaq.com/api/v1) — handy for pointing at staging
PORTHTTP listen port (default: 8080, also configurable via --addr)

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.

json
{  "active": [    "convert-time",    "ip-geolocation",    "..."  ]}

Canonical workflow (sibling checkout at ../CLI):

bash
# In the CLI repocd ../CLImake fetch-active-apis CATALOG_INPUT=./export.json   # or CATALOG_URL=... after Phase 2make sync-active-apis                                 # CLI → MCP
# Then heremake build && make test# commit internal/cli/active-apis.json + code changes, deploy

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

bash
git clone https://github.com/datpaq/mcp && cd mcpmake build./bin/datpaq-mcp-http --addr :8080

Run tests:

bash
make test

License

Apache 2.0 — see LICENSE.

來源:README.md,提交 fa40c75

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分