~ 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
123 lines · 2.5 KB Raw History
{
	"c": "Menu",
	"p": {
		"label": "More"
	},
	"k": [
		{
			"c": "Link",
			"p": {
				"label": "Share profile",
				"share": "https://grain.social/profile/alice.test"
			}
		},
		{
			"c": "Link",
			"p": {
				"label": "Copy handle",
				"copy": "@alice.test"
			}
		},
		{
			"c": "Action",
			"p": {
				"label": "Mute",
				"done": "Muted",
				"key": "1c4c3380239f0841",
				"call": {
					"method": "social.grain.graph.muteActor",
					"service": "did:web:grain.social#grain_appview",
					"input": {
						"actor": "did:plc:alice"
					}
				}
			}
		},
		{
			"c": "Action",
			"p": {
				"label": "Block",
				"done": "Unblock",
				"confirm": "Block this account? They won't be able to see or interact with your galleries.",
				"tone": "danger",
				"key": "d514930817493165",
				"create": {
					"collection": "social.grain.graph.block",
					"record": {
						"subject": "did:plc:alice",
						"createdAt": {
							"$now": true
						}
					}
				}
			}
		},
		{
			"c": "Compose",
			"p": {
				"label": "Report",
				"send": "Report",
				"title": "Report this account",
				"key": "94b2d7cd7fe1449b",
				"fields": [
					{
						"name": "reasonType",
						"kind": "choice",
						"label": "Why",
						"required": true,
						"options": [
							{
								"label": "Spam",
								"value": "com.atproto.moderation.defs#reasonSpam"
							},
							{
								"label": "Nudity",
								"value": "social.grain.moderation.defs#reasonNudity"
							},
							{
								"label": "Sexual content",
								"value": "com.atproto.moderation.defs#reasonSexual"
							},
							{
								"label": "Harassment",
								"value": "com.atproto.moderation.defs#reasonRude"
							},
							{
								"label": "Misleading",
								"value": "com.atproto.moderation.defs#reasonMisleading"
							},
							{
								"label": "Copyright",
								"value": "social.grain.moderation.defs#reasonCopyright"
							},
							{
								"label": "Something else",
								"value": "com.atproto.moderation.defs#reasonOther"
							}
						]
					},
					{
						"name": "reason",
						"kind": "text",
						"label": "Anything else",
						"placeholder": "What should the moderators know?",
						"max": 2000
					}
				],
				"given": {},
				"call": {
					"method": "com.atproto.moderation.createReport",
					"service": "did:web:grain.social#grain_appview",
					"input": {
						"reasonType": "com.atproto.moderation.defs#reasonOther",
						"subject": {
							"$type": "com.atproto.admin.defs#repoRef",
							"did": "did:plc:alice"
						}
					}
				},
				"writes": []
			}
		}
	]
}