# Mindwtr

Wires an AI client into your Mindwtr tasks through a local SQLite file, the desktop Local API, or your own Cloud endpoint. Read-only unless you opt in.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2330
- Author: dongdongbh
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dongdongbh/Mindwtr/tree/HEAD/apps/mcp-server
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/mindwtr

## What it does

Mindwtr is an MCP server that hands your agent the tasks and projects stored in the Mindwtr app. It runs as a stdio process: the client spawns it and exchanges JSON-RPC over stdin and stdout. An HTTP transport exists too, aimed at people hosting Mindwtr Cloud themselves.

Pick one backend. In SQLite mode the server opens `mindwtr.db` directly, with the path coming from `--db` or the `MINDWTR_DB_PATH` and `MINDWTR_DB` variables. Local API mode talks to the REST endpoints of a running desktop app using a bearer token and never touches the database. Cloud mode points at your own URL with a token. Combining API with Cloud or `--db` is not allowed, and the server rejects it.

The standalone helper wants Node.js 20+, and 22+ is the better bet. SQLite mode pulls in the `better-sqlite3` native addon, so without a prebuilt binary for your platform npm will ask for a C/C++ toolchain and Python for node-gyp. On npm 12 you have to approve that dependency's install script, or the install succeeds and startup dies on a missing native binding. Writes stay off until you pass `--write`.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `MINDWTR_DB_PATH`, `MINDWTR_MCP_CLOUD_URL`, `MINDWTR_MCP_CLOUD_TOKEN`, `MINDWTR_MCP_API_URL`, `MINDWTR_MCP_API_TOKEN` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env MINDWTR_DB_PATH=<MINDWTR_DB_PATH> --env MINDWTR_MCP_CLOUD_URL=<MINDWTR_MCP_CLOUD_URL> --env MINDWTR_MCP_CLOUD_TOKEN=<MINDWTR_MCP_CLOUD_TOKEN> --env MINDWTR_MCP_API_URL=<MINDWTR_MCP_API_URL> --env MINDWTR_MCP_API_TOKEN=<MINDWTR_MCP_API_TOKEN> --transport stdio mcp-server -- npx -y mindwtr-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add mcp-server --env MINDWTR_DB_PATH=<MINDWTR_DB_PATH> --env MINDWTR_MCP_CLOUD_URL=<MINDWTR_MCP_CLOUD_URL> --env MINDWTR_MCP_CLOUD_TOKEN=<MINDWTR_MCP_CLOUD_TOKEN> --env MINDWTR_MCP_API_URL=<MINDWTR_MCP_API_URL> --env MINDWTR_MCP_API_TOKEN=<MINDWTR_MCP_API_TOKEN> -- npx -y mindwtr-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "mindwtr-mcp"
            ],
            "env": {
                "MINDWTR_DB_PATH": "<MINDWTR_DB_PATH>",
                "MINDWTR_MCP_CLOUD_URL": "<MINDWTR_MCP_CLOUD_URL>",
                "MINDWTR_MCP_CLOUD_TOKEN": "<MINDWTR_MCP_CLOUD_TOKEN>",
                "MINDWTR_MCP_API_URL": "<MINDWTR_MCP_API_URL>",
                "MINDWTR_MCP_API_TOKEN": "<MINDWTR_MCP_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "mindwtr-mcp"
            ],
            "env": {
                "MINDWTR_DB_PATH": "<MINDWTR_DB_PATH>",
                "MINDWTR_MCP_CLOUD_URL": "<MINDWTR_MCP_CLOUD_URL>",
                "MINDWTR_MCP_CLOUD_TOKEN": "<MINDWTR_MCP_CLOUD_TOKEN>",
                "MINDWTR_MCP_API_URL": "<MINDWTR_MCP_API_URL>",
                "MINDWTR_MCP_API_TOKEN": "<MINDWTR_MCP_API_TOKEN>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e MINDWTR_DB_PATH=<MINDWTR_DB_PATH> -e MINDWTR_MCP_CLOUD_URL=<MINDWTR_MCP_CLOUD_URL> -e MINDWTR_MCP_CLOUD_TOKEN=<MINDWTR_MCP_CLOUD_TOKEN> -e MINDWTR_MCP_API_URL=<MINDWTR_MCP_API_URL> -e MINDWTR_MCP_API_TOKEN=<MINDWTR_MCP_API_TOKEN> mcp-server npx -y mindwtr-mcp
```
Replace <…> with your own values

## When to use it
- pull a task list out of Mindwtr inside the chat
- filter tasks by dates and status with search operators
- add or complete a task without opening the app
- group projects by area and sequential behaviour
- give an agent task access without handing over the database

## Example prompts
- List every Mindwtr task due this week
- Find Mindwtr tasks tagged urgent and sort them by date
- Create a Mindwtr task called Team sync for tomorrow

## Similar
- [task-management](https://affpapa.org/en/nevibecode/skills/task-management.md) — skill · 7200 installs
- [update](https://affpapa.org/en/nevibecode/skills/anthropics-update.md) — skill · 5000 installs
- [gws-workflow-standup-report](https://affpapa.org/en/nevibecode/skills/gws-workflow-standup-report.md) — skill · 31600 installs
- [Reactive Resume](https://affpapa.org/en/nevibecode/mcp/reactive-resume.md) — MCP server · ★ 44908
- [screenpipe](https://affpapa.org/en/nevibecode/mcp/screenpipe.md) — MCP server · ★ 22082
- [Azure DevOps (ADO)](https://affpapa.org/en/nevibecode/mcp/azure-devops-ado.md) — MCP server · ★ 2071
- [IWE (iwe.md)](https://affpapa.org/en/nevibecode/mcp/iwe-iwemd.md) — MCP server · ★ 1798
- [basic-memory](https://affpapa.org/en/nevibecode/mcp/basic-memory.md) — MCP server · ★ 4362

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
