
DataCore A2A
vn.datacore由 datacore.vn 發布v0.2.5更新於 Oct 30, 2026
Normalise Vietnamese addresses and look up companies by name or tax code, through DataCore A2A.
發布方自己的服務:core.blue
概覽
本機 MCP 伺服器,為助理提供 DataCore 的越南地址與公司資料技能,例如地址正規化、依名稱或稅籍編號查詢公司。
- 可以做什麼
- 將越南地址正規化並驗證為省、郡、坊層級
- 依名稱或稅籍編號查詢公司,並回傳代表人、省份、產業等關聯資訊
- 為一段文字產生嵌入向量
- 工具清單由所設定的 DataCore 端點產生,端點新增技能後重新啟動即可看到
- 適用情境
- 適合處理越南地址或公司資料的情境:讓助理清理地址、對照行政區資料驗證地址,或依稅籍編號找出公司。它只是 DataCore 付費帳號的用戶端,已有或打算開通該帳號時才值得安裝。
- 執行需求
- 需在本機安裝 Python 3.9+ 與 datacore-a2a-mcp 套件,以 stdio 執行。需要 datacore.vn 上的 DataCore 帳號,並設定 DATACORE_A2A_URL 為你取得的閘道位址,以及 DATACORE_API_KEY(建議)或 DATACORE_MANDATE 其中之一。可選 DATACORE_SKILLS 與 DATACORE_TIMEOUT。需能連線至 DataCore 閘道。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 DataCore A2A,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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.
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
If you installed from GitHub while this was unreleased,
--upgradewill 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
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
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:
/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
¹ 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
Replace <YOUR_API_KEY> with the api_key from step 3 — it looks like
dck_<8 hex chars>_<secret>.
-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.
Both <...> values are yours to fill in — JSON has no comments, so nothing in
the file will remind you:
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:
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.graphused 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:
- Normalise an address — "Normalise this address into province/district/ward: So 1 Ly Thai To, Hoan Kiem, Ha Noi"
- Company lookup — "Find the company with tax code 0100109106 and tell me whether it is still operating"
- 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/<id> (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.
Reporting a security issue
[email protected]. Please do not open a public issue for a security bug.
If you think your credential has leaked, report it now — do not wait for it to expire. We need to know so we can act on the service side.
Privacy
See PRIVACY.md. In short: this package runs on your machine, stores nothing, sends nothing anywhere except the DataCore endpoint you configured, and never writes a mandate token to a log.
License
MIT — see LICENSE.
來源:README.md,提交 f075c89
工具
0版本歷史
3- v0.2.5最新Oct 30, 2026
- v0.2.2Oct 26, 2026
- v0.1.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Core 整合
core.blue
blue.core官方發布者
core.blue 的遠端 MCP 端點,提供每位客戶獨立的私有代理記憶「house」:可讀手冊、試用沙盒、查價格與建議,並申請 house。

Brevio Core
由 GitHub 帳號 Brevio-Ventures 發布
本機 MCP 伺服器,讓編碼代理掃描程式碼中反覆出現的代理式錯誤、解釋規則、列出規則,並把一次修正固化成守衛。

brain-core
由 GitHub 帳號 xy-claude 發布
本機 MCP 伺服器,為 Claude Code 代理提供跨工作階段的長期記憶,存放於 markdown 儲存庫、SQLite 索引與可選的自架向量資料庫。

Scovant Core
由 GitHub 帳號 Scovant 發布
對網站進行被動式AI代理就緒掃描:robots、llms.txt、JSON-LD、MCP發現、安全性。AI 翻譯

ProofCore
由 GitHub 帳號 ProofCore-Protocol 發布
面向AI代理的TON區塊鏈零認證加密公證與證據層。AI 翻譯