The DeepLucid3D UCPF Server implements the Model Context Protocol (MCP) for advanced cognitive analysis, creative problem-solving, and structured thinking. This server combines recursive self-awareness with dimensional knowledge categorization to provide powerful cognitive tools for assessing states, mapping knowledge dimensions, and generating creative perspectives.
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.)
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>
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>
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 with:
<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>
<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>
<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 (a human at different life stages) through structured cognitive processing.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "ucpf" '{"command":"node","args":["path/to/DeepLucid3D-MCP/build/index.js"],"env":[],"disabled":false,"autoApprove":[]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"ucpf": {
"command": "node",
"args": [
"path/to/DeepLucid3D-MCP/build/index.js"
],
"env": [],
"disabled": false,
"autoApprove": []
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"ucpf": {
"command": "node",
"args": [
"path/to/DeepLucid3D-MCP/build/index.js"
],
"env": [],
"disabled": false,
"autoApprove": []
}
}
}
3. Restart Claude Desktop for the changes to take effect