mindwtr-mcp 1.1.11 → 1.1.12
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.
- package/README.md +10 -10
- package/dist/index.js +94132 -85709
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,17 +8,17 @@ By default this is a **stdio** server: MCP clients launch it as a subprocess and
|
|
|
8
8
|
|
|
9
9
|
## App Binaries vs. MCP Helper
|
|
10
10
|
|
|
11
|
-
The desktop app
|
|
11
|
+
The desktop app includes a built-in MCP server in **Settings → Integrations → Local MCP server (advanced)**. It requires no separately installed runtime or helper. The desktop installer does not add a standalone `mindwtr-mcp` command to your `PATH`; mobile apps do not host MCP.
|
|
12
12
|
|
|
13
13
|
You do **not** need to run the whole app from source to use MCP. You can use the normal desktop app binary for your tasks, then run this separate MCP helper from the repository with Bun, or build the helper once and run it with Node. Point the helper at the desktop app's local `mindwtr.db`, or use the Local API backend below.
|
|
14
14
|
|
|
15
|
-
On desktop, the
|
|
15
|
+
On desktop, find the database in the default database locations listed under [Requirements](#requirements). Mobile binaries do not expose a local MCP server surface.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
19
|
## Requirements
|
|
20
20
|
|
|
21
|
-
These requirements apply to the standalone helper, not the
|
|
21
|
+
These requirements apply to the standalone helper, not the built-in desktop server.
|
|
22
22
|
|
|
23
23
|
- Node.js 20+ to run the helper. Prefer Node.js 22+ for prebuilt SQLite binaries on supported platforms; Node 20 requires a native build toolchain.
|
|
24
24
|
- Node-based SQLite mode uses the optional better-sqlite3 native addon. API-only installs can omit it with `--omit=optional`. If no prebuilt binary is available for your platform, npm needs a working C/C++ build toolchain and Python for node-gyp.
|
|
@@ -36,7 +36,7 @@ In MCP client configurations using `npx`, add `"--allow-scripts=better-sqlite3"`
|
|
|
36
36
|
|
|
37
37
|
Default database locations. The installed Windows and macOS apps keep the database in a `data` subfolder from version 1.3.2 on; Linux and the portable builds are unchanged. The server looks in both places, so it finds the database either way.
|
|
38
38
|
|
|
39
|
-
- Linux: `~/.local/share/mindwtr/mindwtr.db` (Flatpak: `~/.var/app/tech.dongdongbh.mindwtr/data/mindwtr/mindwtr.db`)
|
|
39
|
+
- Linux: `~/.local/share/mindwtr/mindwtr.db` (Flatpak: `~/.var/app/tech.dongdongbh.mindwtr/data/mindwtr/mindwtr.db`; Snap: `~/snap/mindwtr/current/.local/share/mindwtr/mindwtr.db`)
|
|
40
40
|
- macOS, 1.3.2 and later: `~/Library/Application Support/mindwtr/data/mindwtr.db`
|
|
41
41
|
- macOS, 1.3.1 and earlier: `~/Library/Application Support/mindwtr/mindwtr.db`
|
|
42
42
|
- Windows, 1.3.2 and later: `%APPDATA%\mindwtr\data\mindwtr.db`
|
|
@@ -49,7 +49,7 @@ Additional macOS paths for sandboxed builds:
|
|
|
49
49
|
A `--db` path pinned in an MCP client configuration keeps working across that move: if the file is not at the configured path, the server checks the matching `data` subfolder (or the parent folder) and reports on stderr which database it opened.
|
|
50
50
|
|
|
51
51
|
If `mindwtr.db` is missing but `data.json` exists in the same desktop data folder, the MCP server will bootstrap a fresh SQLite database from that local data snapshot on first start.
|
|
52
|
-
|
|
52
|
+
The desktop data folder is the folder that holds `mindwtr.db` in the default locations above.
|
|
53
53
|
|
|
54
54
|
You can override local mode with:
|
|
55
55
|
- `--db /path/to/mindwtr.db`
|
|
@@ -175,6 +175,8 @@ Flags (all have `MINDWTR_MCP_HTTP*` env var equivalents):
|
|
|
175
175
|
- `--http-host <host>` / `MINDWTR_MCP_HTTP_HOST` — bind address, default `127.0.0.1`.
|
|
176
176
|
- `--http-port <port>` / `MINDWTR_MCP_HTTP_PORT` — bind port, default `8722`.
|
|
177
177
|
|
|
178
|
+
The desktop app's built-in MCP server also uses port `8722`. If it is on, pass another port with `--http-port`, for example `--http-port 8723`.
|
|
179
|
+
|
|
178
180
|
The MCP endpoint is `POST /mcp` and requires `Authorization: Bearer <token>` on every request; `GET /healthz` returns `200 ok` without auth for reverse-proxy health checks. Requests without a valid token get `401`; repeated authentication failures get `429` with a `Retry-After` header. Bodies over 1 MiB get `413`. When HTTP mode is on, the server does not also connect a stdio transport — it stays alive as long as the HTTP server is listening, not stdin.
|
|
179
181
|
|
|
180
182
|
There is no built-in TLS termination or rate limiting for authenticated requests. If you're exposing this beyond localhost, put a reverse proxy (e.g. Caddy, nginx) in front for TLS and put the resulting `https://` URL (plus your token) into the remote MCP client.
|
|
@@ -267,15 +269,13 @@ mindwtr-mcp --db "/path/to/mindwtr.db"
|
|
|
267
269
|
|
|
268
270
|
### Desktop app toggle?
|
|
269
271
|
|
|
270
|
-
The desktop app has **Settings → Integrations → MCP**. Access is disabled and read-only by default. Enable it and copy connection details for a client supporting authenticated Streamable HTTP at `http://127.0.0.1:8722/mcp`. Configuration syntax depends on the client; stdio-only clients can continue using this standalone helper.
|
|
272
|
+
The desktop app has **Settings → Integrations → Local MCP server (advanced)**. Access is disabled and read-only by default. Enable it and copy connection details for a client supporting authenticated Streamable HTTP at `http://127.0.0.1:8722/mcp`. Configuration syntax depends on the client; stdio-only clients can continue using this standalone helper.
|
|
271
273
|
|
|
272
274
|
Enable **Allow changes** only to permit creating, editing, and deleting tasks and projects, including completing tasks. Connected AI clients can read exposed Mindwtr data and may send it to their provider. Keep the copied bearer token private; regenerating it disconnects old clients.
|
|
273
275
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
The app owns the helper lifetime and a private Local API bridge, leaving public Local API settings unchanged. Closing to the tray keeps it running; disabling MCP or quitting stops it. A helper crash or occupied port is shown in Settings with Retry. The app must stay available. This mode does not provide remote ChatGPT access, a tunnel, or hosting, and has the same supported operations as the Local API backend above.
|
|
276
|
+
The built-in server runs inside the desktop app and shares its task and project operations with the Local API. You do not need to enable the Local API. Closing to the tray keeps it running; disabling MCP or quitting stops it. A startup failure or occupied port is shown in Settings with Retry. The app must stay available. This mode does not provide remote ChatGPT access, a tunnel, or hosting, and has the same supported operations as the Local API backend above.
|
|
277
277
|
|
|
278
|
-
|
|
278
|
+
Source builds compile the built-in server with the desktop Rust application; no separate MCP executable or runtime is bundled.
|
|
279
279
|
|
|
280
280
|
---
|
|
281
281
|
|