foldnotes-mcp 2.3.1__tar.gz → 2.4.0__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.
- {foldnotes_mcp-2.3.1 → foldnotes_mcp-2.4.0}/PKG-INFO +1 -1
- {foldnotes_mcp-2.3.1 → foldnotes_mcp-2.4.0}/python-sdk/foldnotes_mcp.py +42 -1
- {foldnotes_mcp-2.3.1 → foldnotes_mcp-2.4.0}/.gitignore +0 -0
- {foldnotes_mcp-2.3.1 → foldnotes_mcp-2.4.0}/LICENSE +0 -0
- {foldnotes_mcp-2.3.1 → foldnotes_mcp-2.4.0}/README.md +0 -0
- {foldnotes_mcp-2.3.1 → foldnotes_mcp-2.4.0}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: foldnotes-mcp
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
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.
|
|
29
|
+
__version__ = "2.4.0"
|
|
30
30
|
|
|
31
31
|
import json
|
|
32
32
|
import os
|
|
@@ -826,6 +826,47 @@ def daily_append(
|
|
|
826
826
|
return json.dumps(run_fn(args, collection), indent=2)
|
|
827
827
|
|
|
828
828
|
|
|
829
|
+
@mcp.tool()
|
|
830
|
+
def daily_overdue(
|
|
831
|
+
date: str | None = None,
|
|
832
|
+
collection: str | None = None,
|
|
833
|
+
) -> str:
|
|
834
|
+
"""Insert or refresh the overdue / due-today task block in a daily note.
|
|
835
|
+
|
|
836
|
+
Rewrites the block in place if it is already present, so repeated calls
|
|
837
|
+
are safe. Creates the daily note if it doesn't exist.
|
|
838
|
+
|
|
839
|
+
Args:
|
|
840
|
+
date: Date for the daily note (default: today).
|
|
841
|
+
collection: Collection name, UUID, or path.
|
|
842
|
+
"""
|
|
843
|
+
args = ["daily", "overdue"]
|
|
844
|
+
if date:
|
|
845
|
+
args += [date]
|
|
846
|
+
return json.dumps(run_fn(args, collection), indent=2)
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
@mcp.tool()
|
|
850
|
+
def daily_summary(
|
|
851
|
+
date: str | None = None,
|
|
852
|
+
collection: str | None = None,
|
|
853
|
+
) -> str:
|
|
854
|
+
"""Insert or refresh the activity summary block in a daily note.
|
|
855
|
+
|
|
856
|
+
Summarises the notes touched on that day. Rewrites the block in place if
|
|
857
|
+
it is already present, so repeated calls are safe. Creates the daily note
|
|
858
|
+
if it doesn't exist.
|
|
859
|
+
|
|
860
|
+
Args:
|
|
861
|
+
date: Date for the daily note (default: today).
|
|
862
|
+
collection: Collection name, UUID, or path.
|
|
863
|
+
"""
|
|
864
|
+
args = ["daily", "summary"]
|
|
865
|
+
if date:
|
|
866
|
+
args += [date]
|
|
867
|
+
return json.dumps(run_fn(args, collection), indent=2)
|
|
868
|
+
|
|
869
|
+
|
|
829
870
|
# ---- Collections ----
|
|
830
871
|
|
|
831
872
|
@mcp.tool()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|