> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nativeport.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nativeport.ai/_mcp/server.

## `nativeport` CLI — the Agent API from any shell

<ChangelogTags>cli</ChangelogTags>

`@nativeport/cli`, also published under the alias `nativeport`, is a zero-dependency Node 20+ command over the Agent API: `npx nativeport@latest login` stores the key once, then `find`, `inspect`, `call`, `account`, `catalog`, `skill [--install]` and `mcp [--client claude|cursor|json]` do the rest. Every command accepts `--json`, and the exit codes separate a missing key (2), insufficient credits (3), a restricted key (4) and a provider error (5) so an agent can branch on them. Guide: [Set up with CLI](/cli).