Function: eca-mcp--status-face

eca-mcp--status-face is a natively compiled function defined in eca-mcp.el.

Signature

(eca-mcp--status-face STATUS)

Documentation

Return the face used to display MCP STATUS.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-mcp.el
(defun eca-mcp--status-face (status)
  "Return the face used to display MCP STATUS."
  (pcase status
    ("running" 'success)
    ("starting" 'warning)
    ("failed" 'error)
    ((or "stopped" "stopping" "disabled") 'shadow)
    ("requires-auth" 'eca-mcp-details-requires-auth-face)
    (_ 'shadow)))