CLI Reference
The delta-mcp CLI connects to any stdio MCP server and lets you inspect, call, and benchmark it interactively.
Install
npm install -g @delta-mcp/cliOr run without installing:
npx @delta-mcp/cli list node server.jsCommands
list
List all tools on a server (progressive mode — names + short descriptions only):
delta-mcp list <server-command> [server-args...]Server: delta-mcp-demo v0.2.1Mode: progressive
Tools (6): search Search docs and return top results read_file Read file contents from the workspace write_file Write content to a file in workspace list_dir List directory contents at given path fail Always throws — exercises isError execution results run_command Execute shell command in workspace sandbox
Token cost: ~115 tokensdescribe
Fetch the full JSON schema for a single tool:
delta-mcp describe <server-command> [server-args...] <tool-name>delta-mcp describe node server.js searchOutput is the raw JSON schema:
{ "name": "search", "description": "Search docs and return top results", "inputSchema": { "type": "object", "properties": { "query": { "type": "string", "description": "Search query" }, "limit": { "type": "number", "default": 10 } }, "required": ["query"] }}call
Call a tool with JSON arguments:
delta-mcp call <server-command> [server-args...] <tool-name> <json-args>delta-mcp call node server.js search '{"query":"hello","limit":3}'bench
Run the token efficiency benchmark against a server:
delta-mcp bench <server-command> [server-args...]delta-mcp bench node server.jsOutput shows the token savings achieved by progressive disclosure vs standard MCP:
Benchmarking: delta-mcp-demo v0.2.1
┌───────────────────────────────────────────────────────┐│ MCP2 Token Efficiency Benchmark │├──────────────────┬──────────┬────────┬────────────────┤│ Scenario │ Standard │ MCP2 │ Reduction │├──────────────────┼──────────┼────────┼────────────────┤│ 6-tool discovery │ 943 tk │ 118 tk │ 87.5% (825 tk) │└──────────────────┴──────────┴────────┴────────────────┘
Latency: tools/list (summaries): 0ms tools/describe all (6 schemas): 1ms Standard MCP equivalent: 1ms (upfront) Delta-MCP first-tool latency: 0ms + schema-on-demandUsage with multi-arg server commands
Pass server arguments before the tool name:
# Server that takes a root directory argumentdelta-mcp list npx tsx examples/filesystem-server/index.ts /home/me/projects
# Describe a tool on that serverdelta-mcp describe npx tsx examples/filesystem-server/index.ts /home/me/projects read_file