Enables AI agents to browse, recommend, and purchase authentic Chinese tea using USDC via the x402 protocol.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Hou Tea MCP Server.
Agent-app MCP server for hou-tea.com โ let your AI agent browse, recommend, and buy authentic Chinese tea with USDC via the x402 protocol.
Designed for Claude Desktop, Cursor, Cline, Continue, Zed, and any Model Context Protocol compatible AI agent.
v0.3.0-beta - server now ships as an agent app layer, not just a tool list: progressive tool discovery (core + extended), strict JSON Schemas, structured response/error envelopes (
ok,data,error,next_action,meta.request_id), stable error codes, explicit hand-off hints to wallet MCPs, and MCP Apps UI metadata backed by the public@hou-tea/agent-ui-contractpackage. See What changed in 0.3.0 below.
Exposes the hou-tea agent API as MCP tools so your AI assistant can shop on your behalf.
Default tools/list (core + meta) โ always visible:
| Tool | What it does |
|---|---|
hou_tea_browse | List tea catalog with filters (category, price, season, difficulty) |
hou_tea_recommend | Natural-language recommendations: "warming tea for cold winter nights" |
hou_tea_explain | Deep dive on one product: brewing guide, story, health info |
hou_tea_get_payment_requirements | Initiate x402 payment intent (returns recipient + amount; auto register_buyer_list_token / buyer_list_token for buyer order history) |
hou_tea_check_order | Poll order status after payment |
hou_tea_list_my_orders | List your x402 orders by buyer_list_token (Bearer; uses HOU_TEA_BUYER_LIST_TOKEN env) |
hou_tea_discover_extended | Reveal extended tools (compare / health-filter / agent-card) on demand |
Extended (revealed after hou_tea_discover_extended):
| Tool | What it does |
|---|---|
hou_tea_compare | Side-by-side comparison of 2โ4 candidates |
hou_tea_filter_by_health | Filter by conditions: pregnant, insomnia, caffeine sensitive |
hou_tea_agent_card | Fetch full agent capability descriptor (diagnostics) |
Payment is handled by an x402-capable wallet MCP (e.g. @coinbase/payments-mcp) โ this server only emits payment intents, it never holds keys or signs transactions.
Edit claude_desktop_config.json (Settings โ Developer โ Edit Config):
Restart Claude Desktop. You should see "hou-tea" listed under tools.
Add to ~/.cursor/mcp.json or <project>/.cursor/mcp.json:
Same npx -y @hou-tea/mcp-server@next invocation in their MCP config.
Hou Tea emits x402 payment requirements, but it does not hold keys or sign
transactions. For agent-native checkout, pair this MCP with an x402-capable
wallet MCP such as @coinbase/payments-mcp:
Fund the wallet with Base USDC before asking the agent to buy. After the first
successful purchase, copy the returned buyer_list_token into
HOU_TEA_BUYER_LIST_TOKEN so future order history queries stay scoped to the
same buyer identity.
After install, ask your agent:
"Recommend a warming tea for winter nights, around $30."
The agent will call hou_tea_recommend, return real products with prices and brewing notes, then offer to buy.
"I'll take the first one."
The agent calls hou_tea_get_payment_requirements, gets back a 402 with the merchant's Base-chain USDC address and amount, plus a buy_request_body field (includes register_buyer_list_token or your saved buyer_list_token). The retry POST to /pay/api/v1/buy after paying must use that exact JSON body plus the X-Payment header โ otherwise buyer grouping breaks. If you've also installed @coinbase/payments-mcp with a funded wallet, configure it to forward the same body. After the first successful purchase, copy buyer_list_token from the JSON response into MCP env HOU_TEA_BUYER_LIST_TOKEN so hou_tea_list_my_orders and future checkouts stay under one identity.
All settings via environment variables (optional):
| Env var | Default | Purpose |
|---|---|---|
HOU_TEA_API_BASE | https://hou-tea.com | Override API host (e.g. for staging). |
HOU_TEA_PAY_BASE | https://hou-tea.com/pay | Override x402 middleware host. |
HOU_TEA_STORE_ID | fengshui | Default store_id. |
HOU_TEA_AGENT_KEY | (none) | Optional X-Agent-Key for higher rate limits / private skills. Contact support@hou-tea.com. |
HOU_TEA_BUYER_LIST_TOKEN | (none) | After first successful /buy, paste the buyer_list_token from the response. Future hou_tea_get_payment_requirements calls send this as buyer_list_token; enables hou_tea_list_my_orders. |
HOU_TEA_AUTO_REGISTER_BUYER_LIST_TOKEN | true | Set to false to stop sending register_buyer_list_token / buyer_list_token on /buy (legacy behavior). |
Most users need none of these โ the public catalog and x402 buy endpoint are open. For buyer order history, set HOU_TEA_BUYER_LIST_TOKEN once you have it from a confirmed purchase.
The next beta exposes MCP Apps metadata for hosts that can render structured
tool results. The shared UI contract is public:
The contract currently defines:
| Component | Used by |
|---|---|
TeaRecommendationGrid | hou_tea_browse, hou_tea_recommend |
PaymentReviewCard | hou_tea_get_payment_requirements |
OrderTimeline | hou_tea_check_order, hou_tea_list_my_orders |
Tool descriptors include _meta.ui.component, _meta.ui.schemaVersion,
_meta.ui.resourceUri, and _meta.ui.resultMappingId. MCP hosts can read the
matching resource URI and inspect the embedded agent-ui/v1 manifest.
Public discovery:
https://hou-tea.com/.well-known/agenthttps://shop.hou-tea.com/agentshttps://shop.hou-tea.com/api/agent-ui-contractnpx -y @hou-tea/mcp-server@next --help in a terminal to confirm npm can
download the package.buy_request_body returned
by hou_tea_get_payment_requirements.HOU_TEA_BUYER_LIST_TOKEN from a confirmed
purchase response. Without it, hou_tea_list_my_orders cannot scope the
buyer safely.npm i -g @hou-tea/mcp-server@next and point the MCP config command to
hou-tea-mcp.This release adds the public Agent UI protocol layer:
Public MCP Apps manifests. Core buying tools now advertise UI metadata
through _meta.ui, including component name, agent-ui/v1 schema version,
resource URI, and result mapping ID.
Shared npm contract. @hou-tea/agent-ui-contract is published as the
single source of truth for component manifests, TypeScript types, MCP UI
resource names, and result mappings.
Manifest-backed UI resources. MCP resources/read responses now embed
the exact component manifest in HTML so compatible hosts can render product
grids, payment review cards, and order timelines without scraping text.
External discovery surfaces. The Agent Card and public /agents page
point agents and developers to npm packages, schema JSON, MCP install
snippets, and wallet pairing instructions.
This is a next-tagged beta; install with:
The 0.1.x line keeps working - tool names are unchanged, but the next beta
adds structured envelopes, progressive discovery, and UI metadata.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/jackrain19743-hou-tea-mcp-server)<a href="https://allmcps.com/mcp/jackrain19743-hou-tea-mcp-server"><img src="https://allmcps.com/api/badge/jackrain19743-hou-tea-mcp-server?style=directory" alt="Hou Tea MCP Server on AllMCPs" /></a>