Ha Tang
Docs, email, VietQR payments and support inbox for Ha Tang, in your coding agent
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
- 4 days ago
Similar MCP servers
About Ha Tang
Ha Tang is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
A local stdio server on Node 20+ that gives a coding agent both reading and writing access to Ha Tang, a Vietnamese developer platform. Without an API key only the docs tools work, so an agent can read current documentation while it writes an integration.
With a key created under Settings, API Keys, it can send email, add and verify sending domains, create VietQR bank-transfer payments, list e-invoices, work the support inbox and write knowledge for the AI assistant. Payments default to a development environment where no money moves, and simulate_transfer fires IPN and webhooks as if the payer had paid.
A --read-only flag registers only the reading tools. Write tools carry MCP annotations so clients ask before running them. The server talks only to api.hatang.dev and hatang.dev docs.
Install
Run in a terminal
claude mcp add mcp --env HATANG_API_KEY='<HATANG_API_KEY>' -- npx -y @hatang/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@hatang/mcp"
],
"env": {
"HATANG_API_KEY": "<HATANG_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@hatang/mcp"
],
"env": {
"HATANG_API_KEY": "<HATANG_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hatang/mcp"
],
"env": {
"HATANG_API_KEY": "<HATANG_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@hatang/mcp"
],
"env": {
"HATANG_API_KEY": "<HATANG_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@hatang/mcp"
],
"env": {
"HATANG_API_KEY": "<HATANG_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
HATANG_API_KEYAPI key from the Ha Tang dashboard (Settings → API Keys). Without one only the docs tools work.HATANG_ENVIRONMENTPayments environment: development (no money moves) or production.
Tools this server provides (22)
Taken from the project documentation; the running server may differ.
- search_docs
- Searches the docs in English or Vietnamese.
- read_doc
- Reads one docs page as Markdown.
- send_email
- Sends an email with html, text or a template.
- get_email
- Gets a sent email and its status.
- list_emails
- Lists sent emails.
- list_templates
- Lists email templates.
- list_domains
- Lists sending domains.
- get_domain
- Gets a domain and its DNS records.
- create_domain
- Adds a sending domain.
- verify_domain
- Checks a domain's DNS records.
- create_payment
- Creates a VietQR bank-transfer payment.
- get_payment
- Gets a payment and its status.
- list_payments
- Lists payments.
- simulate_transfer
- Development only: simulates the payer's transfer arriving.
- list_einvoices
- Lists e-invoices.
- get_einvoice
- Gets one e-invoice.
- list_conversations
- Lists support inbox conversations.
- get_conversation
- Gets a conversation with latest messages.
- send_message
- Replies in a conversation or adds a private note.
- list_customers
- Searches customers by name, email or phone.
- knowledge_search
- Searches the assistant's knowledge.
- knowledge_upsert
- Creates or replaces a knowledge document.
What it does
- Docs search
- search_docs and read_doc cover the docs in English or Vietnamese.
- Email sending
- Send with html, text or templates, and check domain DNS records.
- VietQR payments
- Create payments and simulate a transfer in development.
- E-invoices
- List and fetch e-invoices.
- Support inbox
- Read conversations, reply, add private notes, list customers.
- Read-only mode
- A flag limits the server to tools that read.
Good for
- Add order confirmation emails to an app
- Test a VietQR payment flow with a simulated transfer
- Check which DNS records a sending domain lacks
- Summarise unanswered support conversations
- Load an FAQ file into the assistant's knowledge
Ha Tang FAQ
Do I need an API key?
Only for the API tools; search_docs and read_doc work without one.
Can it move real money?
Only if HATANG_ENVIRONMENT is production; keep it on development while building.
How do I install it in Claude Code?
Run claude mcp add hatang with the env vars, then npx -y @hatang/mcp.
Can I stop it changing data?
Yes, start it with --read-only.
How do I add Ha Tang to Claude Code?
Run this command in your terminal: claude mcp add mcp --env HATANG_API_KEY='<HATANG_API_KEY>' -- npx -y @hatang/mcp
What are the best alternatives to Ha Tang?
The closest alternatives to Ha Tang are Monapay MCP, Vaartix, Dead Simple Email, Hypamoon and Telegram Tools.
Where this comes from
- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.