Skip to main content

Prompt: a public MCP + OpenAPI catalog for AI agents

Paste this into Claude Code, Cursor or Codex inside your repo. The agent maps the public data you already show, then adds a read-only MCP server, OpenAPI, well-known discovery files and a tiny CLI that return the same facts as the HTML. No API key for reads, no second 'AI-only' database.


Copy prompt

The prompt

Paste it into an agent that has your repo open. It plans first and waits for your OK before writing code.

87 lines · ~1,480 tokens

Or paste one line

Fetch https://www.scrolllaunch.com/prompts/public-agent-api.md and carry out the prompt in its "Prompt" section on this repo. Show me your plan before writing code.

For agents that can fetch URLs. The agent pulls the full prompt from this page's markdown version, which includes the last step above.

What you get

What your repo has when the agent is done

  • A plan table: tool/endpoint, the HTML page it mirrors, auth, rate limit
  • 3-7 public read tools (search, get-one, one snapshot) with hard limit caps
  • POST /api/mcp (or equivalent) plus /.well-known/mcp.json generated from the same tool list
  • OpenAPI 3.1 at a stable URL and REST paths that match it
  • A one-file CLI that calls the read endpoints with no API key
  • Human docs at /mcp and /cli with copy-paste client config
  • Private fields (email, tokens, payment ids) never appear in responses

The result

ScrollLaunch ships the same setup

These are live on this site. Open them to see what a passing result looks like.

Check your result

Deployed? Score your site

Runs your live URL through the free GEO / AI Citation Checker. Free AI citation readiness checker - llms.txt, ai.txt, robots, JSON-LD, markdown twins. No fake ChatGPT rankings.

The GEO checker awards the last 5 points for an MCP discovery file. The AI-readable-site prompt skips MCP on purpose; this prompt is the one that should fill it. A 100 requires markdown twins as well, so run that prompt first if those files are missing.

How to use

4 steps from paste to deploy

  1. 1

    Open your repo in a coding agent

    Claude Code, Cursor (agent mode), Codex or Windsurf, with the public pages runnable locally.

  2. 2

    Paste the prompt and check the catalog table

    Cut any tool that would expose email, drafts, admin flags or payment ids. Ship search + get-one first.

  3. 3

    Say OK, then hit the well-known file

    The agent wires MCP, OpenAPI and the CLI from one tool list. curl /.well-known/mcp.json and confirm the names match.

  4. 4

    Deploy and score MCP discovery

    Run your live origin through the GEO checker. The MCP line should pass.

Next

Shipped it? Put it in front of people

Launch on ScrollLaunch

A week on the leaderboard and a permanent product page with a markdown version that AI agents can read. Free launches get a dofollow backlink while the badge stays on your site.

Questions

Public agent API prompt FAQ

Do I need an API key?

Not for reads. Public search and get-one should work without one, the same way the HTML does. Add keys only if you later ask for write tools.

Is this the same as llms.txt?

No. llms.txt is a map of pages. MCP and OpenAPI let an agent call a tool or HTTP path and get JSON. Run the AI-readable-site prompt for markdown twins; this one is the callable catalog.

Will this get me cited by ChatGPT?

It makes you callable. Citations still come from pages that state a fact. Pair this with the data-pages prompt if you want quote-ready numbers.

More prompts

Other prompts