yuque-mcp-plus 0.2.2 → 0.2.3

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.3 - 2026-03-04
4
+
5
+ Fixed:
6
+
7
+ - fixed the published CLI entry so `npx yuque-mcp-plus` starts the MCP server correctly
8
+
3
9
  ## 0.2.2 - 2026-03-04
4
10
 
5
11
  Changed:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuque-mcp-plus",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Yuque MCP server with TOC, parentUuid, move, and multipart support.",
5
5
  "author": "michaeljou <864738795@qq.com>",
6
6
  "license": "MIT",
package/src/index.js CHANGED
@@ -1,17 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import { pathToFileURL } from "node:url";
3
2
  import { startServer } from "./server.js";
4
3
 
5
4
  async function main() {
6
5
  await startServer();
7
6
  }
8
7
 
9
- const isDirectRun =
10
- process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href;
11
-
12
- if (isDirectRun) {
13
- main().catch((error) => {
14
- console.error("Failed to start yuque-mcp-plus:", error);
15
- process.exit(1);
16
- });
17
- }
8
+ main().catch((error) => {
9
+ console.error("Failed to start yuque-mcp-plus:", error);
10
+ process.exit(1);
11
+ });
package/src/server.js CHANGED
@@ -21,7 +21,7 @@ export function createServer() {
21
21
  const server = new Server(
22
22
  {
23
23
  name: "yuque-mcp-plus",
24
- version: "0.2.2"
24
+ version: "0.2.3"
25
25
  },
26
26
  {
27
27
  capabilities: {