foldnotes-mcp 2.3.0__tar.gz → 2.3.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: foldnotes-mcp
3
- Version: 2.3.0
3
+ Version: 2.3.1
4
4
  Summary: MCP server exposing the FoldNotes CLI (fn) as tools for Claude Desktop, Claude Code, and other MCP clients.
5
5
  Project-URL: Homepage, https://foldnotes.io
6
6
  Project-URL: Documentation, https://foldnotes.io/advanced/ai-integration/
@@ -26,7 +26,7 @@ Configure in Claude Desktop's claude_desktop_config.json:
26
26
  }
27
27
  """
28
28
 
29
- __version__ = "2.3.0"
29
+ __version__ = "2.3.1"
30
30
 
31
31
  import json
32
32
  import os
@@ -457,6 +457,8 @@ def list_tasks(
457
457
  note: str | None = None,
458
458
  project: str | None = None,
459
459
  context: str | None = None,
460
+ no_project: bool = False,
461
+ no_context: bool = False,
460
462
  all: bool = False,
461
463
  collection: str | None = None,
462
464
  ) -> str:
@@ -471,6 +473,8 @@ def list_tasks(
471
473
  note: Filter by note title.
472
474
  project: Filter by project name.
473
475
  context: Filter by context (tasks carrying this context).
476
+ no_project: Only tasks with no project assigned (inline or inherited).
477
+ no_context: Only tasks with no context assigned.
474
478
  all: Include done and cancelled tasks.
475
479
  collection: Collection name, UUID, or path.
476
480
  """
@@ -491,6 +495,10 @@ def list_tasks(
491
495
  args += ["--project", project]
492
496
  if context:
493
497
  args += ["--context", context]
498
+ if no_project:
499
+ args.append("--no-project")
500
+ if no_context:
501
+ args.append("--no-context")
494
502
  if all:
495
503
  args.append("--all")
496
504
  return json.dumps(run_fn(args, collection), indent=2)
File without changes
File without changes
File without changes