Docs Packages
@procedures/bundle-mcp
npm install @procedures/bundle-mcp
bundle-mcp sets the tools that Claude gets from the MCP server (impl-mcp-dev). It imports the procedure packages, and it exports two lists that select the tools.
The tools#
src/register.ts exports these lists:
mcpNamespaces: the namespaces whose procedures are tools. At this time:client,cue,docker,handle,json,lib,logs,mongo,procedure,program,sqlite,vitestandyaml.mcpExclude: procedures of those namespaces that are not tools.vitest.watch,vitest.stopandvitest.listmanage processes that live longer than a tool call.docker.prunedeletes in bulk, anddocker.volume.removedeletes the data of a volume.docker.pushcan carry an image out to any registry.mongo.watchis a stream without an end.mongo.documents.bulkandsqlite.transactionchange data in bulk.sqlite.migrateandsqlite.backupchange or copy the database file.sqlite.clearDatabasedrops each table of a database.sqlite.snapshotreplaces the file at its path.procedure.store,procedure.load,procedure.sync,procedure.remoteandprocedure.registerneed a procedure store, and the MCP server has none.
The result is 103 tools (November 2026):
| Namespace | Tools |
|---|---|
client | 16: the control-flow procedures (chain, parallel, conditional, tryCatch, map, reduce, and, or) and all, any, none, not, identity, constant, throw, trace |
cue | 5: add, generate, init, remove, validate |
docker | 22: build, compose.build, compose.down, compose.logs, compose.ps, compose.restart, compose.up, exec, images, inspect, logs, network.create, network.list, network.remove, ps, pull, rm, run, stop, tag, volume.create, volume.list |
handle | 2: list, close. A handle is an object that a tool opened, for example a database. The end of the session closes its handles. |
json | 5: diff, merge, patch, query, validate. They are pure. |
lib | 6: audit, graph, importCycles, new, rename, scan |
logs | 2: query, store |
mongo | 18: the collections, database, documents and indexes procedures, with documents.distinct and documents.explain |
procedure | 8: define, delete, export, get, list, manifest, new, search |
program | 4: check, compile, diagram, explain. They examine a program before it starts. The program stays data. |
sqlite | 11: execute, query, schema, tables, and the generated openDatabase, userVersion, schemaVersion, tableColumns, addMissingColumns, checkIntegrity, checkpoint. openDatabase gives a handle, and the others take it. |
vitest | 2: coverage, run |
yaml | 2: parse, stringify. They are pure. |
packages/impl-mcp-dev/tools.snapshot.txt has the exact list. A test of impl-mcp-dev starts the real server and compares its tools with the list. The site shows the list too: https://mark1russell7.github.io/client/claude/.
What stays out#
shell.*is registered, becausedocker.*and other wrappers start programs throughshell.run. It is not a tool.cli.runstarts anymarkcommand,shell exectoo. Thuscliis not in the list.fs.*,git.*andpnpm.*are not tools: Claude Code has its own tools for files, git and the shell.snapshot.*ands3.*are not in the bundle:snapshot.restoreands3.deletechange data.sdk.openrpcandsdk.typescriptof the compiler module are registered, butsdkis not a tool namespace. They write an OpenRPC document and a TypeScript SDK, andmark sdk openrpcgives them.dbis not a tool namespace. In version 0.4.0, the SQLite procedures changed their namespace fromdbtosqlite, and 0.6.0 removed the old names. A client that used the tooldb.queryusessqlite.query.dagis not a tool namespace.dag.traverseis registered, because the bundle has the module ofclient-dag.
A data-driven procedure (client.chain, client.eval, a procedure of procedure.define) can use only the exposed procedures. Thus client.chain cannot reach shell.exec. A procedure of code still uses its dependencies: docker.run uses shell.run.
The packages of the bundle#
register.ts imports client-lib, client-dag, client-procedure, compiler, client-cue, client-docker, client-mongo, client-sqlite and client-vitest. Their dependencies register shell.*, fs.* and git.*. client-lib also registers ecosystem.procedures, and client-dag registers dag.traverse. These procedures are registered but are not tools.
Use#
The MCP server imports @procedures/bundle-mcp/register.js. That import registers the procedures and gives the two lists. The root import @procedures/bundle-mcp registers nothing.
import { mcpNamespaces, mcpExclude } from "@procedures/bundle-mcp/register.js";
const exposed = (path: string[]): boolean =>
mcpNamespaces.includes(path[0] ?? "") && !mcpExclude.includes(path.join("."));
To change the tools, change the lists and tools.snapshot.txt in one commit. The test fails when the two do not agree.
Related packages#
impl-mcp-dev: the MCP server that uses this bundle.client-mcp: the MCP transport of the procedure server.bundle-dev: the bundle for development work.