mcp-multitool 0.1.2 → 0.1.4

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
@@ -4,11 +4,23 @@
4
4
  [![npm downloads](https://img.shields.io/npm/dm/mcp-multitool)](https://www.npmjs.com/package/mcp-multitool)
5
5
  [![license](https://img.shields.io/npm/l/mcp-multitool)](./LICENSE)
6
6
 
7
- A minimal [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server with utility tools.
7
+ A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server with **file operations**, **log compression**, and **timing utilities**.
8
+
9
+ ## Tools
10
+
11
+ | Tool | Description |
12
+ | --------------------- | ----------------------------------------------- |
13
+ | `deleteFile` | Delete files or directories (single or batch) |
14
+ | `moveFile` | Move/rename files or directories |
15
+ | `compressLogs` | Compress log arrays with 60-90% token reduction |
16
+ | `compressText` | Compress multi-line log text |
17
+ | `analyzePatterns` | Quick pattern extraction from logs |
18
+ | `estimateCompression` | Estimate compression ratio before processing |
19
+ | `wait` | Pause execution for rate limits or timing |
8
20
 
9
21
  ## Why
10
22
 
11
- Some tasks need simple utilities that don't warrant a larger server — pausing for rate limits, deleting temp files, etc. `mcp-multitool` gives any MCP-compatible client a small set of reliable tools.
23
+ Some tasks need simple utilities that don't warrant a larger server — cleaning up temp files, compressing verbose logs before analysis, pausing for rate limits. `mcp-multitool` gives any MCP-compatible client a small set of reliable tools.
12
24
 
13
25
  ## Quick Start
14
26
 
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire } from "node:module";
2
3
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
3
4
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
5
  import { register as registerAnalyzePatterns } from "./tools/analyzePatterns.js";
@@ -8,8 +9,10 @@ import { register as registerDeleteFile } from "./tools/deleteFile.js";
8
9
  import { register as registerEstimateCompression } from "./tools/estimateCompression.js";
9
10
  import { register as registerMoveFile } from "./tools/moveFile.js";
10
11
  import { register as registerWait } from "./tools/wait.js";
12
+ const require = createRequire(import.meta.url);
13
+ const { version } = require("./package.json");
11
14
  const isEnabled = (name) => process.env[name] !== "false";
12
- const server = new McpServer({ name: "mcp-multitool", version: "0.1.0" });
15
+ const server = new McpServer({ name: "mcp-multitool", version });
13
16
  if (isEnabled("analyzePatterns"))
14
17
  registerAnalyzePatterns(server);
15
18
  if (isEnabled("compressLogs"))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-multitool",
3
- "version": "0.1.2",
4
- "description": "Minimal MCP server wait tool and more.",
3
+ "version": "0.1.4",
4
+ "description": "MCP server with file operations (delete, move), log compression (60-90% token reduction), and timing utilities.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
@@ -14,7 +14,12 @@
14
14
  "keywords": [
15
15
  "mcp",
16
16
  "model-context-protocol",
17
+ "log-compression",
18
+ "file-operations",
19
+ "delete-file",
20
+ "move-file",
17
21
  "wait",
22
+ "logpare",
18
23
  "tool"
19
24
  ],
20
25
  "scripts": {