Ha Tang MCP Server
Ha Tang docs and API for agents: email, VietQR payments, e-invoices, support inbox (Vietnam).
Ha Tang scores 55 (Fair), with no SPDX license recorded. It installs as a local process. It does not declare tools yet. Filed under Communication, Finance. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
55 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade D
50/100 for listing completeness. Lost points: short README, no listed tools, no repository link.
How quality is graded
Where the 55 comes from
22 + 20 + 0 + 0 + 10 + 3 = 55. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "hatang-mcp": { "command": "npx", "args": [ "-y", "@hatang/mcp@0.1.1" ], "env": { "HATANG_API_KEY": "YOUR_HATANG_API_KEY", "HATANG_ENVIRONMENT": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
HATANG_API_KEYSecret | Optional | API key from the Ha Tang dashboard (Settings → API Keys). Without one only the docs tools work. |
HATANG_ENVIRONMENT | Optional | Payments environment: development (no money moves) or production. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
@hatang/mcp
The Ha Tang MCP server. It lets Claude Code, Cursor, VS Code, Windsurf and any other Model Context Protocol client read the Ha Tang developer docs and call the API: send email, create VietQR payments, read e-invoices, work the support inbox and teach the AI assistant.
Install
Claude Code:
claude mcp add hatang --env HATANG_API_KEY=ht_... -- npx -y @hatang/mcp
Cursor (.cursor/mcp.json), Windsurf and other clients that take a JSON config:
{
"mcpServers": {
"hatang": {
"command": "npx",
"args": ["-y", "@hatang/mcp"],
"env": { "HATANG_API_KEY": "ht_...", "HATANG_ENVIRONMENT": "development" }
}
}
}
VS Code (.vscode/mcp.json):
{
"servers": {
"hatang": { "command": "npx", "args": ["-y", "@hatang/mcp"], "env": { "HATANG_API_KEY": "${input:hatang-key}" } }
},
"inputs": [{ "id": "hatang-key", "type": "promptString", "description": "Ha Tang API key", "password": true }]
}
The docs tools work without a key. Create a key in the dashboard under Settings → API Keys, with only the scopes the agent needs.
| Variable | |
|---|---|
HATANG_API_KEY | API key (ht_...) |
HATANG_ENVIRONMENT | Payments environment: development (no money moves, transfers can be simulated) or production |
HATANG_BASE_URL | Default https://api.hatang.dev |
Add --read-only to the args to register only the tools that read.
Tools
| Tool | What it does |
|---|---|
search_docs, read_doc | Search the developer docs and read a page as Markdown (no key needed) |
send_email, get_email, list_emails, list_templates | Transactional email |
list_domains, get_domain, create_domain, verify_domain | Sending domains and their DNS records |
create_payment, get_payment, list_payments, simulate_transfer | VietQR bank-transfer payments |
list_einvoices, get_einvoice | E-invoices (hóa đơn điện tử) |
list_conversations, get_conversation, send_message, list_customers | The support inbox: website, apps, Zalo, Messenger, email… |
knowledge_search, knowledge_upsert | What the AI assistant answers customers from |
Tools that send, create or change something are marked as such, so your client asks before running them.
Docs
hatang.dev/docs/guides/sdks/mcp · for code, use the Node.js SDK and the other SDKs.
About Ha Tang
Ha Tang (Hạ Tầng) is a customer support platform for businesses in Vietnam: one inbox for your website, mobile app, Zalo, Messenger, Instagram, TikTok Shop, WhatsApp and email, with an AI assistant, plus a transactional email API, VietQR payments and e-invoices.
- Product: hatang.dev
- Guide: Ha Tang MCP server (Tiếng Việt)
- REST API: hatang.dev/docs/reference/api
- AI coding agents: MCP server and rules
- Changelog: hatang.dev/docs/changelog
- Support: hatang.dev/contact
Frequently asked questions
What is Ha Tang MCP Server?
Ha Tang docs and API for agents: email, VietQR payments, e-invoices, support inbox (Vietnam).
How do I install Ha Tang MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Ha Tang MCP Server runs locally from the npm package @hatang/mcp with the command npx -y @hatang/mcp@0.1.1.
Does Ha Tang MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Ha Tang MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Ha Tang MCP Server's trust score calculated?
Ha Tang MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.