mindgraph-mcp 0.5.0 → 0.6.1

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/dist/cli.js CHANGED
@@ -387,10 +387,10 @@ async function handleRetrieve(client2, args) {
387
387
  return ok(
388
388
  await client2.retrieveContext({
389
389
  query,
390
- k: limit,
390
+ node_limit: limit,
391
391
  node_types,
392
392
  layer,
393
- include_chunks: include_chunks ?? false,
393
+ chunk_limit: include_chunks ? limit ?? 5 : 0,
394
394
  include_graph
395
395
  })
396
396
  );
@@ -924,7 +924,7 @@ var init_tools = __esm({
924
924
  },
925
925
  limit: {
926
926
  type: "number",
927
- description: "Max results to return (default: 10)"
927
+ description: "Max results to return (default: 27)"
928
928
  },
929
929
  include_chunks: {
930
930
  type: "boolean",
package/dist/index.js CHANGED
@@ -361,7 +361,7 @@ var TOOLS = [
361
361
  },
362
362
  limit: {
363
363
  type: "number",
364
- description: "Max results to return (default: 10)"
364
+ description: "Max results to return (default: 27)"
365
365
  },
366
366
  include_chunks: {
367
367
  type: "boolean",
@@ -810,10 +810,10 @@ async function handleRetrieve(client2, args) {
810
810
  return ok(
811
811
  await client2.retrieveContext({
812
812
  query,
813
- k: limit,
813
+ node_limit: limit,
814
814
  node_types,
815
815
  layer,
816
- include_chunks: include_chunks ?? false,
816
+ chunk_limit: include_chunks ? limit ?? 5 : 0,
817
817
  include_graph
818
818
  })
819
819
  );
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "mindgraph-mcp",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "MCP server for MindGraph — connect Claude Desktop, Claude Code, and any MCP client to your knowledge graph",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {
8
8
  "mindgraph-mcp": "dist/cli.js"
9
9
  },
10
- "files": ["dist"],
10
+ "files": [
11
+ "dist"
12
+ ],
11
13
  "scripts": {
12
14
  "build": "tsup",
13
15
  "lint": "tsc --noEmit",
@@ -25,7 +27,7 @@
25
27
  "license": "MIT",
26
28
  "dependencies": {
27
29
  "@modelcontextprotocol/sdk": "^1.12.1",
28
- "mindgraph": "^0.2.1"
30
+ "mindgraph": "^0.3.0"
29
31
  },
30
32
  "devDependencies": {
31
33
  "@types/node": "^22.0.0",