# ScreenCommand for AI agents and developers

Everything here is public: no sign-in, no API key. See [auth.md](/auth.md).

## Read the site

- `GET` any page with `Accept: text/markdown` and you get that page as markdown, in its language. Browsers still get HTML from the same URL.
- [/llms.txt](/llms.txt) is the short version, and [/about.txt](/about.txt) the product summary. Both also exist under each language, such as `/es/llms.txt`.
- [/sitemap.xml](/sitemap.xml) lists every page.

```bash
curl -H 'Accept: text/markdown' https://screencommand.app/faq
curl -H 'Accept: text/markdown' https://screencommand.app/es/faq
```

## Ask the agent

`POST /api/a2a` is an [A2A](https://a2a-protocol.org) agent over JSON-RPC, described in [/.well-known/agent-card.json](/.well-known/agent-card.json). It follows fixed rules and uses no language model: any message gets the same product summary and links, and your text is not stored.

```bash
curl https://screencommand.app/api/a2a \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "SendMessage", "params": {"message": {"messageId": "1", "role": "ROLE_USER", "parts": [{"text": "What is ScreenCommand?"}]}}}'
```

## Use the MCP server

`POST /api/mcp` is a [Model Context Protocol](https://modelcontextprotocol.io) server over Streamable HTTP, described in [/.well-known/mcp/server-card.json](/.well-known/mcp/server-card.json). No sign-in. Both tools are read-only and rule-based: no language model, no network calls, and the server stores and logs nothing of what it is asked (Vercel keeps its standard request logs, as the [privacy policy](/privacy) says).

- **`check_device`** answers what one iPad or iPhone does with a TV or monitor: extends or only mirrors on its newest iPadOS or iOS, port, the adapter or cable that works, best wired resolution and refresh rate, Stage Manager on an external display, Apple's Tech Specs links, the date the data was checked, and a guide on this site. Arguments: `device` (a model name in any common form, or an A-number from Settings > General > About) and optional `wants_web_browser` (true when the person wants websites on the TV). It covers every iPad released since 2018 and every iPhone with USB-C, from the same table as the [checker on this site](/guides/ipad-extended-display). A name that fits several models, or none, returns the candidates instead of a guess. Answers come as markdown text plus `structuredContent` that follows the tool's `outputSchema`.
- **`get_product_overview`** takes no arguments and returns the same summary as the agent above.

Instructions for assistants are in [/.well-known/agent-skills/index.json](/.well-known/agent-skills/index.json).

```bash
curl https://screencommand.app/api/mcp \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "check_device", "arguments": {"device": "iPad Air M2"}}}'
```

All of this is listed in [/.well-known/api-catalog](/.well-known/api-catalog) and described in [/openapi.json](/openapi.json).

Questions: support [at] screencommand.app.
