nomadro/packages/sdk/README.md
Eric ffa456afdf Ship social join profile + SeaweedFS avatars, notify/coffee, and .com audience stack.
Pay-then-profile join desk with live card, S3 upload fallback, hydration-safe drafts; document on test9 README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-04 02:25:05 +08:00

30 lines
612 B
Markdown

# `@nomadro/sdk`
Stable Nomadro client + public contract.
## Public API
- Prefix: `/api/public/v1`
- OpenAPI: `/api/public/v1/openapi.json`
- Tool SoT: [`tools.json`](./tools.json)
Default host: **`https://nomadro.com`**.
```ts
import { createNomadroClient } from "@nomadro/sdk";
const api = createNomadroClient({ baseUrl: "https://nomadro.com" });
await api.health();
await api.listMapCities();
await api.callTool("searchCities", { q: "清迈" });
```
## MCP
```bash
pnpm mcp
# NOMADRO_PUBLIC_ORIGIN=https://nomadro.com node packages/mcp/src/cli.mjs
```
See `.cursor/skills/nomadro-platform/SKILL.md`.