Pure reading of one sanitized MCP inventory row.
Lives apart from mcp so BOTH the Settings dialog (dialogs, which mcp
requires) and the MCP manager can describe a server without a dependency
cycle. Nothing here talks to the gateway.
Pure reading of one sanitized MCP inventory row. Lives apart from `mcp` so BOTH the Settings dialog (`dialogs`, which `mcp` requires) and the MCP manager can describe a server without a dependency cycle. Nothing here talks to the gateway.
(flag row k)Wire rows are string-keyed JSON; a missing flag is false, never nil.
Wire rows are string-keyed JSON; a missing flag is false, never nil.
(server-actions row)The verbs offered for one row, in the order they matter.
Kill/start are RUNTIME and always available (they work on hand-written servers too); enable/disable/remove persist and therefore only appear for gateway-managed ones; the OAuth verbs only for HTTP servers.
Every verb carries its own magit key and group, so the letter a user learns belongs to the verb and not to whatever widget happens to paint it.
The verbs offered for one row, in the order they matter. Kill/start are RUNTIME and always available (they work on hand-written servers too); enable/disable/remove persist and therefore only appear for gateway-managed ones; the OAuth verbs only for HTTP servers. Every verb carries its own magit key and group, so the letter a user learns belongs to the verb and not to whatever widget happens to paint it.
(server-on? row)True when the server is BOTH enabled in config and not killed at runtime — the single on/off a settings toggle can show.
True when the server is BOTH enabled in config and not killed at runtime — the single on/off a settings toggle can show.
(server-status row)Human one-liner for one sanitized inventory row.
Reads the RUNTIME state first — a killed server is killed even though it is still enabled in config, which is exactly the distinction the kill verb introduces and the one a user cannot otherwise see.
Human one-liner for one sanitized inventory row. Reads the RUNTIME state first — a killed server is killed even though it is still enabled in config, which is exactly the distinction the kill verb introduces and the one a user cannot otherwise see.
(server-transient-spec row)The magit transient for ONE server: the verbs of server-actions, grouped by
what they touch — runtime state, persisted configuration, OAuth, inspection.
Pure, so the band a user sees is unit-testable without a screen.
The magit transient for ONE server: the verbs of `server-actions`, grouped by what they touch — runtime state, persisted configuration, OAuth, inspection. Pure, so the band a user sees is unit-testable without a screen.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |