run-mcp 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@ A smart proxy, interactive REPL, and live test harness for [Model Context Protoc
5
5
  `run-mcp` operates in two modes:
6
6
 
7
7
  1. **Agent MCP Server** (`run-mcp`) — An MCP server that exposes tools (`connect_to_mcp`, `call_mcp_tool`) so AI agents can dynamically connect to and test local MCP projects without hardcoding them in configuration files. This is the **default mode** when you run `npx -y run-mcp`.
8
- 2. **Interactive REPL** (`run-mcp repl`) — A headless CLI for human developers to manually test and explore MCP servers using short, memorable commands (`tools/call`, `status`, etc.).
8
+ 2. **Interactive REPL** (Interactive mode) — A headless CLI for human developers to manually test and explore MCP servers using short, memorable commands (`tools/call`, `status`, etc.).
9
9
 
10
10
  ### Interception Rules (Agent Server & REPL)
11
11
 
@@ -234,7 +234,7 @@ tools/call screenshot {"save_path": "/tmp/test.png"}
234
234
  ```
235
235
 
236
236
  ```bash
237
- run-mcp repl node my-server.js --script commands.txt
237
+ run-mcp -s commands.txt -- node my-server.js
238
238
  ```
239
239
 
240
240
  - Lines starting with `#` are treated as comments
@@ -330,7 +330,7 @@ npm run build
330
330
  npm run dev
331
331
 
332
332
  # Run directly
333
- node dist/index.js repl <target_command...>
333
+ node dist/index.js -- <target_command...>
334
334
  ```
335
335
 
336
336
  ## License
package/dist/index.js CHANGED
@@ -921,7 +921,7 @@ var TargetManager = class _TargetManager extends EventEmitter {
921
921
  this.transport = stdioTransport;
922
922
  }
923
923
  this.client = new Client(
924
- { name: "run-mcp", version: "1.6.1" },
924
+ { name: "run-mcp", version: "1.6.2" },
925
925
  {
926
926
  capabilities: {
927
927
  roots: { listChanged: true },
@@ -3444,7 +3444,7 @@ async function startServer(opts) {
3444
3444
  mediaThresholdKb: opts.mediaThresholdKb
3445
3445
  });
3446
3446
  const mcpServer = new McpServer(
3447
- { name: "run-mcp", version: "1.6.1" },
3447
+ { name: "run-mcp", version: "1.6.2" },
3448
3448
  {
3449
3449
  capabilities: {
3450
3450
  tools: {},
@@ -4732,7 +4732,7 @@ program.command("close-session").argument("<session_name>", "Session name").desc
4732
4732
  }
4733
4733
  }
4734
4734
  });
4735
- program.name("run-mcp").description("A smart interactive REPL and live test harness for MCP servers").version("1.6.1").passThroughOptions().allowUnknownOption().argument(
4735
+ program.name("run-mcp").description("A smart interactive REPL and live test harness for MCP servers").version("1.6.2").passThroughOptions().allowUnknownOption().argument(
4736
4736
  "[target_command...]",
4737
4737
  "Command to spawn the target MCP server (starts REPL if provided, Agent server otherwise)"
4738
4738
  ).option("-o, --out-dir <path>", "Directory to save intercepted images and audio").option(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "run-mcp",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "A smart proxy and interactive REPL for Model Context Protocol (MCP) servers",
5
5
  "homepage": "https://github.com/funkyfunc/run-mcp#readme",
6
6
  "bugs": {