šŖ· Lotus Wisdom MCP Server
<p align="center"> <img src="assets/lotus-flower.png" alt="Lotus Flower" width="400"/> </p>An MCP server implementation that provides a tool for problem-solving using the Lotus Sutra's wisdom framework, combining analytical thinking with intuitive wisdom.
Available at: https://lotus-wisdom-mcp.linxule.workers.dev/mcp
Features
- Multi-faceted problem-solving approach inspired by the Lotus Sutra
- Step-by-step thought process with different thinking techniques
- Meditation pauses to allow insights to emerge naturally
- Interactive visualization via MCP ext-apps (Claude Desktop, Cursor, ChatGPT) ā adapts to the host light/dark theme and is keyboard-accessible
- MCP Prompts (
contemplate,deep-inquiry) for one-step guided contemplative sessions - Structured tool output (
structuredContent+outputSchema) alongside the text response - Tracks both tag journey and wisdom domain movements
- Available as a local stdio package (
npx) or a hosted remote Connector - Final integration of insights into a clear response
Background
This MCP server was developed from the Lotus OS prompt, 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.
Note: The original prompt framework may work less effectively with newer Claude models, but this MCP server implementation provides consistent functionality across model versions.
Implementation Details
The server implements a structured thinking process using wisdom domains inspired by the Lotus Sutra:
Wisdom Domains and Tags
The server organizes thoughts using wisdom domains (all valid values for the tag input parameter):
-
Entry (šŖ):
begin- Begin your journey here - receives the full framework before contemplation starts
-
Skillful Means (š):
upaya,expedient,direct,gradual,sudden- Different approaches to truth - sometimes direct pointing, sometimes gradual unfolding
-
Non-Dual Recognition (āÆļø):
recognize,transform,integrate,transcend,embody- Aspects of awakening to what's already present - recognition IS transformation
-
Meta-Cognitive (š§ ):
examine,reflect,verify,refine,complete- The mind watching its own understanding unfold
-
Process Flow (š):
open,engage,express- A natural arc that can contain any of the above approaches
-
Meditation (š§):
meditate- Pausing to let insights emerge from stillness
Thought Visualization
In clients that support MCP ext-apps, each step renders inline as an interactive "Living Trace" (see Interactive Visualization below). For every client, each step also returns:
- Journey tracking showing both the tag path and the wisdom-domain movements
- Domain-specific labels and the current contemplation text
- Structured output (
structuredContent+outputSchema) for programmatic consumers
Note: The local stdio server can emit per-step trace lines to its console (stderr) when run with LOTUS_DEBUG=true, helping developers follow the thinking process.
Process Flow
- The user submits a problem to solve
- The model begins with
tag='begin'to receive the full framework - The model continues with contemplation tags (open, examine, integrate, etc.)
- Each thought builds on previous ones and may revise understanding
- The tool tracks both the tag journey and wisdom domain movements
- Meditation pauses can be included for clarity
- When status='WISDOM_READY' is returned, the tool's work is complete
- The model then expresses the final wisdom naturally in its own voice
Available Tools
lotuswisdom
A tool for problem-solving using the Lotus Sutra's wisdom framework, with various approaches to understanding.
Begin your journey with tag='begin' - this returns the full framework (philosophy, domains, guidance) to ground your contemplation. Then continue with the other tags.
Inputs:
tag(string, required): The current processing technique (must be one of the tags listed above)content(string, required): The content of the current processing stepstepNumber(integer, required): Current number in sequencetotalSteps(integer, required): Estimated total steps needednextStepNeeded(boolean, required): Whether another step is neededisMeditation(boolean, optional): Whether this step is a meditative pausemeditationDuration(integer, optional): Duration for meditation in seconds (1-10)previousJourney(string, optional): Thejourneystring 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.
Returns: both a JSON text block and matching structuredContent (validated against the tool's outputSchema):
- Processing status with current step information, wisdom domain, and journey tracking
FRAMEWORK_RECEIVEDstatus (with the full framework) on the firstbeginstepMEDITATION_COMPLETEstatus for meditation stepsWISDOM_READYstatus when the contemplative process is complete
The tool also declares behavioral annotations ā readOnlyHint, idempotentHint, destructiveHint: false, openWorldHint: false ā so hosts can treat it as a safe, side-effect-free call.
lotuswisdom_summary
Get a summary of the current contemplative journey.
Inputs:
previousJourney(string, optional): Thejourneystring from a previous response, used to reconstruct the summary in stateless clients.
Returns:
- Journey length
- Domain journey showing movement between wisdom domains
- Summary of all steps with their tags, domains, and brief content
MCP Prompts
The server registers two prompts that scaffold a guided contemplative session (surfaced as slash commands or prompt pickers in clients that support MCP Prompts):
contemplateā argumentquestion: opens a single-question contemplation, instructing the model to start withtag='begin', iterate, and speak the wisdom only oncestatus='WISDOM_READY'.deep-inquiryā argumenttopic: begins a longer inquiry that moves deliberately across the wisdom domains (process ā meta-cognitive ā non-dual ā meditation).
Usage
The Lotus Wisdom tool is designed for:
- Breaking down complex problems requiring multi-faceted understanding
- Questions that benefit from both direct and gradual approaches
- Problems where apparent contradictions need integration
- Situations requiring both analytical and intuitive understanding
- Tasks that benefit from meditative pauses to allow insight
- Questions containing their own inherent wisdom
Example Usage
Here's how a conversation with Claude might flow when using the Lotus Wisdom MCP server:
User: "Help me understand the relationship between freedom and responsibility."
Claude would begin the journey with tag='begin' to receive the framework, then continue:
- First, enter the contemplative space:
{
"tag": "begin",
"content": "Entering contemplation on freedom and responsibility.",
"stepNumber": 1,
"totalSteps": 6,
"nextStepNeeded": true
}ā Returns FRAMEWORK_RECEIVED with full framework
- Then, establish an opening thought:
{
"tag": "open",
"content": "The question explores the relationship between freedom and responsibility, which contain an apparent tension but also deep connection.",
"stepNumber": 2,
"totalSteps": 6,
"nextStepNeeded": true
}- Engage with different perspectives:
{
"tag": "direct",
"content": "Freedom and responsibility are two sides of the same coin. True freedom isn't absence of constraints but the capacity to choose our response within constraints.",
"stepNumber": 3,
"totalSteps": 6,
"nextStepNeeded": true
}- Perhaps take a meditation pause:
{
"tag": "meditate",
"content": "Contemplating how freedom without responsibility becomes chaos, and responsibility without freedom becomes oppression.",
"stepNumber": 4,
"totalSteps": 6,
"nextStepNeeded": true,
"isMeditation": true
}- Integrate the understanding:
{
"tag": "integrate",
"content": "Freedom and responsibility mutually enable each other. Our freedom to choose gives rise to our responsibility for what we choose, and our willingness to take responsibility expands our freedom.",
"stepNumber": 5,
"totalSteps": 6,
"nextStepNeeded": true
}- Express the final understanding:
{
"tag": "express",
"content": "The paradox resolves when we see that authentic freedom includes responsibility as its natural expression.",
"stepNumber": 6,
"totalSteps": 6,
"nextStepNeeded": false
}When the tool returns status: 'WISDOM_READY', Claude then speaks the final wisdom naturally, integrating all the insights from the contemplative journey.
Installation
Install via Smithery for one-click setup, or follow the manual instructions below.
Requires Node.js 18+. The server runs locally via npx.
CLI Install (one-liner)
# Claude Code
claude mcp add lotus-wisdom -- npx -y lotus-wisdom-mcp
# Codex CLI (OpenAI)
codex mcp add lotus-wisdom -- npx -y lotus-wisdom-mcp
# Gemini CLI (Google)
gemini mcp add lotus-wisdom npx -y lotus-wisdom-mcpClaude Desktop
Add to your claude_desktop_config.json:
| OS | Config path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
{
"mcpServers": {
"lotus-wisdom": {
"command": "npx",
"args": ["-y", "lotus-wisdom-mcp"]
}
}
}VS Code
Add to .vscode/mcp.json (workspace) or open Command Palette > MCP: Open User Configuration (global):
{
"servers": {
"lotus-wisdom": {
"command": "npx",
"args": ["-y", "lotus-wisdom-mcp"]
}
}
}Note: VS Code uses
"servers"as the top-level key, not"mcpServers". Other VS Code forks (Trae, Void, PearAI, etc.) typically use this same format.
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"lotus-wisdom": {
"command": "npx",
"args": ["-y", "lotus-wisdom-mcp"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json (Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json):
{
"mcpServers": {
"lotus-wisdom": {
"command": "npx",
"args": ["-y", "lotus-wisdom-mcp"]
}
}
}Cline
Open MCP Servers icon in Cline panel > Configure > Advanced MCP Settings, then add:
{
"mcpServers": {
"lotus-wisdom": {
"command": "npx",
"args": ["-y", "lotus-wisdom-mcp"]
}
}
}Cherry Studio
In Settings > MCP Servers > Add Server, set Type to STDIO, Command to npx, Args to -y lotus-wisdom-mcp. Or paste in JSON/Code mode:
{
"lotus-wisdom": {
"name": "Lotus Wisdom",
"command": "npx",
"args": ["-y", "lotus-wisdom-mcp"],
"isActive": true
}
}Witsy
In Settings > MCP Servers, add a new server with Type: stdio, Command: npx, Args: -y lotus-wisdom-mcp.
Codex CLI (TOML config)
Alternatively, edit ~/.codex/config.toml directly:
[mcp_servers.lotus-wisdom]
command = "npx"
args = ["-y", "lotus-wisdom-mcp"]Gemini CLI (JSON config)
Alternatively, edit ~/.gemini/settings.json directly:
{
"mcpServers": {
"lotus-wisdom
ā¦