~ 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 · 1.9 KB Raw History
{
	"$type": "place.hud.view",
	"collection": "fm.plyr.track",
	"app": "plyr.fm",
	"activity": "Uploaded",
	"profile": { "title": "Tracks", "limit": 3 },
	"description": "plyr.fm tracks an artist uploaded, to play",
	"pageSize": 50,
	"origins": [
		"https://api.plyr.fm",
		"https://audio.plyr.fm",
		"https://3e9ba01cd687b3c4d29033908177072e.r2.cloudflarestorage.com",
		"https://images.plyr.fm",
		"https://pub-d4ed8a1e39d44dac85263d86ad5676fd.r2.dev",
		"https://pub-7ea7ea9a6f224f4f8c0321a2bb008c5a.r2.dev"
	],
	"list": {
		"summary": {
			"noun": ["track", "tracks"],
			"label": { "$": "value.title" }
		},
		"layout": {
			"component": "Player",
			"props": {
				"items": { "$": "records" },
				"src": { "$": ["value.audioBlob", "value.audioUrl"] },
				"title": { "$": "value.title" },
				"subtitle": { "$": "value.artist" },
				"subtitleHref": { "$": "did" },
				"duration": { "$": "value.duration" },
				"art": { "$": ["value.imageBlob", "value.imageUrl"] }
			}
		}
	},
	"record": {
		"summary": {
			"noun": ["track", "tracks"],
			"label": { "$": "value.title" }
		},
		"layout": {
			"component": "Stack",
			"props": { "gap": "md" },
			"children": [
				{
					"component": "Header",
					"props": {
						"title": { "$": "value.title" },
						"subtitle": { "$": "value.artist" },
						"image": { "$": ["value.imageBlob", "value.imageUrl"] },
						"meta": [{ "$": "value.album" }, { "$": ["handle", "did"] }]
					}
				},
				{
					"component": "Player",
					"props": {
						"items": { "$": "records" },
						"src": { "$": ["value.audioBlob", "value.audioUrl"] },
						"title": { "$": "value.title" },
						"subtitle": { "$": "value.artist" },
						"subtitleHref": { "$": "did" },
						"duration": { "$": "value.duration" },
						"art": { "$": ["value.imageBlob", "value.imageUrl"] }
					}
				},
				{ "component": "Text", "props": { "value": { "$": "value.description" } } }
			]
		}
	}
}