@cpenned/mcp 0.10.0 → 0.12.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.12.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,20 @@ 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` (Done,
227
+ Defer to tomorrow, Open), `get_view` / `list_tasks` / `find_tasks` (task
228
+ list, tick to complete), `create_tasks` and `ai_triage` (what was created,
229
+ with Undo; triage questions have a reply box), `get_reviews` (Reviewed /
230
+ Contacted), `list_habits` (check in for today), `review_garden` (board by
231
+ status), people, books, reading items and Strava activities (get/create/
232
+ update), and `list_calendar_events` (events by day). The JSON result is
233
+ unchanged, so keep reading it. When the user acts on a card, a model-context
234
+ note says what changed; trust it over the earlier result and don't redo the
235
+ action. A triage reply arrives as a normal user message ("Re <title>
236
+ (<question>): <answer>"): act on it by creating or re-triaging that item. To
237
+ show the user something visually, call the matching tool rather than
238
+ pasting a long text list.
229
239
  - **Settings**: `get_settings`, `update_settings` (the default review period
230
240
  applied to new tasks/projects; `defaultReviewInterval: null` disables it;
231
241
  `defaultTimezone`, an IANA string, is also settable - it's what date-only