Function: claude-code-ide-mcp-project-info
claude-code-ide-mcp-project-info is a natively compiled function
defined in claude-code-ide-emacs-tools.el.
Signature
(claude-code-ide-mcp-project-info)
Documentation
Get information about the current session's project.
Returns project directory, active buffer, and file count.
Source Code
;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide-emacs-tools.el
(defun claude-code-ide-mcp-project-info ()
"Get information about the current session's project.
Returns project directory, active buffer, and file count."
(let ((context (claude-code-ide-mcp-server-get-session-context)))
(if context
(let ((project-dir (plist-get context :project-dir))
(buffer (plist-get context :buffer)))
(format "Project: %s\nBuffer: %s\nFiles: %d"
project-dir
(if (and buffer (buffer-live-p buffer))
(buffer-name buffer)
"No active buffer")
(length (project-files (project-current nil project-dir)))))
"No session context available")))