@cpenned/mcp 0.10.0 → 0.11.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpenned/mcp",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "MCP server for Open Brain - a thin adapter over the /v1 HTTP API.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -31,6 +31,7 @@
31
31
  "main": "./dist/index.js",
32
32
  "files": [
33
33
  "dist",
34
+ "dist-ui",
34
35
  "skills",
35
36
  "README.md",
36
37
  "LICENSE"
@@ -39,19 +40,20 @@
39
40
  "access": "public"
40
41
  },
41
42
  "scripts": {
42
- "build": "node scripts/bundle-skills.mjs && tsc -p tsconfig.json",
43
- "typecheck": "tsc -p tsconfig.json --noEmit",
43
+ "build": "node scripts/bundle-skills.mjs && node scripts/build-ui.mjs && tsc -p tsconfig.json",
44
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p ui/tsconfig.json",
44
45
  "test": "vitest run",
45
46
  "start": "node dist/index.js",
46
47
  "prepublishOnly": "npm run build"
47
48
  },
48
49
  "dependencies": {
49
- "@mcp-ui/server": "^6.1.0",
50
+ "@modelcontextprotocol/ext-apps": "^1.7.5",
50
51
  "@modelcontextprotocol/sdk": "^1.29.0",
51
52
  "zod": "^4.6.7"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@types/node": "^22.0.0",
56
+ "esbuild": "^0.27.0",
55
57
  "typescript": "^5.6.0",
56
58
  "vitest": "^4.1.8"
57
59
  }
@@ -222,10 +222,16 @@ pre-guessing constraints.
222
222
  - **AI**: `find_tasks` (hybrid keyword + semantic search), `ai_triage`
223
223
  (brain dump → garden-assigned tasks, recurring habits, reading-list
224
224
  saves/edits/cancels, and books - see Workflows).
225
- - **UI (read-only)**: `ui_view`, `ui_review_queue`, `ui_garden_board`,
226
- `ui_habits` return `ui://` HTML resources. `ui_view` and `ui_habits` take a
227
- `cursor`; when a page is cut short the result adds a text note with the
228
- cursor for the next page.
225
+ - **Cards (MCP Apps)**: in hosts that render MCP Apps, these tools also show
226
+ an interactive card: `get_task` / `create_task` / `update_task` (task card:
227
+ Done, Defer to tomorrow, Open), `get_view` (agenda, tick to complete),
228
+ `create_tasks` and `ai_triage` (what was created, with Undo), `get_reviews`
229
+ (Reviewed / Contacted), `list_habits` (check in for today) and
230
+ `review_garden` (board by status). The JSON result is unchanged, so keep
231
+ reading it. When the user acts on a card, a model-context note says what
232
+ changed; trust it over the earlier result and don't redo the action. To
233
+ show the user a list visually, call the matching tool rather than pasting
234
+ a long text list. (The old `ui_*` tools are gone.)
229
235
  - **Settings**: `get_settings`, `update_settings` (the default review period
230
236
  applied to new tasks/projects; `defaultReviewInterval: null` disables it;
231
237
  `defaultTimezone`, an IANA string, is also settable - it's what date-only