~ 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
53 lines · 1.3 KB Raw History
{
	"lexicon": 1,
	"id": "com.atproto.sync.getHostStatus",
	"defs": {
		"main": {
			"type": "query",
			"description": "Returns information about a specified upstream host, as consumed by the server. Implemented by relays.",
			"parameters": {
				"type": "params",
				"required": [
					"hostname"
				],
				"properties": {
					"hostname": {
						"type": "string",
						"description": "Hostname of the host (eg, PDS or relay) being queried."
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"hostname"
					],
					"properties": {
						"hostname": {
							"type": "string"
						},
						"seq": {
							"type": "integer",
							"description": "Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor)."
						},
						"accountCount": {
							"type": "integer",
							"description": "Number of accounts on the server which are associated with the upstream host. Note that the upstream may actually have more accounts."
						},
						"status": {
							"type": "ref",
							"ref": "com.atproto.sync.defs#hostStatus"
						}
					}
				}
			},
			"errors": [
				{
					"name": "HostNotFound"
				}
			]
		}
	}
}