~ 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
69 lines · 2.0 KB Raw History
{
	"lexicon": 1,
	"id": "place.hud.getPlayground",
	"description": "What the playground starts from, at /playground.",
	"defs": {
		"main": {
			"type": "query",
			"description": "What the playground starts a view from: the bundled views, to start from one; the component catalog, to complete what is typed; and HUD's themes, to draw it in. The same for everyone. No auth required.",
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"views",
						"catalog",
						"themes"
					],
					"properties": {
						"views": {
							"type": "array",
							"items": {
								"type": "ref",
								"ref": "#bundledView"
							},
							"description": "The bundled views list_records, get_record and query draw, by name; app pages are not among them."
						},
						"catalog": {
							"type": "unknown",
							"description": "The components and the grammar of a view's document, as describe_collection gives them."
						},
						"themes": {
							"type": "array",
							"items": {
								"type": "ref",
								"ref": "place.hud.defs#theme"
							},
							"description": "HUD's themes: light and dark, then the rest, as getWorkspace lists them."
						}
					}
				}
			}
		},
		"bundledView": {
			"type": "object",
			"description": "A view HUD bundles, as a view given inline may be: less what only a bundled view may say at its top (app, records, profile and the like). What its layout does that only a bundled view may, a procedure called or a feed told what was read, stays: a problem the playground shows.",
			"required": [
				"name",
				"app",
				"view"
			],
			"properties": {
				"name": {
					"type": "string",
					"maxLength": 64,
					"description": "Its file's name in views/ without .json, as grain-gallery-view."
				},
				"app": {
					"type": "string",
					"maxLength": 64,
					"description": "The app the bundled view names, as Bluesky."
				},
				"view": {
					"type": "unknown",
					"description": "Its place.hud.view document."
				}
			}
		}
	}
}