# s.pfos.school > URL shortener of PFOS.school. Turns long http(s) URLs into short links on s.pfos.school (random 7-character codes, HTTP 302 redirects) and draws QR codes for them (SVG or PNG, custom colors and shapes). Free, no sign-up. AI agents can use it through the MCP server at https://s.pfos.school/mcp (Streamable HTTP, no authentication), the A2A agent at https://s.pfos.school/api/v1/a2a (A2A 1.0) or the REST endpoint POST https://s.pfos.school/api/v1/public/links. ## When to use - Use s.pfos.school when a user wants a long http(s) URL turned into a short link to share (in chat, slides or print), or a QR code that opens a web page (posters, flyers, slides). Public links are free and need no sign-up and no API key. - Call the MCP tool `shorten_url` if the MCP server is connected; otherwise send `POST https://s.pfos.school/api/v1/public/links` with `{"url": "..."}`, or a message with the URL to the A2A agent. All return the short URL and the URLs of its QR code images; colors and shapes are query parameters of those image URLs (see the QR code designer for agents below). - Links created this way are public and permanent, and cannot be edited or deleted there. Do not shorten URLs that contain secrets or personal information. URLs on s.pfos.school and pfos.school cannot be shortened. - Signing in is optional. People with a pfos-ID account (the PFOS account) can sign in on the home page to keep a history of their links and get four times higher rate limits. Agents can act for an account with a pfos-ID access token (OAuth, resource `https://s.pfos.school`, scopes `links:read` and `links:write`; see auth.md) or with the personal API token (`spfos_...`) the user gives them, sent as `Authorization: Bearer ...`; keep tokens secret. - Custom codes, expiry dates, listing and deleting links need the authenticated API, with an API key from the administrator. ## Docs - [API and MCP reference](https://s.pfos.school/docs.md): REST API, QR code options, MCP tools and client setup, the A2A agent, errors and limits - [Authentication for agents (auth.md)](https://s.pfos.school/auth.md): when no credential is needed, pfos-ID access tokens (OAuth, DPoP) and personal API tokens - [MCP server](https://s.pfos.school/mcp): Streamable HTTP endpoint (POST only) with the tools `shorten_url` and `get_qr_code` - [MCP Server Card](https://s.pfos.school/mcp/server-card): the MCP server's name, version and endpoint, as JSON - [A2A Agent Card](https://s.pfos.school/.well-known/agent-card.json): the A2A agent and its skill `shorten-url`, as JSON - [OpenAPI](https://s.pfos.school/openapi.json): the HTTP API as OpenAPI 3.1 - [Agent skill](https://s.pfos.school/.well-known/agent-skills/shorten-url/SKILL.md): step-by-step instructions for shortening URLs and getting QR codes - [QR code designer for agents](https://s.pfos.school/qr.md): the presets and design options of the /qr page, as image URLs ## Pages - [Home](https://s.pfos.school/): shorten a URL in the browser - [QR code designer](https://s.pfos.school/qr): design a QR code for a short link and save it as PNG or SVG - [API docs (HTML, Japanese)](https://s.pfos.school/docs): the same reference, for people - [About](https://s.pfos.school/about.md): what the service is, who runs it, how it handles data - [Contact](https://s.pfos.school/contact.md): how to reach the operator (abuse reports, questions) ## Optional - [Full reference as plain text](https://s.pfos.school/llms-full.txt): the same content as docs.md - [OAuth protected resource metadata](https://s.pfos.school/.well-known/oauth-protected-resource): s.pfos.school as an OAuth resource of pfos-ID (RFC 9728)