MCP Server Recovery Guide for Quantum-Spiritual Framework
Created by Claude on Friday, April 11, 2025
This guide provides comprehensive instructions for quickly restoring your MCP server configuration when rebuilding your system or troubleshooting connection issues.
Quick Recovery Steps
- Install Node.js and npm (v14 or higher)
- Fix PowerShell execution policy
- Install required NPX packages
- Configure MCP JSON file
- Restart Claude Desktop
Detailed Instructions
1. Install Required Software
- Install Node.js from https://nodejs.org/ (v14 or higher)
- Check installation:
node -vandnpm -v
2. Fix PowerShell Execution Policy
Run PowerShell as Administrator and execute:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser3. Install Required NPX Packages
npm install -g @memoryplugin/mcp-server
npm install -g obsidian-mcp
npm install -g @modelcontextprotocol/server-filesystem4. Configure MCP JSON File
Create or edit the file: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"memoryplugin": {
"command": "npx",
"args": ["-y", "@memoryplugin/mcp-server"],
"env": {
"MEMORY_PLUGIN_TOKEN": "4OCG5bgdgGfYM4jJttBjrXkIlDq3md6z"
}
},
"obsidian": {
"command": "npx",
"args": ["-y", "obsidian-mcp", "D:\\Quantum-Spiritual-Framework"],
"env": {
"OBSIDIAN_API_KEY": "1566a4a8aa5585fc298321b1104ed81d1acfa17cbeb6db9b34600fe7768524d8"
}
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "D:\\Quantum-Spiritual-Framework\\Vaults\\Yellowkid Universal Laws SYNC\\Claude Laws"],
"env": {}
}
}
}5. Important Path Information
- Obsidian vault:
D:\Quantum-Spiritual-Framework - Claude Laws folder:
D:\Quantum-Spiritual-Framework\Vaults\Yellowkid Universal Laws SYNC\Claude Laws
6. Troubleshooting Common Issues
PowerShell Execution Policy Issues
If NPX scripts fail to run, check execution policy with:
Get-ExecutionPolicyIf it returns “Restricted”, follow step 2 above.
SSL/TLS Connection Issues
If you get SSL/TLS trust errors when connecting to the Obsidian REST API:
Invoke-RestMethod -Uri "https://127.0.0.1:27124/" -Headers @{Authorization = "Bearer 1566a4a8aa5585fc298321b1104ed81d1acfa17cbeb6db9b34600fe7768524d8"} -SkipCertificateCheckPackage Name Confusion
If you see errors about missing modules, verify package names. The most common confusion is between:
obsidian-mcp(correct for your setup)mcp-obsidian(alternative package)
7. Batch File for Automated Setup
You can create a batch file with the following content for quick setup:
@echo off
echo ===== MCP Server Setup =====
echo.
REM Check Node.js
where node >nul 2>nul
if %ERRORLEVEL% neq 0 (
echo ERROR: Node.js not found. Please install Node.js first.
pause
exit
)
REM Fix PowerShell Execution Policy
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force"
REM Install NPX Packages
npm install -g @memoryplugin/mcp-server
npm install -g obsidian-mcp
npm install -g @modelcontextprotocol/server-filesystem
REM Create MCP Configuration
echo Creating MCP configuration file...
echo { > "%APPDATA%\Claude\claude_desktop_config.json"
echo "mcpServers": { >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "memoryplugin": { >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "command": "npx", >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "args": ["-y", "@memoryplugin/mcp-server"], >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "env": { >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "MEMORY_PLUGIN_TOKEN": "4OCG5bgdgGfYM4jJttBjrXkIlDq3md6z" >> "%APPDATA%\Claude\claude_desktop_config.json"
echo } >> "%APPDATA%\Claude\claude_desktop_config.json"
echo }, >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "obsidian": { >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "command": "npx", >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "args": ["-y", "obsidian-mcp", "D:\\Quantum-Spiritual-Framework"], >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "env": { >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "OBSIDIAN_API_KEY": "1566a4a8aa5585fc298321b1104ed81d1acfa17cbeb6db9b34600fe7768524d8" >> "%APPDATA%\Claude\claude_desktop_config.json"
echo } >> "%APPDATA%\Claude\claude_desktop_config.json"
echo }, >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "filesystem": { >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "command": "npx", >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "args": ["-y", "@modelcontextprotocol/server-filesystem", "D:\\Quantum-Spiritual-Framework\\Vaults\\Yellowkid Universal Laws SYNC\\Claude Laws"], >> "%APPDATA%\Claude\claude_desktop_config.json"
echo "env": {} >> "%APPDATA%\Claude\claude_desktop_config.json"
echo } >> "%APPDATA%\Claude\claude_desktop_config.json"
echo } >> "%APPDATA%\Claude\claude_desktop_config.json"
echo } >> "%APPDATA%\Claude\claude_desktop_config.json"
echo Setup complete! Please restart Claude Desktop.
pauseSave this file as mcp_server_setup.bat and run it as administrator when needed.
Final Steps
After configuration, restart Claude Desktop and verify connections by:
- Checking that the MCP icon in Claude Desktop shows connected status
- Testing a simple memory query
- Testing a simple Obsidian vault query
For any further issues, check the logs at: %APPDATA%\Claude\logs\
Ring 2 — Canonical Grounding
Ring 3 — Framework Connections
Canonical Hub: CANONICAL_INDEX