
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 分