DataCore A2A

v0.2.7
vn.datacore/datacore-a2a Checked 4 days ago Published 18 days ago

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

Values you need

VariableWhat it is
DATACORE_A2A_URLrequired 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_KEYoptional secret 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 on expiry. Either this or DATACORE_MANDATE is required.
DATACORE_MANDATEoptional secret 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_SKILLSoptional Comma-separated skill ids to narrow the tools that get exposed, or * for every skill the endpoint returns. Empty lists every skill the credential is allowed to call.
DATACORE_TIMEOUToptional Per-request timeout in seconds. Defaults to 30.

PyPI (uvx)

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add datacore-a2a -e 'DATACORE_A2A_URL=<DATACORE_A2A_URL>' -- uvx --from datacore-a2a-mcp==0.2.7 datacore-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "datacore-a2a": {
      "args": [
        "--from",
        "datacore-a2a-mcp==0.2.7",
        "datacore-mcp"
      ],
      "command": "uvx",
      "env": {
        "DATACORE_A2A_URL": "<DATACORE_A2A_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "datacore-a2a": {
      "args": [
        "--from",
        "datacore-a2a-mcp==0.2.7",
        "datacore-mcp"
      ],
      "command": "uvx",
      "env": {
        "DATACORE_A2A_URL": "<DATACORE_A2A_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DATACORE_A2A_URL",
      "id": "datacore-a2a-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "datacore-a2a": {
      "args": [
        "--from",
        "datacore-a2a-mcp==0.2.7",
        "datacore-mcp"
      ],
      "command": "uvx",
      "env": {
        "DATACORE_A2A_URL": "${input:datacore-a2a-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.datacore-a2a]
command = "uvx"
args = ["--from", "datacore-a2a-mcp==0.2.7", "datacore-mcp"]
env = { "DATACORE_A2A_URL" = "<DATACORE_A2A_URL>" }

For AI agents

  1. Ask the user for: DATACORE_A2A_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json