原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

DataCore A2A

作者:DataCore-VietNam版本 0.2.5i★ 0i在你的电脑上运行
注册名称vn.datacore/datacore-a2a

安装方法

What it does

Normalise Vietnamese addresses and look up companies by name or tax code, through DataCore A2A.

  • Connects 在你的电脑上运行
  • Account or key Needs DATACORE_API_KEY, DATACORE_MANDATE · 1 setting to fill in (DATACORE_A2A_URL)
  • Category 会计、财务与税务

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 DataCore A2A 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • DATACORE_A2A_URL Base URL of the DataCore gateway, for example https://gateway.datacore.vn. It must be the gateway — pointing straight at the orchestrator is always rejected with 401.

    说明仍为英文原文。

  4. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  5. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "datacore-a2a": {
          "command": "uvx",
          "args": [
            "datacore-a2a-mcp"
          ],
          "env": {
            "DATACORE_A2A_URL": "your-value",
            "DATACORE_API_KEY": "your-value",
            "DATACORE_MANDATE": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 退出 Claude 再重新打开

  7. 试一试

    用 DataCore A2A 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 DataCore A2A,或回答中出现 DataCore A2A 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DATACORE_SKILLS Comma-separated skill ids to narrow the tools that get exposed, or * for every skill the endpoint returns. Empty uses the default four.
  • DATACORE_TIMEOUT Per-request timeout in seconds. Defaults to 30.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 DataCore A2A

DataCore A2A 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 DataCore A2A 的应用

  • 需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次)

B · 会计、财务与税务 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 DataCore A2A 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • DATACORE_A2A_URL Base URL of the DataCore gateway, for example https://gateway.datacore.vn. It must be the gateway — pointing straight at the orchestrator is always rejected with 401.

    说明仍为英文原文。

  4. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  5. 粘贴这条命令并按 Enter

    claude mcp add --scope user datacore-a2a --env DATACORE_A2A_URL=your-value --env DATACORE_API_KEY=your-value --env DATACORE_MANDATE=your-value -- uvx datacore-a2a-mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Claude Code 中输入 /mcp

    应能看到 DataCore A2A 在列表中并显示已连接

  7. 试一试

    用 DataCore A2A 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 DataCore A2A,或回答中出现 DataCore A2A 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DATACORE_SKILLS Comma-separated skill ids to narrow the tools that get exposed, or * for every skill the endpoint returns. Empty uses the default four.
  • DATACORE_TIMEOUT Per-request timeout in seconds. Defaults to 30.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 DataCore A2A 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • DATACORE_A2A_URL Base URL of the DataCore gateway, for example https://gateway.datacore.vn. It must be the gateway — pointing straight at the orchestrator is always rejected with 401.

    说明仍为英文原文。

  4. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 DataCore A2A 的设置中,DATACORE_API_KEY, DATACORE_MANDATE, DATACORE_A2A_URL 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 Cursor 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 DataCore A2A 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 DataCore A2A,或回答中出现 DataCore A2A 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DATACORE_SKILLS Comma-separated skill ids to narrow the tools that get exposed, or * for every skill the endpoint returns. Empty uses the default four.
  • DATACORE_TIMEOUT Per-request timeout in seconds. Defaults to 30.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 DataCore A2A 的密钥(在开发者网站创建) · 需要填写 1 项设置(DATACORE_A2A_URL) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 DataCore A2A 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    获取密钥的方法见下方开发者的 README

  3. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • DATACORE_A2A_URL Base URL of the DataCore gateway, for example https://gateway.datacore.vn. It must be the gateway — pointing straight at the orchestrator is always rejected with 401.

    说明仍为英文原文。

  4. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  5. 填写你的密钥

    在 DataCore A2A 的设置中,DATACORE_API_KEY, DATACORE_MANDATE, DATACORE_A2A_URL 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  6. 在 VS Code 中以 Agent 模式打开 AI 聊天

  7. 试一试

    用 DataCore A2A 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 DataCore A2A,或回答中出现 DataCore A2A 的工具名称,就表示连接成功

2 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DATACORE_SKILLS Comma-separated skill ids to narrow the tools that get exposed, or * for every skill the endpoint returns. Empty uses the default four.
  • DATACORE_TIMEOUT Per-request timeout in seconds. Defaults to 30.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 DataCore A2A 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user datacore-a2a --env DATACORE_A2A_URL=your-value --env DATACORE_API_KEY=your-value --env DATACORE_MANDATE=your-value -- uvx datacore-a2a-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "datacore-a2a": {
      "command": "uvx",
      "args": [
        "datacore-a2a-mcp"
      ],
      "env": {
        "DATACORE_A2A_URL": "your-value",
        "DATACORE_API_KEY": "your-value",
        "DATACORE_MANDATE": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "datacore-a2a": {
      "command": "uvx",
      "args": [
        "datacore-a2a-mcp"
      ],
      "env": {
        "DATACORE_A2A_URL": "your-value",
        "DATACORE_API_KEY": "your-value",
        "DATACORE_MANDATE": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "datacore-a2a": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "datacore-a2a-mcp"
      ],
      "env": {
        "DATACORE_A2A_URL": "your-value",
        "DATACORE_API_KEY": "your-value",
        "DATACORE_MANDATE": "your-value"
      }
    }
  }
}

需要你填写的值

  • DATACORE_A2A_URL 必填 env
    Base URL of the DataCore gateway, for example https://gateway.datacore.vn. It must be the gateway — pointing straight at the orchestrator is always rejected with 401.
  • DATACORE_API_KEY 机密 必填 env
    Long-lived credential shaped dck_..., created with POST /mcp/credentials — see the README. The server exchanges it for short-lived mandates and refreshes them itself, so it never has to be replaced o…
  • DATACORE_MANDATE 机密 必填 env
    A hand-issued AP2 mandate, the older way. Not refreshed: when it expires you replace it and restart. Use it only if you were set up this way; otherwise use DATACORE_API_KEY.
  • DATACORE_SKILLS env
    Comma-separated skill ids to narrow the tools that get exposed, or * for every skill the endpoint returns. Empty uses the default four.
  • DATACORE_TIMEOUT env
    Per-request timeout in seconds. Defaults to 30.

说明仍为英文原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
112/周
已验证域名
✓ datacore.vn
连接方式
在你的电脑上运行
最新版本i
0.2.5
发布到注册中心i
2026年10月27日
代码最后更新i
2026年11月10日
作者
DataCore-VietNam
软件包
pypi: datacore-a2a-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 datacore.vn 验证(注册中心会核实域名所有权)

  • ✓ 通过

    仍在维护

    代码最后更新于4天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 3238 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3238 个服务器的 61% 更新
  • 基础检查结果等于或优于此分类中其他 3238 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

DataCore A2A 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DATACORE_API_KEY, DATACORE_MANDATE

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于4天前,最新版本(0.2.5)于18天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:CCXT, Finance Toolkit, AKQuant

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

CCXT

Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets

作者:ccxt广泛使用↓ 667/周★ 4.5万 整个仓库的星标2个月前更新

在你的电脑上运行

Finance Toolkit

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

作者:JerBouma广泛使用↓ 1.6万/周★ 55235天前更新

电脑或云端

AKQuant

Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs

作者:akfamily广泛使用↓ 3280/周★ 2604昨天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

DataCore A2A — MCP server

English · Tiếng Việt

Lets an MCP client (Claude Code, Claude Desktop, VS Code, Cursor…) use DataCore's data skills as native tools: normalise Vietnamese addresses, validate an address, look up a company, generate embeddings.

MCP client (stdio) ──► datacore-mcp ──HTTPS──► DataCore gateway

Zero dependencies, Python 3.9+.

Quick start

This server is a client, not a service. It needs a DataCore endpoint and a credential to call it with. Missing either one, it starts, says which variable is absent, and exits.

You need an account on datacore.vn first.

1. Install
pip install datacore-a2a-mcp

If you installed from GitHub while this was unreleased, --upgrade will not

move you to the PyPI build — uninstall first, then install again.

2. Get a session token

Sign in at datacore.vn, then copy the token request header from any call to gateway.datacore.vn (DevTools → Network). 64 hex chars.

No curl equivalent: POST /auth/login RSA-decrypts the password and no endpoint publishes the public key, so only the web app can complete a login. A credential page will remove this step.

Ignore the jwt from the same login — the gateway rejects client-supplied Authorization with 409; token is the header it accepts.

3. Create a credential
curl -s -X POST https://gateway.datacore.vn/mcp/credentials \

-H "token: <64-character token>" \ -H 'Content-Type: application/json' \ -d '{"name":"claude-code"}' | jq .

201 with the credential, including api_key, key_prefix, allowed_skills, spend_cap_vnd and quota_period.

Copy api_key straight away — it is returned once. Only a hash is stored, so there is no way to read it back. Lose it and you create a new one.

A 409 here means you are already holding the maximum of 3 active credentials. Revoke one first (see Quotas and limits).

4. Declare it in your client

See Configuration below.

There is no web UI for steps 2–3 yet; curl is the way. When a management page exists, these commands keep working.

Quotas and limits

Free tier500,000 VND of spend per credential per month
Price per call500 VND by default, so roughly 1,000 calls
Reset1st of the month, Asia/Ho_Chi_Minh
Credentialsat most 3 active per account
Credential lifetime90 days
Mandate issuanceat most 10 exchanges per minute per credential

The cap is counted per credential, not per account — three credentials give an account three separate caps. The service meters in VND rather than in calls so that per-skill prices can be introduced later without rewriting stored caps.

A credential is not bound to a machine or an IP, so the same key works from another computer — on one shared quota, and one revocation kills both.

Check what a credential has spent, and revoke it:

curl -s https://gateway.datacore.vn/mcp/credentials/<id>/usage -H "token: <token>" | jq .

curl -s https://gateway.datacore.vn/mcp/credentials -H "token: " | jq . curl -X DELETE https://gateway.datacore.vn/mcp/credentials/ -H "token: "

/usage reports spent_vnd, spend_cap_vnd, quota_period and resets_at. Revocation returns 204, and 404 if the id is not yours — the two cases are deliberately indistinguishable.

Configuration

VariableRequiredMeaning
DATACORE_A2A_URLyesBase URL of the DataCore gateway — https://gateway.datacore.vn, unless you were given your own endpoint
DATACORE_API_KEYyes¹Long-lived credential, shaped dck_ _ . The server exchanges it for short-lived mandates and refreshes them itself
DATACORE_MANDATEyes¹A hand-issued AP2 mandate. Only for callers set up the old way — see below
DATACORE_SKILLSnoComma-separated skill ids to narrow the tool list, or * for everything the endpoint returns. Empty uses the default four
DATACORE_TIMEOUTnoPer-request timeout in seconds, default 30

¹ One of the two is required. If both are set, DATACORE_MANDATE wins.

Use the URL DataCore gave you. A different endpoint will not recognise your credential and answers 401.

Why DATACORE_API_KEY is the one to use

A mandate lives 15 minutes. With DATACORE_API_KEY, the server requests a fresh one a minute before the current one expires, so you never edit a config file because a token ran out. The mandate stays in process memory and is never written anywhere. If a call still comes back 401, the server forces one refresh and retries exactly once before reporting the failure.

DATACORE_MANDATE still works and is never refreshed — it is there for anyone configured before credentials existed. When it expires you replace it by hand and restart the MCP server.

Claude Code
claude mcp add datacore-a2a -s user \

-e DATACORE_A2A_URL=https://gateway.datacore.vn \ -e DATACORE_API_KEY= \ -- datacore-mcp

Replace with the api_key from step 3 — it looks like dck_<8 hex chars>_ .

-s user registers it for every project. Prefer this over a project-scope .mcp.json: that file tends to get committed, and the key is a 90-day bearer credential.

Claude Desktop

Merge the block below into the config — do not replace the file, it holds your app preferences.

OSConfig path
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json
{

"mcpServers": { "datacore-a2a": { "command": " ", "env": { "DATACORE_A2A_URL": "https://gateway.datacore.vn", "DATACORE_API_KEY": " " } } } }

Both <...> values are yours to fill in — JSON has no comments, so nothing in the file will remind you:

PlaceholderWhere it comes from
which datacore-mcp (macOS/Linux) or where datacore-mcp (Windows). Something like /home/you/.local/bin/datacore-mcp or C:\Users\you\AppData\Roaming\Python\Scripts\datacore-mcp.exe
the api_key from step 3, shaped dck_<8 hex chars>_

It has to be an absolute path: the desktop app does not inherit your shell PATH, so a bare command name usually fails to start. python -m datacore_mcp.server works too. Then quit the app completely — closing the window is not enough.

Logs go to stderr, which the app keeps in the logs/ directory beside that config file.

Tools

The tool list is generated from the endpoint, not hardcoded here — so when DataCore adds a skill, restarting the server is enough to see a new tool.

Five skills are exposed by default, the ones wired to a real backend:

ToolSkill idWhat it does
address_normalizeaddress.normalizeNormalises a Vietnamese address into province / district / ward
address_validateaddress.validateChecks an address against administrative data
company_searchcompany.searchLooks a company up by name or tax code
company_graphcompany.graphReturns the company's relationships — representative, province, industry, and anything else the graph holds
company_embeddingscompany.embeddingsGenerates an embedding vector for a piece of text

Every tool takes one required argument, text, a free-text string; no other properties are accepted. Every tool is read-only (readOnlyHint: true): nothing is written, deleted or created, and the same input gives the same result.

DataCore's two other skills (company.financial-sankey, company.news) are deliberately not exposed: they currently return mock/deterministic data. Setting DATACORE_SKILLS="*" lists them as tools, but a free-tier credential cannot call them — its allowlist holds only the five skills above, so every call returns 403. Asking for extra skills when creating a credential is not an error either; the request is silently narrowed to the five.

company.graph used to be on that list. It now reads real relationships, so

a credential created before this release does not include it — the allowed

skills are written into each credential when it is issued. Create a new one to

pick it up.

Examples

Three prompts that go through three different tools:

  1. Normalise an address — "Normalise this address into province/district/ward: So 1 Ly Thai To, Hoan Kiem, Ha Noi"
  2. Company lookup — "Find the company with tax code 0100109106 and tell me whether it is still operating"
  3. Embedding — "Generate an embedding for this line of business and tell me how many dimensions the vector has: wholesale of electronic equipment"

Security model

This server carries the mandate verbatim in the X-AP2-Mandate header for DataCore to verify, and declares no authorization header of its own. A client has no business authorizing itself — it forwards what it was given, and every allow or deny decision stays on the DataCore side.

The API key travels in X-Datacore-Credential when exchanged for a mandate, not in Authorization. DataCore's gateway keeps Authorization for itself — it signs and injects that header after authenticating the caller — so any request that arrives carrying one is rejected with 409 and an empty body. If you call /mandate/issue by hand and get a 409 with no message, that is why.

The API key is a bearer credential: whoever holds it can exchange it for a mandate and call the skills it allows until the cap runs out. Treat it like a password — do not commit a filled-in .mcp.json, and if your client supports it, read the key from a secret manager instead of inlining it. If it leaks, revoke it immediately with DELETE /mcp/credentials/ (see Quotas and limits); mandates already issued from it keep working for the rest of their 15 minutes — there is no instant revocation list.

The mandate is the opposite: 15 minutes of life, process memory only. It is not written to disk, never logged, and you should never need to look at it.

Issuance is rate-limited to 10 exchanges per minute per credential, so the endpoint cannot be used to walk the key space. Every rejection — unknown key, revoked key, expired key, wrong secret — returns the same 401 message for the same reason.

This package never logs a token, not even partially, and never logs the text you send. That is a promise about the process running on your machine — the service side is a separate matter, and PRIVACY.md says plainly what it stores.

Troubleshooting

Logs go to stderr, prefixed [datacore-mcp]. stdout is the JSON-RPC channel.

| S

只显示了开头部分;其余内容请在仓库中阅读