Skip to contents

Reports what natmcp can see from this R process: the Claude configuration entries, the index, and where R sessions and the natmcp server meet. Run it in the R session Claude can't reach and paste the output into Claude.

Usage

natmcp_sitrep(sessions = TRUE)

Arguments

sessions

If TRUE, also list the R sessions visible from here. This loads mcptools.

Value

A natmcp_sitrep object: a named list of the report's fields, printed as plain text ready to paste.

Details

Claude can run the same report from the natmcp server with the natmcp_sitrep tool, so it can compare the server's view with yours. The usual cause of an empty list_r_sessions is the two processes using different socket directories (see natmcp_session()).

Only natmcp's own entry is read from each Claude configuration file.

Examples

if (FALSE) { # \dontrun{
natmcp_sitrep()
} # }