MCP server exposing the FoldNotes CLI (fn) as tools for Claude Desktop, Claude Code, and other MCP clients.
Project description
FoldNotes MCP Server
A Model Context Protocol server that exposes the
FoldNotes command-line tool (fn) as tools any MCP-compatible client can call —
Claude Desktop, Claude Code,
or third-party clients. It's a thin, read/write bridge to your FoldNotes collection:
everything the CLI can do, an AI assistant can do — under the same licensing and safety limits.
Made by Foldsoft Pty Ltd · foldnotes.io
Source-available, install-only. This repository is published so you can install and run the server — we don't accept code contributions. Questions, tips, and bug reports are welcome in Discussions; see CONTRIBUTING for direct support and security reporting.
Requirements
- macOS with the FoldNotes app, and the
fnCLI installed from the app: FoldNotes → Install Command Line Tool. The server shells out tofn. - Python 3.10+.
Install
git clone https://github.com/Foldsoft/foldnotes-mcp.git
cd foldnotes-mcp/python-sdk
python3 -m venv venv
source venv/bin/activate
pip install mcp
Verify:
fn version # confirm the CLI is on your PATH
python3 foldnotes_mcp.py # starts the server on stdio — Ctrl-C to stop
The server auto-discovers fn at /usr/local/bin/fn or /opt/homebrew/bin/fn, falling
back to fn on your PATH.
Connect to Claude Desktop
Add a foldnotes entry to ~/Library/Application Support/Claude/claude_desktop_config.json
(absolute paths to the venv's Python and the server script):
{
"mcpServers": {
"foldnotes": {
"command": "/absolute/path/to/foldnotes-mcp/python-sdk/venv/bin/python3",
"args": ["/absolute/path/to/foldnotes-mcp/python-sdk/foldnotes_mcp.py"]
}
}
}
Restart Claude Desktop; the FoldNotes tools appear under the tools menu.
Connect to Claude Code
claude mcp add foldnotes -- \
/absolute/path/to/foldnotes-mcp/python-sdk/venv/bin/python3 \
/absolute/path/to/foldnotes-mcp/python-sdk/foldnotes_mcp.py
Add --scope user for all projects, or --scope project to share a .mcp.json. Confirm with
claude mcp list or /mcp inside a session.
What it exposes
40+ tools covering notes, tasks, tags, backlinks, daily notes, properties/schema, saved queries, templates, projects, attachments, collections, and search. The full, always-current list is in the docs: foldnotes.io → AI & Automation.
Two safety rules are built in:
- Reading is free; writing needs a licence. Read tools always work; write tools and
bindrequire a valid FoldNotes licence or active trial, otherwise they change nothing. - Trash is human-owned. The server can move a note to the trash and restore it, but cannot empty the trash or permanently delete — that stays a deliberate, human-only action in the app.
Questions & support
- Setup help, usage questions, bugs, tips → Discussions.
- Direct support → support@foldnotes.io.
- Security → report privately via the repo's Security → Report a vulnerability. We don't use Issues or accept pull requests — see CONTRIBUTING.
Licence
MIT © 2026 Foldsoft Pty Ltd — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file foldnotes_mcp-2.2.0.tar.gz.
File metadata
- Download URL: foldnotes_mcp-2.2.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
513327660d959bbcc54aa5d950a4ab308c5ee28f41dcb46d05c489495ab1810b
|
|
| MD5 |
617f382777e9803dd14c6b1422be0f43
|
|
| BLAKE2b-256 |
3eb6d63a74a7ffb6f8f8ab07c751a3df92d3a5b2b31be95a6844346fb9f791a1
|
File details
Details for the file foldnotes_mcp-2.2.0-py3-none-any.whl.
File metadata
- Download URL: foldnotes_mcp-2.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e92f3929c7bb9595e2c29dfda4f2e17eb56d5c5a810923a4961f10fedc07ce4
|
|
| MD5 |
7f5125acb074867cb5a78d91f811a1a0
|
|
| BLAKE2b-256 |
b9b40daeb0f1323931c0d2c4da9638a0929624283ec012a03af22bc735c4bbf6
|