Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.config.mcp-json

Claude Code's shared project file .mcp.json. The engine reads its mcpServers as part of the committed project tier, below vis.yml. vis-agent mcp add --scope project writes the file in the Claude Code format.

Claude Code's shared project file `.mcp.json`. The engine reads its `mcpServers`
as part of the committed project tier, below `vis.yml`. `vis-agent mcp add
--scope project` writes the file in the Claude Code format.
raw docstring

->entryclj

(->entry spec)

Claude Code server entry of a Vis server spec, in the shape that claude mcp add writes.

Claude Code server entry of a Vis server spec, in the shape that `claude mcp add` writes.
sourceraw docstring

->specclj

(->spec entry)

Vis server spec of one Claude Code server entry, or nil when the entry names no transport that Vis has. type defaults to stdio for a command and to Streamable HTTP for a url.

Vis server spec of one Claude Code server entry, or nil when the entry names
no transport that Vis has. `type` defaults to stdio for a `command` and to
Streamable HTTP for a `url`.
sourceraw docstring

pathclj

(path)

.mcp.json of the current workspace root.

`.mcp.json` of the current workspace root.
sourceraw docstring

read-fileclj

(read-file file)

The parsed JSON object at file, or {} when the file does not exist.

The parsed JSON object at `file`, or {} when the file does not exist.
sourceraw docstring

serversclj

(servers)

Vis specs of the usable .mcp.json servers of the workspace, by name. A broken file or entry logs a warning and gives no server, so it never stops a session.

Vis specs of the usable `.mcp.json` servers of the workspace, by name. A broken
file or entry logs a warning and gives no server, so it never stops a session.
sourceraw docstring

write-file!clj

(write-file! file value)

Atomically replace file with value as JSON, indented by two spaces like Claude Code.

Atomically replace `file` with `value` as JSON, indented by two spaces like Claude Code.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close