lotus-wisdom-mcp 0.1.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/LICENSE +21 -0
- package/README.md +90 -0
- package/cli.js +3 -0
- package/dist/bundle.js +6132 -0
- package/dist/cli.js +3 -0
- package/dist/index.js +283 -0
- package/package.json +51 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Xule Lin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Lotus Wisdom MCP Server
|
|
2
|
+
|
|
3
|
+
An MCP server implementation that provides a tool for problem-solving using the Lotus Sutra's wisdom framework, combining analytical thinking with intuitive wisdom.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
* Multi-faceted problem-solving approach inspired by the Lotus Sutra
|
|
8
|
+
* Step-by-step thought process with different thinking techniques
|
|
9
|
+
* Meditation pauses to allow insights to emerge naturally
|
|
10
|
+
* Beautifully formatted thought process visualization with colors and symbols
|
|
11
|
+
* Final integration of insights into a clear response
|
|
12
|
+
|
|
13
|
+
## Tool
|
|
14
|
+
|
|
15
|
+
### lotuswisdom
|
|
16
|
+
|
|
17
|
+
A tool for problem-solving using the Lotus Sutra's wisdom framework, with various approaches to understanding.
|
|
18
|
+
|
|
19
|
+
**Inputs:**
|
|
20
|
+
|
|
21
|
+
* `tag` (string): The current processing technique (must be one of the core tags)
|
|
22
|
+
* `content` (string): The content of the current processing step
|
|
23
|
+
* `stepNumber` (integer): Current number in sequence
|
|
24
|
+
* `totalSteps` (integer): Estimated total steps needed
|
|
25
|
+
* `nextStepNeeded` (boolean): Whether another step is needed
|
|
26
|
+
* `isMeditation` (boolean, optional): Whether this step is a meditative pause
|
|
27
|
+
* `meditationDuration` (integer, optional): Duration for meditation in seconds
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
The Lotus Wisdom tool is designed for:
|
|
32
|
+
|
|
33
|
+
* Breaking down complex problems requiring multi-faceted understanding
|
|
34
|
+
* Questions that benefit from both direct and gradual approaches
|
|
35
|
+
* Problems where apparent contradictions need integration
|
|
36
|
+
* Situations requiring both analytical and intuitive understanding
|
|
37
|
+
* Tasks that benefit from meditative pauses to allow insight
|
|
38
|
+
* Questions containing their own inherent wisdom
|
|
39
|
+
|
|
40
|
+
## Configuration
|
|
41
|
+
|
|
42
|
+
### Usage with Claude Desktop
|
|
43
|
+
|
|
44
|
+
Add this to your `claude_desktop_config.json`:
|
|
45
|
+
|
|
46
|
+
#### npx
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"lotus-wisdom": {
|
|
52
|
+
"command": "npx",
|
|
53
|
+
"args": [
|
|
54
|
+
"-y",
|
|
55
|
+
"git+https://github.com/linxule/lotus-wisdom-mcp.git"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
#### docker
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"mcpServers": {
|
|
67
|
+
"lotus-wisdom": {
|
|
68
|
+
"command": "docker",
|
|
69
|
+
"args": [
|
|
70
|
+
"run",
|
|
71
|
+
"--rm",
|
|
72
|
+
"-i",
|
|
73
|
+
"lotus-wisdom-mcp"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Building
|
|
81
|
+
|
|
82
|
+
Docker:
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
docker build -t lotus-wisdom-mcp -f Dockerfile .
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## License
|
|
89
|
+
|
|
90
|
+
This MCP server is licensed under the MIT License. For more details, please see the LICENSE file in the project repository.
|
package/cli.js
ADDED