> 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.

## Agent API — find an endpoint, read its price, verify your key

<ChangelogTags>agent-api</ChangelogTags>

Three public, read-only routes and one account route let an agent choose and price a call before it spends anything. `GET /v1/catalog` lists every endpoint family with the price the ledger debits (`?q=` ranks entries by fit, then price), `GET /v1/catalog/{id}` returns one entry plus a ready native request and its `curl`, `GET /SKILL.md` is a skill file an agent installs with one line, and `GET /v1/account` returns the key's balance. All four are generated from the same code that mounts and bills every proxy. Guide: [Agent API](/agent-api).

## Remote MCP server at /mcp

<ChangelogTags>mcp</ChangelogTags>

NativePort speaks the Model Context Protocol over Streamable HTTP at `https://api.nativeport.ai/mcp`, authenticated with your API key in the `Authorization` header. Four tools mirror the Agent API — `find_endpoints`, `inspect_endpoint`, `call_endpoint` (debits the balance and runs the ordinary gateway route, so billing, logging and every restriction apply exactly as for a direct call) and `account` — plus the skill as the `nativeport://skill` resource. Client configuration for Claude Code, Cursor, Codex and OpenCode: [Set up with MCP](/mcp).