~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0

previewView may not be held to /mcp's rate limits

Open
Open chadtmiller.com opened this issue 0 comments

What happened

place.hud.previewView (the playground's method, from at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/hud/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n2resxyyqzcg) needs no sign-in. Without an answer it runs list_records, get_record or query exactly as /mcp does, so it reaches PDSes and AppViews as no one. Its input may be 4 MiB. Nothing in HUD limits how often one caller may do that, and whether hud.place's proxy limits it depends on whether its limits are per route: if /mcp is limited and /xrpc/* isn't, previewView is an unlimited way around it. Raised, non-blocking, in the review of at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/hud/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n2resxyyqzcg.

How to see it

POST /xrpc/place.hud.previewView with no cookie or token, in a loop, as {"tool": "query", "arguments": {"method": "app.bsky.actor.getProfile", "params": {"actor": "danabra.mov"}, "view": {…}}}. Each call reads the AppView. I haven't looked at hud.place's proxy configuration (/etc/hud), so whether anything stops it there is unknown.

What you expected

previewView held to the same limits as /mcp's anonymous tool calls, wherever those live.

Where

hud.place, once at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/hud/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n2resxyyqzcg is deployed.