lotus-wisdom-mcp 0.8.0 → 0.8.2

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 CHANGED
@@ -24,7 +24,7 @@ Available at: https://lotus-wisdom-mcp.linxule.workers.dev/mcp
24
24
 
25
25
  This MCP server was developed from the [Lotus OS prompt](https://github.com/linxule/prompts/blob/main/cognitive-techniques/lotus_os.md), which was designed to implement a cognitive framework based on the Lotus Sutra. The MCP server format makes this framework more accessible and easier to use with Claude and other AI assistants.
26
26
 
27
- Note: The original prompt framework may work less effectively with newer Claude models, but this MCP server implementation provides consistent functionality across model versions.
27
+ The MCP server exposes the framework through tools and prompts. How well a model follows that framework depends on the model and host.
28
28
 
29
29
  ## Implementation Details
30
30
 
@@ -84,21 +84,24 @@ A tool for problem-solving using the Lotus Sutra's wisdom framework, with variou
84
84
  **Inputs:**
85
85
 
86
86
  * `tag` (string, required): The current processing technique (must be one of the tags listed above)
87
- * `content` (string, required): The content of the current processing step
88
- * `stepNumber` (integer, required): Current number in sequence
89
- * `totalSteps` (integer, required): Estimated total steps needed
90
- * `nextStepNeeded` (boolean, required): Whether another step is needed
87
+ * `content` (non-empty string, required): The content of the current processing step, including `begin`
88
+ * `stepNumber` (integer, optional, default `1`): Current number in sequence
89
+ * `totalSteps` (integer, optional, default `5`): Estimated total steps needed
90
+ * `nextStepNeeded` (boolean, optional, default `true`): Whether another step is needed
91
91
  * `isMeditation` (boolean, optional): Whether this step is a meditative pause
92
92
  * `meditationDuration` (integer, optional): Duration for meditation in seconds (1-10)
93
93
  * `previousJourney` (string, optional): The `journey` string from a previous response, e.g. `"begin → open → examine"`. Lets the AI carry journey continuity forward in stateless clients (such as the remote Worker), where the server keeps no session state.
94
94
 
95
- **Returns:** both a JSON text block and matching `structuredContent` (validated against the tool's `outputSchema`):
95
+ **Returns:** a JSON text block and `structuredContent` validated against the tool's `outputSchema`. For `begin`, the full framework is in the text block; structured output contains its status, welcome, and contemplation fields. Other result variants retain their fields in both representations.
96
+
97
+ Response statuses include:
98
+
96
99
  - Processing status with current step information, wisdom domain, and journey tracking
97
- - `FRAMEWORK_RECEIVED` status (with the full framework) on the first `begin` step
100
+ - `FRAMEWORK_RECEIVED` status on a `begin` step
98
101
  - `MEDITATION_COMPLETE` status for meditation steps
99
102
  - `WISDOM_READY` status when the contemplative process is complete
100
103
 
101
- The tool also declares behavioral annotations — `readOnlyHint`, `idempotentHint`, `destructiveHint: false`, `openWorldHint: false` — so hosts can treat it as a safe, side-effect-free call.
104
+ The tool declares `readOnlyHint`, `idempotentHint`, `destructiveHint: false`, and `openWorldHint: false`. These are host hints, not a guarantee of zero side effects: local stdio calls update the in-memory journey, and the hosted worker records usage analytics. The tools do not modify user files or external business data.
102
105
 
103
106
  ### lotuswisdom_summary
104
107
 
@@ -211,9 +214,7 @@ When the tool returns `status: 'WISDOM_READY'`, Claude then speaks the final wis
211
214
 
212
215
  ## Installation
213
216
 
214
- [![Smithery Badge](https://smithery.ai/badge/lotus-wisdom-mcp)](https://smithery.ai/server/lotus-wisdom-mcp)
215
-
216
- Install via [Smithery](https://smithery.ai/server/lotus-wisdom-mcp) for one-click setup, or follow the manual instructions below.
217
+ Install via [Smithery](https://smithery.ai/server/@linxule/lotus-wisdom-mcp) for one-click setup, or follow the manual instructions below.
217
218
 
218
219
  Requires [Node.js](https://nodejs.org/) 18+. The server runs locally via `npx`.
219
220
 
@@ -377,7 +378,7 @@ codex mcp add lotus-wisdom -- cmd /c npx -y lotus-wisdom-mcp
377
378
 
378
379
  ### ChatGPT
379
380
 
380
- ChatGPT only supports remote MCP servers over HTTPS. Use [Smithery](https://smithery.ai/server/lotus-wisdom-mcp) or connect directly to the hosted instance below via ChatGPT Settings > Connectors.
381
+ ChatGPT only supports remote MCP servers over HTTPS. Use [Smithery](https://smithery.ai/server/@linxule/lotus-wisdom-mcp) or connect directly to the hosted instance below via ChatGPT Settings > Connectors.
381
382
 
382
383
  ### Remote (hosted)
383
384
 
@@ -400,12 +401,36 @@ To self-host your own instance, see [`worker/README.md`](worker/README.md).
400
401
 
401
402
  ### Building from source
402
403
 
404
+ Use Bun 1.4.2 and Node.js 24 to match CI.
405
+
403
406
  ```bash
404
- bun install
407
+ bun install --frozen-lockfile
408
+ bun run typecheck
409
+ bun run test
405
410
  bun run build
406
411
  bun run start
407
412
  ```
408
413
 
414
+ The build installs the app's locked dependencies and rebuilds the tracked
415
+ `dist/bundle.js` and `dist/journey.html` artifacts. Check app types with
416
+ `cd app && bunx tsc --noEmit`; see [worker validation](worker/README.md#local-dev)
417
+ for the worker typecheck, dry-run build, and local HTTP regression.
418
+
419
+ Dependabot uses the `bun` ecosystem for the root, app, and worker packages so
420
+ updates include their `bun.lock` files. CI verifies all three packages on pull
421
+ requests. Merging a PR updates source only: a version tag publishes to npm and
422
+ the MCP Registry, and the Cloudflare Worker requires a separate deployment.
423
+
424
+ If npm publishes successfully but MCP Registry registration fails, retry only
425
+ registration for the existing tag:
426
+
427
+ ```bash
428
+ gh workflow run publish-mcp.yml --ref main -f registry_tag=v0.8.1
429
+ ```
430
+
431
+ This revalidates the tagged source and waits for npm availability before
432
+ registration. It does not republish npm or move the release tag.
433
+
409
434
  Enable debug mode:
410
435
 
411
436
  ```bash
@@ -464,7 +489,19 @@ Contributions are welcome! Please feel free to submit issues or pull requests on
464
489
 
465
490
  ## Version
466
491
 
467
- Current version: 0.8.0
492
+ Current version: 0.8.1
493
+
494
+ ### What's New in 0.8.1
495
+
496
+ - Updated dependencies and GitHub Actions, regenerated Bun lockfiles, and added
497
+ app and worker validation to CI.
498
+ - Updated vulnerable transitive dependencies across all three packages and added
499
+ dependency audits to CI. All three Bun audits passed during release validation
500
+ on September 14, 2026.
501
+ - Migrated the visualization to ext-apps 2 with its MCP client v2 and Zod 4
502
+ dependencies. The server transports remain on MCP SDK v1; the worker uses
503
+ the agents SDK's explicit compatibility handler and retains stateless JSON
504
+ responses.
468
505
 
469
506
  ### What's New in 0.8.0
470
507
 
@@ -524,4 +561,4 @@ Current version: 0.8.0
524
561
  - 🔄 **Dual Transport**: Maintains stdio support for npm/CLI users while adding HTTP for remote deployment
525
562
  - 📦 **Updated SDK**: Upgraded to @modelcontextprotocol/sdk 1.20.1 with Streamable HTTP support
526
563
  - 🪷 **New Logo**: Terminal-aesthetic lotus logo perfect for developer tools
527
- - ⚡ **Session Management**: HTTP version includes full session management for stateful wisdom journeys
564
+ - ⚡ **Session Management**: HTTP version includes full session management for stateful wisdom journeys