Agent-assisted product upload

CLI / MCP Agent Tools

Let Codex, Claude Code, or another agent use FromAsia safely. Suppliers can upload products after a dry-run preview; buyers can search products and prepare order requests through CLI commands.

1. Use scoped access

Use browser OAuth when it is offered, or a scoped revocable fallback token for a compatible CLI client; never share your password.

2. Ask your agent

Give the agent product files, product requirements, or order tasks and ask it to use the FromAsia commands.

3. Confirm after review

Agents should run dry-run checks first. Confirm uploads or order actions only after you review the result.

OAuth setup is temporarily unavailable

OAuth discovery and browser authorization are paused while security is upgraded. Existing revocable fallback tokens continue to work with the CLI and authenticated MCP clients.

Codex and CLI setup

Use MCP when your Codex surface supports it. Otherwise use the FromAsia CLI fallback token from the correct access page.

Supplier CLI dry-run

fromasia supplier products import-json products.json --dry-run --json

Prompt for your agent

Do not share your FromAsia password. Use scoped, revocable access and review every requested permission.

Read these product materials and create FromAsia product JSON.
Preserve names, SKU, unit, package size, price, MOQ, stock, and HTTPS images.
Call preview_product_import first and fix validation errors.
Do not call confirm_product_import until I approve the preview.
FromAsia Foods