> 518.PLUS is an MCP tool marketplace. Connect to one endpoint with OAuth or an API key, discover tools and call them by name. Tools accept files, text or JSON according to their schemas. Results are returned directly and have a shareable result_url; file items also have page_url and download_url. Use share to create links for files without processing them. ## Quick start 1. Add https://518.plus/mcp to an OAuth-capable MCP client and sign in, or use an API key as the bearer credential: an existing account creates or reveals one at /account/keys; an agent that needs a new account registers at POST /auth/mcp/register. 2. tools/list (or catalog_search) shows each tool's inputs and price; call it with tools/call and a client_ref. ## MCP endpoint - URL: https://518.plus/mcp (Streamable HTTP: stateless HTTP POST, JSON-RPC 2.0) - Protocol versions: 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05 (latest: 2025-11-25) - Auth: one of two bearer credentials — 1. API key, prefix fsk_ (for agents that hold their own secret): use /account/keys for an existing account, or create a new account with POST https://518.plus/auth/mcp/register and a JSON body {} (optionally include username). The response carries {ok, username, password, key}; save the credentials and use key.key as Authorization: Bearer on every MCP request. Keep using that account and key on later connections. 2. OAuth 2.1 (for packaged plugins and platform connectors): PKCE S256 public clients, client identity by CIMD — the client_id IS an HTTPS URL to a JSON metadata document (client_name, redirect_uris, token_endpoint_auth_method "none") that this server fetches and verifies — or by dynamic registration (RFC 7591): POST /oauth/register with your redirect_uris returns a client_id. This registers the client, not a 518 account or an authorization grant. The account owner signs in or registers, then approves the requested permissions in a separate consent step. Start at /.well-known/oauth-authorization-server; tokens are bound to this /mcp resource (the resource parameter may be omitted — it defaults to /mcp). Scopes (granted at consent, enforced per operation): tools:call (execute tools; paid tools spend the account's credits), files:read (list your live files), files:delete (delete your files), tools:publish (publish and manage your own tools); scope tokens outside this vocabulary (e.g. openid, offline_access) are ignored. - Requests without a credential answer 401 with a WWW-Authenticate challenge pointing at /.well-known/oauth-protected-resource. - Agent guide (this file): /llms.txt ## Existing accounts Use the existing account's API key, or let an OAuth client request its owner's consent. Do not create a new account for each connection. A headless program holding its own username and password can use the existing web-account endpoints over HTTPS: POST /auth/login with form fields login and password and Accept: application/json; check ok=true and retain the session cookie. GET /api/keys lists its keys; GET /api/keys/{id}/reveal returns the selected key in the key field. If none exists, POST /api/keys with JSON {"name":"my-agent"} returns key.key. These account-management requests use the session cookie; /mcp uses only the Bearer key. OAuth clients use the browser authorization flow instead of collecting the account password. ## Agent Plugin Download https://518.plus/agent-plugin.zip for the portable 518-plus directory (plugin.json and mcp.json). Extract it and follow your client's Agent Plugins installation instructions. The package connects to the same /mcp endpoint, contains no account credentials, and uses the OAuth or API-key access flow above. ## No-install usage (curl) MCP is plain HTTP POST JSON-RPC — no installation needed: curl -s https://518.plus/mcp \ -H "Authorization: Bearer fsk_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25"}}' curl -s https://518.plus/mcp \ -H "Authorization: Bearer fsk_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' # tools/list is the master list: every public tool plus your own, your pins marked in each tool's _meta (favorite; paginate with params {"cursor":""}). list_favorites lists exactly your pins; pin_tool / unpin_tool manage them. catalog_search filters by keyword — an EMPTY query walks the FULL public catalog page by page (total + total_pages carry the full depth). curl -s https://518.plus/mcp \ -H "Authorization: Bearer fsk_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"share", "arguments":{"files":[{"filename":"a.png","b64":"..."}], "client_ref":"my-stable-op-1"}}}' client_ref is REQUIRED on every executing/staging tools/call (platform tools and create_upload): a stable identity for one logical operation — reuse the same value to retry safely (replays return the original result, no double charge). The discovery/lifecycle meta tools take exactly the arguments their inputSchema declares (catalog_search: q, page; list_uploads: offset; delete_upload: public_id; pin_tool/unpin_tool: name; list_favorites: none). Arguments are strict: each tool accepts exactly the keys its inputSchema declares (plus files/params/delivery/client_ref for platform tools). An unknown key is rejected with -32602 naming it — never silently dropped — so a typo'd parameter cannot look like a successful call. ## Inputs (tools/call) files[] items — 0..20 files per the tool's declared window (body tools take no files — see below); each item is exactly one form: 1. Inline: {"filename":"a.png","b64":""} — one /mcp request body is capped at 16 MB 2. https URL: {"url":"https://example.com/a.png"} — 518 fetches it server-side (public hosts only) 3. Reference: {"public_id":"...","source_token":"..."} to an existing upload of yours — a file item returned by an earlier call is referenced with just {"public_id":"..."} (chain tools without re-uploading) Tool options are FIELDS: pass their values flattened as top-level arguments of tools/call (or inside the params object); use the inputSchema for their types and limits. Constant fields are fixed by the author and not callable input — sending them is rejected. Tools without attachments omit the files argument. ## Results (items) Every call returns an ORDERED list of items (at most 20): {"kind":"text","text":"..."} {"kind":"json","data":{...}} {"kind":"file","filename":"...","content_type":"...","size":N} In tools/call the items arrive directly: structuredContent.items carries them with a download_url per file; small images also appear as image content blocks — unless the image bytes are identical to this call's input (a pass-through share never echoes your own bytes back). The content text block is a READABLE summary (result link, expiry, file list); the machine fields live in structuredContent. result_url is a human-viewable page (/r/{id}). A failed call answers isError with a readable text block and its machine fields in _meta["error"] — isError results carry no structuredContent. ## Delivery (result retention) Tool executions accept an optional `delivery` object that governs how long the result (and its file items) stays available and how many times files may be downloaded: {"delivery": {"expiry_days": 1, "allowed_downloads": 50}} - expiry_days: how long the result lives (default 1). The FULL legal range is [1, 3, 7, 30]; your plan's subset is what each tool's inputSchema enum shows. - allowed_downloads: counted downloads allowed for EACH file item (default 50). FULL range [1, 10, 50, 100, 200, 1000]; your plan's subset is in the schema enum. - Free-plan enums are the smaller sets; membership raises them. A value outside YOUR plan answers as an isError listing your legal values — the schema enum and the error always agree. structuredContent.expires_at is the result's expiry time in epoch seconds. File links also follow each file's expiry and download limit; a file may become unavailable before the result page expires. ## Large files: two-stage upload (bytes never pass through the model) For files too large to inline as base64 (the request body cap is 16 MB), call the free meta tool create_upload first, PUT the raw bytes to the returned one-time URL, then reference the result. Staged files are intermediates, not shares: use the PUT within 10 minutes; the stored copy lives at most 1 day and never appears in list_uploads (only its public_id/source_token reference matters). curl -s https://518.plus/mcp \ -H "Authorization: Bearer fsk_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_upload", "arguments":{"filename":"big.png","size":5242880, "client_ref":"stage-big"}}}' # → {"upload_url":".../mcp/upload/","expires_at":...,"max_bytes":...} curl -s -X PUT --data-binary @big.png "" # → {"public_id":"...","source_token":"..."} (no Authorization header; the URL is the one-time credential, 10-minute expiry) Then tools/call any tool with files[]: [{"public_id":"...","source_token":"..."}]. ## Your live files: list and delete (free meta tools) - list_uploads: your still-live SHARED files (files you shared or that tool calls produced for you — create_upload staging is not listed), newest first, 20 per page, params {"offset":N}) — each entry: public_id, filename, size, content_type, expires_at, downloads_remaining, page_url, download_url. - delete_upload: delete ONE of your own files by public_id — identical to deleting on the web (the /f/{public_id} page 404s immediately; stored bytes and mapping go together). Example: curl -s https://518.plus/mcp \ -H "Authorization: Bearer fsk_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"list_uploads","arguments":{}}}' ## Share links - /f/{id} is the human page; /f/{id}?download=1 is the direct download (302 redirect to the file). - File pages (/f/{public_id}) and result pages (/r/{id}) answer `Accept: application/json` with their facts (file name, size, type, expiry, remaining downloads, download_url) instead of HTML. - Download counts and expiry follow the `delivery` object of the tools/call that produced the file; anonymous download needs no token. ## Billing - Tool calls are metered in credits: 1000 credits = 1 USD. Each tool's description states its price (free or N credits/call); a call is charged when it runs — no confirmation step. Failed calls are refunded automatically; calls to your own tools are free. - Out of credits → the call returns err_insufficient_credits; the account owner logs in and tops up at https://518.plus/pricing, then the agent retries with the same client_ref (never charged twice). Free tools need no credits. ## Limits - Per file: 50 MB (every files[] item and every file a tool produces). - Free accounts: up to 100 files and 1.0 GB per rolling 24 hours. - Free delivery options: expiry_days [1, 3, 7], allowed_downloads [1, 10, 50, 100, 200]. - Membership plans raise the file count, the 24-hour total and the delivery options — see /pricing. ## Publish your own tool Implement the declared HTTPS input/output contract: https://518.plus/developers. Publish with any of three entries: the publish_tool / update_tool MCP meta tools (needs the tools:publish capability), the /v1 REST surface /v1/usertools (fsk_ key with tools:publish), or the web form under Account (session). If your key lacks the capability, create a fresh one at /account/keys. The flow is the same everywhere: publish (new tools land unlisted) -> call the tool once by its exact tool_key (immediately callable, no re-list needed; your own calls are free) -> set visibility=public to enter the market -> manage with list_my_tools / get_my_tool / tool_call_log / delete_tool. Distribute /t/{tool_key} or call the exact key with tools/call. Private tools are owner-only; unlisted tools are callable when their key is known. Never derive a tool key from its display name. A tool's input = attachments (files window + accept list) + fields (enum/number/boolean/text/json, each placed in query, path, body or header; const fields are fixed and hidden). The request assembly declares method (GET/POST), a body encoding (none/json/form/multipart/raw/envelope; envelope carries every field inside its params) and one credential in a header or query parameter. Not supported: async job polling, streaming responses, per-user OAuth, response mapping, pagination. Tool responses are interpreted by Content-Type (items envelope / JSON / text / file); an empty 2xx body or an uninterpretable product fails the call, HTML lands as a file, oversized inline results become files when the tool declares file output. Tool product files count into the caller's 24h ingress quota. A tool failing repeatedly (timeouts, unreachable endpoint, provider 5xx/401/403, non-conforming responses) is auto-paused for public supply; calling a paused tool answers tool_paused. Metadata is plain text: label up to 40 characters and desc up to 200 characters per language. Use an accurate functional name and describe inputs, purpose and results; avoid keyword stuffing or promotional claims. Field labels and placeholders are separate localized texts. ## REST API (/v1) Direct HTTPS JSON/multipart integration (fsk_ Bearer token only, no CORS): - GET /v1/tools, GET /v1/tools/{key} — catalog listing and single-tool projection. - POST /v1/tools/{key} — run a tool (Idempotency-Key header is the client_ref; optional X-518-Expiry-Days / X-518-Allowed-Downloads headers; accepts JSON {params, files} or multipart form fields + file parts). - GET /v1/balance — current credit balance and rolling 24h ingress usage. - GET /v1/topup/crypto/options, POST /v1/topup/crypto/orders, GET /v1/topup/crypto/orders/{id} — programmatic stablecoin top-up (Idempotency-Key required on POST). ## Recommended tools (up to 50; catalog_search lists every public tool) - share: File Share [free] - privacy: AI Watermark Remover [free] - beautify: Social Image Beautifier [free] - compress: Compress [free] - crop_white: Trim Margins [free] - ico: ICO Favicon [free] - img2pdf: Images to PDF [10 credits/call] - pdf_merge: Merge PDF [25 credits/call] - zip_pack: Zip Files [10 credits/call] (server: 518-plus/2.5; this file is generated — do not edit by hand)