Skip to main content
Glama
Scanstone MCP Server

Scanstone MCP Server

README.md
# Scanstone MCP server

Make QR codes and short links that keep working, from Claude, ChatGPT, Grok, Gemini, Cursor or any MCP client.

[Scanstone](https://www.scanstone.ca) makes QR codes and scst.one short links whose redirects never expire, even if you never pay. This repository lists the hosted Scanstone MCP server, its `server.json` for the [official MCP Registry](https://registry.modelcontextprotocol.io), and a skill file that tells an agent when and how to use it.

**Server URL:** `https://www.scanstone.ca/api/mcp` (Streamable HTTP)

It works without an account. To save codes to an account, sign in with Scanstone when your client asks (OAuth 2.1). `https://www.scanstone.ca/api/mcp/account` is the same server with sign-in required.

The connector is free to use. A free Scanstone account holds 10 editable codes or short links.

## Tools

| Tool | What it does | Needs sign-in |
| --- | --- | --- |
| `create_qr` | Creates a QR code: image, PNG and SVG links, and the scst.one short link inside it | No |
| `create_short_link` | Creates a scst.one short link that counts clicks | No |
| `get_scans` | Scan totals, recent days, top countries and devices | No (uses the claim token) |
| `list_my_codes` | Lists codes saved in your account | Yes |
| `update_destination` | Changes where a code points; the printed code stays the same | Yes |

Every tool has a title and `readOnlyHint`, `destructiveHint`, `idempotentHint` and `openWorldHint` annotations.

## Without an account

Before the first code, the assistant must show you this notice and get your yes:

> Without a free Scanstone account, this link may not be kept forever. Do you want to continue without one?

Scanstone stores when you said yes and the notice version (`v1-agent`). Each result includes a claim link. Open it, sign up or log in, and the codes move into your account with the same short links and their scans.

Limits without an account: up to 25 unsaved codes per claim link, plus daily caps to stop abuse.

## Add it to your assistant

- **Claude:** Customize > Connectors > Add > Add custom connector. Paste the server URL, choose "Sign in when needed". If asked how Claude should identify itself, choose "Register automatically".
- **ChatGPT:** Plugins > + > Add custom MCP server. Paste the server URL, choose OAuth or no authentication, then Create as a plugin and install it.
- **Grok:** grok.com/connectors > New Connector > Custom. Paste the server URL.
- **Gemini:** Settings > Connected Apps > Custom apps > Add a custom app. Paste the server URL. (Personal accounts in the US, 18+.)
- **Cursor:** copy [`mcp.json`](mcp.json) into `.cursor/mcp.json`.
- **Any MCP client:** point it at the server URL using Streamable HTTP.

Try: "Make a QR code for https://example.com/menu and tell me how many times it gets scanned."

## Skill

[`skills/scanstone/SKILL.md`](skills/scanstone/SKILL.md) is an Agent Skills file that tells an agent when to reach for Scanstone and how to handle the no-account notice and claim links.

## Authentication

Scanstone's sign-in server is Supabase Auth (OAuth 2.1 with PKCE and dynamic client registration). Discovery:

- Protected resource metadata: `https://www.scanstone.ca/.well-known/oauth-protected-resource`
- Authorization server metadata: `https://mokpddtzkmaxlbjnejvf.supabase.co/.well-known/oauth-authorization-server/auth/v1`

## Privacy

See the [AI connector section of the privacy policy](https://www.scanstone.ca/privacy#ai-connector). Scan analytics store no IP addresses, only coarse country, region and device type.

## Support

Email hello@scanstone.ca.

## License

MIT