Function: mcp--server-running-p
mcp--server-running-p is a natively compiled function defined in
mcp.el.
Signature
(mcp--server-running-p NAME)
Documentation
Return non-nil if server NAME is in running state.
Source Code
;; Defined in /nix/store/5m747x13pb1ddrvbq9raj91c4q1h1kl0-emacs-packages-deps/share/emacs/site-lisp/elpa/mcp-20260615.940/mcp.el
(defun mcp--server-running-p (name)
"Return non-nil if server NAME is in running state."
(when-let* ((conn (gethash name mcp-server-connections)))
(not (member (mcp--status conn) '(stop error)))))