mocks
A Claude Code settings key, read out of the shipped bundle. It was in the build from v2.1.301 and was gone by v2.1.302.
Plugin evals can swap a plugin's MCP servers for fakes defined in a mocks folder.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.242.
In the changelogs
5Releases whose published page names mocks.
-
v2.1.251
Eval-authoring guidance now requires mocking MCP servers
The eval-writing skill now requires stubbing MCP calls so evals never hit real services.
found in this entry's text
-
v2.1.242
plugin evalcan mock a plugin's MCP servers, with docs to matchPlugin evals can swap a plugin's MCP servers for fakes defined in a mocks folder.
found in this entry's text
-
v2.1.242
Eval graders can inspect calls made to mock tools
Eval graders can inspect the calls that hit mock tools during a run.
found in this entry's text
-
v2.1.242
Plugin symlinks that escape the plugin directory are refused with a reason
Plugin symlinks pointing outside the plugin directory are refused, each case with its own message.
found in this entry's text
-
v2.1.242
Mocked MCP servers register under the real server name and deny everything else
Mock servers replace real ones by name, allow mocked tools and deny the rest; a mock_calls grader is added.
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
2Build by build
8One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.