mcp-docs-service 0.2.10 → 0.2.11
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/CHANGELOG.md +7 -0
- package/dist/index.js +1 -1
- package/mcp-inspector-wrapper.js +8 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
All notable changes to the MCP Docs Service will be documented in this file.
|
4
4
|
|
5
|
+
## [0.2.11] - 2024-05-15
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
- Fixed MCP Inspector wrapper script to use ES module syntax
|
10
|
+
- Improved compatibility with MCP Inspector
|
11
|
+
|
5
12
|
## [0.2.10] - 2024-05-15
|
6
13
|
|
7
14
|
### Added
|
package/dist/index.js
CHANGED
package/mcp-inspector-wrapper.js
CHANGED
@@ -7,9 +7,14 @@
|
|
7
7
|
* It extracts the docs directory from the arguments and passes it to the MCP Docs Service.
|
8
8
|
*/
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
import path from "path";
|
11
|
+
import { spawn } from "child_process";
|
12
|
+
import fs from "fs";
|
13
|
+
import { fileURLToPath } from "url";
|
14
|
+
|
15
|
+
// Get the current directory
|
16
|
+
const __filename = fileURLToPath(import.meta.url);
|
17
|
+
const __dirname = path.dirname(__filename);
|
13
18
|
|
14
19
|
// Get all arguments
|
15
20
|
const args = process.argv.slice(2);
|
package/package.json
CHANGED