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.
Metadata
Release files for foldnotes-mcp 2.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| foldnotes_mcp-2.6.0.tar.gz | 12.3 kB | Without provenance | Details for foldnotes_mcp-2.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| foldnotes_mcp-2.6.0-py3-none-any.whl | Python 3 | none | any | Details for foldnotes_mcp-2.6.0-py3-none-any.whl |
Total release size: 25.4 kB
Release files / foldnotes_mcp-2.6.0.tar.gz
| Download URL | foldnotes_mcp-2.6.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae1ee09564d893b07e7aa8be83bc3c62385e004ec2424d8023f0a0c6db38282b
|
|
BLAKE2b-256 checksum How to use checksums |
8161e17d7c7eb85b8a0d6471030c23f61d3167d8f37b24cdc9ebbe320a05c56a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Release files / foldnotes_mcp-2.6.0-py3-none-any.whl
| Download URL | foldnotes_mcp-2.6.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61780d2e5afad26189b61630282baed95aadada2e07263a5fb141b914ace4c15
|
|
BLAKE2b-256 checksum How to use checksums |
629a7716eb96020a3d5d57b5dd34ffe418b2cc7200ef20460da60d8413b3a4fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Security for foldnotes-mcp 2.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.