chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.3.1 Latest 5 packages
0
0
{
"lexicon": 1,
"id": "place.hud.setTheme",
"description": "Choose the theme the workspace is drawn in.",
"defs": {
"main": {
"type": "procedure",
"description": "Draw the person's workspace in a theme, wherever they are signed in: one of HUD's, by key, or anyone's place.hud.theme, by uri, its colours copied as they are now; or with neither, in the system's light or dark. Their other pages and apps are told the workspace changed (place.hud.defs#canvasesEvent), and draw it so too. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"maxLength": 64,
"description": "One of HUD's themes, as getWorkspace's themes name them."
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "A person's theme: a place.hud.theme record."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {
"theme": {
"type": "ref",
"ref": "place.hud.defs#theme",
"description": "The theme chosen now, as getWorkspace gives it; absent, the system's."
}
}
}
},
"errors": [
{
"name": "InvalidRequest",
"description": "Both key and uri; no theme of that key; or a record that is not a place.hud.theme whose every text reads at 4.5:1."
},
{
"name": "NotFound",
"description": "No such record."
},
{
"name": "AuthRequired",
"description": "No live web session or HUD access token: sign in."
}
]
}
}
}