# Ha Tang (npm · @hatang/mcp)

Ha Tang docs and API for agents: email, VietQR payments, e-invoices, support inbox (Vietnam).

- Trust score: 62/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-04

## Components

- npm · `@hatang/mcp`: 62/100 (this document), [markdown](https://verifymcp.io/servers/dev-hatang-mcp/hatang-mcp.md), [page](https://verifymcp.io/servers/dev-hatang-mcp/hatang-mcp)

## Channel facts

- Registry: `npm`
- Package: `@hatang/mcp`
- Version: `0.1.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-04.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 31 of 113 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 19/100
  - Repository check failed: no source repository is declared.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 64/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1541 tokens (~70/item across 22 items; 22 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 86/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 59% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - All 3 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.
  - An AI judge read all 23 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the Ha Tang MCP server?

Ha Tang runs locally as an npm package, launched with npx -y @hatang/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add dev-hatang-mcp -- npx -y @hatang/mcp
```

### Cursor

```json
{
  "mcpServers": {
    "dev-hatang-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hatang/mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "dev-hatang-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hatang/mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add dev-hatang-mcp -- npx -y @hatang/mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dev-hatang-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@hatang/mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add dev-hatang-mcp --command npx --arg -y --arg @hatang/mcp
```

### Hermes

```yaml
mcp_servers:
  dev-hatang-mcp:
    command: "npx"
    args: ["-y", "@hatang/mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "dev-hatang-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@hatang/mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add dev-hatang-mcp -t stdio -c npx -a -y @hatang/mcp
```

### Other

```json
{
  "mcpServers": {
    "dev-hatang-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hatang/mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-04 (score 62, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-03 (score 47)

First indexed and scored.

## MCP tools (22)

### `search_docs` (~75 tokens)

Search the Ha Tang developer docs (guides, SDKs, API reference). Returns page titles, summaries and Markdown URLs to pass to read_doc.

Input parameters:

- `locale` (string): Docs language, default en
- `query` (string, required): What you need, e.g. 'verify webhook signature' or 'VietQR payment'

### `read_doc` (~71 tokens)

Read one page of the Ha Tang developer docs as Markdown. Takes a hatang.dev/docs URL (with or without .md) or a path such as /docs/guides/email/sending.

Input parameters:

- `url` (string, required): A https://hatang.dev/docs/... or /vi/docs/... URL or path

### `send_email` (~171 tokens)

Send an email from a verified domain (POST /emails). Give html and/or text, or a published template.

Input parameters:

- `bcc`
- `cc`
- `from` (string): Sender, e.g. "Acme <orders@example.com>"; optional when the template sets one
- `html` (string)
- `idempotency_key` (string): Makes retries safe: the same key never sends twice
- `reply_to`
- `scheduled_at` (string): ISO 8601 time to send at
- `subject` (string)
- `template_id` (string): A published template id or alias, instead of html/text
- `template_variables` (object)
- `text` (string)
- `to` (required): Recipient address or up to 50 addresses

### `get_email` (~26 tokens)

Retrieve a sent email with its status.

Input parameters:

- `id` (string, required): The email id

### `list_emails` (~40 tokens)

List sent emails, newest first.

Input parameters:

- `after` (string): Cursor from the previous page's next_cursor
- `limit` (integer): Page size

### `list_templates` (~55 tokens)

List email templates.

Input parameters:

- `after` (string): Cursor from the previous page's next_cursor
- `limit` (integer): Page size
- `q` (string): Search by name or alias
- `status` (string)

### `list_domains` (~16 tokens)

List sending domains with their verification status.

### `get_domain` (~28 tokens)

Retrieve a domain with the DNS records to publish.

Input parameters:

- `id` (string, required): The domain id

### `create_domain` (~51 tokens)

Add a sending domain. The result lists the DKIM, SPF and return-path records to publish before verify_domain.

Input parameters:

- `name` (string, required): e.g. mail.example.com
- `region` (string)

### `verify_domain` (~26 tokens)

Check a domain's DNS records now.

Input parameters:

- `id` (string, required): The domain id

### `create_payment` (~142 tokens)

Create a VietQR bank-transfer payment (POST /payments). The result has the QR payload, the transfer code and a checkout URL.

Input parameters:

- `amount` (integer, required): Amount in VND
- `code` (string): Your own transfer code (6-20 letters and digits), e.g. an order number
- `customer` (object)
- `description` (string)
- `expires_in` (integer): Seconds until the payment expires
- `idempotency_key` (string)
- `ipn_url` (string): Your endpoint for this payment's signed IPN calls
- `metadata` (object)
- `return_url` (string)

### `get_payment` (~25 tokens)

Retrieve a payment and its status.

Input parameters:

- `id` (string, required): The payment id

### `list_payments` (~46 tokens)

List payments, newest first.

Input parameters:

- `after` (string): Cursor from the previous page's next_cursor
- `limit` (integer): Page size
- `status` (string)

### `simulate_transfer` (~61 tokens)

Payments development environment only (HATANG_ENVIRONMENT=development): pretend the payer's bank transfer for a payment arrived, to test IPN and webhooks.

Input parameters:

- `amount` (integer): Defaults to the payment's amount
- `payment_id` (string, required)

### `list_einvoices` (~60 tokens)

List e-invoices (hóa đơn điện tử).

Input parameters:

- `after` (string): Cursor from the previous page's next_cursor
- `limit` (integer): Page size
- `payment_id` (string)
- `status` (string)

### `get_einvoice` (~27 tokens)

Retrieve an e-invoice.

Input parameters:

- `id` (string, required): The e-invoice id

### `list_conversations` (~83 tokens)

List support conversations from every channel (website, apps, Zalo, Messenger, email…), newest activity first.

Input parameters:

- `after` (string): Cursor from the previous page's next_cursor
- `limit` (integer): Page size
- `q` (string)
- `status` (string)
- `unanswered` (boolean): Only conversations where the customer spoke last

### `get_conversation` (~41 tokens)

Retrieve a conversation and its latest messages.

Input parameters:

- `id` (string, required): The conversation id
- `limit` (integer): Messages to return, default 30

### `send_message` (~65 tokens)

Reply in a conversation as an agent, or add a private note the customer never sees.

Input parameters:

- `content` (string, required)
- `conversation_id` (string, required)
- `idempotency_key` (string)
- `private` (boolean): An internal note instead of a reply

### `list_customers` (~59 tokens)

List or search customers (people who contacted the business on any channel).

Input parameters:

- `after` (string): Cursor from the previous page's next_cursor
- `limit` (integer): Page size
- `q` (string): Name, email or phone

### `knowledge_search` (~52 tokens)

Search the knowledge the AI assistant answers customers from, as it would.

Input parameters:

- `limit` (integer)
- `locale` (string): e.g. "vi" or "en"
- `q` (string, required)

### `knowledge_upsert` (~111 tokens)

Create or replace a knowledge document (Markdown) that the AI assistant answers from, under your own id.

Input parameters:

- `collection` (string)
- `content` (string, required): Markdown or plain text, up to 200,000 characters
- `id` (string, required): Your id for the document, e.g. a page slug
- `locale` (string)
- `tags` (array)
- `title` (string, required)
- `url` (string): Where the document lives, cited in answers

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/dev-hatang-mcp/hatang-mcp#diagnostics

## Score history

- 2026-11-04: 62
- 2026-11-03: 47

## Common questions

### What is the Ha Tang MCP server?

Ha Tang is an MCP server listed in the public MCP registry as dev.hatang/mcp. Ha Tang docs and API for agents: email, VietQR payments, e-invoices, support inbox (Vietnam). This page covers its npm package (@hatang/mcp).

### Is the Ha Tang MCP server safe to use?

Ha Tang scores 62 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Ha Tang MCP server expose?

Ha Tang exposes 22 tools: search_docs, read_doc, send_email, get_email, list_emails, and 17 more. Their descriptions and schemas cost roughly 1,331 tokens of context every time the server is loaded.

### Is the Ha Tang MCP server still maintained?

Ha Tang is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Ha Tang MCP server under?

Ha Tang declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@hatang/mcp
- Socket report: https://socket.dev/npm/package/@hatang/mcp
- Website: https://hatang.dev/docs/guides/sdks/mcp
- Changelog RSS feed: https://verifymcp.io/servers/dev-hatang-mcp/hatang-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/dev-hatang-mcp/hatang-mcp.json
- HTML version of this page: https://verifymcp.io/servers/dev-hatang-mcp/hatang-mcp
