A Model Context Protocol (MCP) server implementing the Unified Cognitive Processing Framework (UCPF) for advanced cognitive analysis, creative problem-solving, and structured thinking.
The DeepLucid3D UCPF Server is an implementation of the Unified Cognitive Processing Framework as an MCP server. It combines recursive self-awareness with dimensional knowledge categorization to provide a powerful approach to problem-solving and creative thinking.
This server extends AI capabilities by providing structured cognitive tools that help:
The UCPF Server enables advanced cognitive processing through several key features:
Cognitive State Assessment: Identifies current cognitive states (Dark Inertia, Passion, or Approaching Lucidity) to improve self-awareness during problem-solving.
Knowledge Dimension Mapping: Maps knowledge across three dimensions:
Recursive Self-Questioning: Challenges initial assumptions and identifies potential cognitive biases.
Creative Perspective Generation: Produces novel viewpoints and metaphorical thinking to inspire new solutions.
Problem Decomposition: Breaks complex problems into manageable components and reintegrates them with awareness of the whole system.
Optional State Management: Maintains context between sessions for ongoing analysis.
Clone the repository
git clone https://github.com/yourusername/DeepLucid3D-UCPF-Server.git
cd DeepLucid3D-UCPF-Server
Install dependencies
npm install
Build the project
npm run build
Configure MCP settings
Add the server to your MCP settings file. For Claude/Cline, this is typically located at:
~/Library/Application Support/Claude/claude_desktop_config.json
(macOS)~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
(Linux)Add the following configuration:
{
"mcpServers": {
"ucpf": {
"command": "node",
"args": ["path/to/DeepLucid3D-MCP/build/index.js"],
"env": {},
"disabled": false,
"autoApprove": []
}
}
}
Restart your MCP-compatible application (Claude, VSCode with Cline, etc.)
The server exposes three main tools and several resources that can be accessed through MCP:
analyze_problem: Process a problem statement through the full UCPF framework
<use_mcp_tool>
<server_name>ucpf</server_name>
<tool_name>analyze_problem</tool_name>
<arguments>
{
"problem": "Your problem statement here",
"session_id": "optional-session-id",
"enable_state": false,
"detailed": false
}
</arguments>
</use_mcp_tool>
creative_exploration: Generate novel perspectives and connections for a topic
<use_mcp_tool>
<server_name>ucpf</server_name>
<tool_name>creative_exploration</tool_name>
<arguments>
{
"topic": "Your topic here",
"constraints": ["Optional constraint 1", "Optional constraint 2"],
"perspective_count": 3,
"include_metaphors": true
}
</arguments>
</use_mcp_tool>
manage_state: Control state management for UCPF processing
<use_mcp_tool>
<server_name>ucpf</server_name>
<tool_name>manage_state</tool_name>
<arguments>
{
"action": "enable", // or "disable", "reset", "status"
"session_id": "optional-specific-session-id"
}
</arguments>
</use_mcp_tool>
Access framework documentation:
<access_mcp_resource>
<server_name>ucpf</server_name>
<uri>ucpf://framework/overview</uri>
</access_mcp_resource>
Available resources:
ucpf://framework/overview
: Overview of the UCPF frameworkucpf://framework/cognitive-states
: Guide to cognitive statesucpf://framework/knowledge-dimensions
: Reference for knowledge dimensionsucpf://session/{sessionId}/analysis
: Analysis results for a specific sessionLet's solve the classic riddle: "What walks on four legs in the morning, two legs in the afternoon, and three legs in the evening?"
<use_mcp_tool>
<server_name>ucpf</server_name>
<tool_name>manage_state</tool_name>
<arguments>
{
"action": "enable"
}
</arguments>
</use_mcp_tool>
<use_mcp_tool>
<server_name>ucpf</server_name>
<tool_name>analyze_problem</tool_name>
<arguments>
{
"problem": "What walks on four legs in the morning, two legs in the afternoon, and three legs in the evening?",
"session_id": "sphinx-riddle",
"enable_state": true
}
</arguments>
</use_mcp_tool>
The analysis will provide:
<use_mcp_tool>
<server_name>ucpf</server_name>
<tool_name>creative_exploration</tool_name>
<arguments>
{
"topic": "Walking with different numbers of legs at different times of day",
"constraints": ["morning", "afternoon", "evening", "four", "two", "three"],
"include_metaphors": true,
"session_id": "sphinx-riddle"
}
</arguments>
</use_mcp_tool>
This exploration might reveal:
<access_mcp_resource>
<server_name>ucpf</server_name>
<uri>ucpf://session/sphinx-riddle/analysis</uri>
</access_mcp_resource>
This provides the complete analysis journey, showing how the framework led to the solution through structured cognitive processing.
This project stands on the shoulders of giants:
MIT License
DeepLucid3D-UCPF-Server/
├── src/
│ ├── engine/
│ │ ├── ucpf-core.ts # Core UCPF processing logic
│ │ ├── creative-patterns.ts # Creative thinking utilities
│ │ └── state-manager.ts # Session state management
│ ├── tools/
│ │ ├── analyze-problem.ts # Problem analysis tool
│ │ └── creative-exploration.ts # Creative exploration tool
│ └── index.ts # Main server implementation
├── build/ # Compiled JavaScript files
├── package.json # Project dependencies and scripts
└── README.md # This documentation
© 2025 DeepLucid3D UCPF Server
{
"mcpServers": {
"ucpf": {
"env": {},
"args": [
"path/to/DeepLucid3D-MCP/build/index.js"
],
"command": "node"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.