Agent API — find an endpoint, read its price, verify your key
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.
Remote MCP server at /mcp
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.