{"id":45686522,"url":"https://github.com/johnfire/openclaw-notesnook-mcp","last_synced_at":"2026-02-24T15:01:08.695Z","repository":{"id":339750504,"uuid":"1163236557","full_name":"johnfire/openclaw-notesnook-mcp","owner":"johnfire","description":"MCP server bridging Notesnook with OpenClaw — bidirectional note sync via HTTP/SSE","archived":false,"fork":false,"pushed_at":"2026-02-21T10:12:26.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-21T16:52:02.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnfire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-21T10:08:10.000Z","updated_at":"2026-02-21T10:15:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/johnfire/openclaw-notesnook-mcp","commit_stats":null,"previous_names":["johnfire/openclaw-notesnook-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/johnfire/openclaw-notesnook-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfire%2Fopenclaw-notesnook-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfire%2Fopenclaw-notesnook-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfire%2Fopenclaw-notesnook-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfire%2Fopenclaw-notesnook-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnfire","download_url":"https://codeload.github.com/johnfire/openclaw-notesnook-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfire%2Fopenclaw-notesnook-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29786978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-24T15:01:07.973Z","updated_at":"2026-02-24T15:01:08.690Z","avatar_url":"https://github.com/johnfire.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notesnook-mcp-server\n\nMCP server bridging [Notesnook](https://notesnook.com) with OpenClaw. Syncs notes hourly via the filesystem and exposes bidirectional note operations over HTTP/SSE.\n\n## Prerequisites\n\n- Node.js \u003e= 22\n- Notesnook desktop app (Linux)\n\n## Installation\n\n```bash\n./install.sh\n```\n\nThe installer will:\n1. Check Node.js version\n2. Run `npm install` and `npm run build`\n3. Prompt for your sync folder path\n4. Create `export/` and `import/` subdirectories\n5. Install and enable the systemd user service\n6. Run the first-run wizard to configure notebook access\n\n## Sync Model\n\n```\nNotesnook App (GUI)\n    │\n    │  Export all notes → Markdown → save zip to {SYNC_ROOT}/export/\n    │\n    ▼\n{SYNC_ROOT}/\n├── export/          ← Notesnook drops .zip exports here\n│   └── extracted/  ← MCP server extracts zips here (auto-managed)\n├── import/          ← MCP server writes new/updated .md files here\n│   └── {notebook}/ ← One subfolder per notebook\n└── notesnook.db     ← SQLite index maintained by MCP server\n\nnotesnook-mcp-server (HTTP/SSE daemon on :3457)\n    ├── Sync Engine (hourly cron + chokidar watcher)\n    │     ├── Unzips latest export → parses Markdown\n    │     ├── Derives notebook from folder structure\n    │     ├── Diffs against SQLite index (last-write-wins)\n    │     └── Writes agent notes to import/{notebook}/*.md\n    │\n    └── MCP HTTP/SSE server\n          └── 9 tools (search, get, create, update, notebooks, todo, sync)\n```\n\n## Export from Notesnook\n\n1. Open Notesnook desktop\n2. Go to **Settings → Backup \u0026 Export**\n3. Choose **Export all notes → Markdown**\n4. Save the `.zip` file to `{SYNC_ROOT}/export/`\n\nThe server will detect the new zip within seconds (chokidar watcher) or at the next hourly cron tick.\n\n## Import to Notesnook\n\nNotes created or updated by OpenClaw are written to `{SYNC_ROOT}/import/{notebook}/`. Notesnook will pick them up on the next app open.\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `NOTESNOOK_SYNC_ROOT` | Yes | — | Path to your sync folder |\n| `PORT` | No | `3457` | HTTP server port |\n\n### config.json\n\nStored at `{SYNC_ROOT}/config.json`. Edited via the first-run wizard or `notesnook_configure_notebook_access` tool.\n\n```json\n{\n  \"syncRoot\": \"/path/to/sync\",\n  \"enabledNotebooks\": [\"daily survival\", \"art stuff\"],\n  \"firstRunComplete\": true,\n  \"lastSyncAt\": \"2025-01-01T12:00:00.000Z\"\n}\n```\n\n## OpenClaw Integration\n\nAdd to your `openclaw.json`:\n\n```json\n{\n  \"agents\": {\n    \"list\": [{\n      \"id\": \"main\",\n      \"mcp\": {\n        \"servers\": [{\n          \"name\": \"notesnook\",\n          \"type\": \"sse\",\n          \"url\": \"http://localhost:3457/sse\"\n        }]\n      }\n    }]\n  }\n}\n```\n\nThe server must be running (started automatically by systemd after installation).\n\n## Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `notesnook_search_notes` | Search notes by keyword, notebook, or tag |\n| `notesnook_get_note` | Retrieve full content of a note by ID |\n| `notesnook_create_note` | Create a new note |\n| `notesnook_update_note` | Update a note's content, title, or tags |\n| `notesnook_list_notebooks` | List notebooks and their access status |\n| `notesnook_configure_notebook_access` | Enable or disable notebook access |\n| `notesnook_get_todo` | Get the daily to-do list |\n| `notesnook_update_todo` | Add, complete, or remove to-do items |\n| `notesnook_trigger_sync` | Force an immediate sync |\n\n## Note Format\n\nNotes are plain Markdown with no YAML front matter:\n\n```markdown\n# Note Title\n\nNote body content here...\n\n- [ ] Incomplete item\n- [x] Completed item\n```\n\nNotebooks are represented by folder names in the export zip.\n\n## License\n\nMIT + Commons Clause — non-commercial use only. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnfire%2Fopenclaw-notesnook-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnfire%2Fopenclaw-notesnook-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnfire%2Fopenclaw-notesnook-mcp/lists"}