AI-native
Ang tea API bilang isang MCP server.
Ikonekta ang Claude Desktop, Cowork, o anumang MCP client sa ensiklopedya ng tsaa-tsino — 450 na tsaa sa 72 wika, pagtitimpla, terroir, kemistri, enrichment at isang 2,623-term na glossary, na inilantad bilang walong tool.
Endpoint server.py REST docsHosted — kumonekta sa pamamagitan ng URL walang install
Ituro ang anumang MCP client na sumusuporta sa remote (Streamable HTTP) servers sa:
https://api.thetea.app/mcp
Add an Authorization: Bearer tt_… header to use a paid key — free works without one (English only).
Mga kliyenteng nagbabasa ng remote servers mula sa JSON:
{
"mcpServers": {
"thetea": {
"url": "https://api.thetea.app/mcp",
"headers": { "Authorization": "Bearer tt_your_key" }
}
}
}
Stdio-only clients (some Claude Desktop builds) can bridge with mcp-remote:
{
"mcpServers": {
"thetea": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.thetea.app/mcp",
"--header", "Authorization: Bearer tt_your_key"]
}
}
}
Alternatibo — lokal na Python server
- Install the runtime:
pip install "mcp[cli]" httpx - I-save server.py sa kung saan, tandaan ang absolute path nito.
- Add it to
claude_desktop_config.json:
{
"mcpServers": {
"thetea": {
"command": "python3",
"args": ["/absolute/path/to/server.py"],
"env": { "THETEA_KEY": "tt_your_paid_key" }
}
}
}
Isang bayad na key mula sa pahina ng pagpepresyo ina-unlock ang 7 wika (Pro) o lahat ng 72 (Expert / Lifetime).
Mga nakalantad na tool
- search_tea
- list_teas
- get_tea
- get_field
- compare_teas
- random_tea
- glosaryo
- tea_map
Iba pang paraan para makapasok
Ang parehong data ay isa ring payak na REST API, isang OpenAPI spec para sa GPT Actions, at isang llms.txt.