~ 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
93 lines · 1.6 KB Raw History
{
	"lexicon": 1,
	"id": "social.grain.unspecced.getFollowers",
	"defs": {
		"main": {
			"type": "query",
			"description": "Get followers for a given user.",
			"parameters": {
				"type": "params",
				"required": [
					"actor"
				],
				"properties": {
					"actor": {
						"type": "string",
						"format": "at-identifier"
					},
					"viewer": {
						"type": "string",
						"format": "did"
					},
					"limit": {
						"type": "integer",
						"minimum": 1,
						"maximum": 100,
						"default": 50
					},
					"cursor": {
						"type": "string"
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"properties": {
						"totalCount": {
							"type": "integer"
						},
						"items": {
							"type": "array",
							"items": {
								"type": "ref",
								"ref": "social.grain.unspecced.getFollowers#followerItem"
							}
						},
						"cursor": {
							"type": "string"
						}
					}
				}
			}
		},
		"followerItem": {
			"type": "object",
			"required": [
				"did"
			],
			"properties": {
				"did": {
					"type": "string",
					"format": "did"
				},
				"handle": {
					"type": "string"
				},
				"displayName": {
					"type": "string"
				},
				"description": {
					"type": "string"
				},
				"avatar": {
					"type": "string"
				},
				"viewer": {
					"type": "ref",
					"ref": "social.grain.unspecced.getFollowers#viewerState"
				}
			}
		},
		"viewerState": {
			"type": "object",
			"properties": {
				"following": {
					"type": "string",
					"format": "at-uri"
				}
			}
		}
	}
}