xiaohongshu
xiaohongshu
mcp-troubleshooting
Systematic troubleshooting for MCP tools including installation issues, runtime errors, config problems, and debugging strategies. Use when MCP tools not working, debugging errors, or helping users...
Full skill instructions
Systematic approach to diagnosing and resolving MCP tool issues.
Current State:
npm cache clean --force)# The 3-minute solution that fixes most issues:
# 1. Clear npm cache
npm cache clean --force
# 2. Reinstall tools
npx @j0kz/mcp-agents@latest
# 3. Fully restart editor (close ALL windows)
# 4. Test by asking AI: "What MCP tools are available?"
For complete platform-specific installation instructions:
cat .claude/skills/mcp-troubleshooting/references/installation-guide.md
# Check installation
ls -la ~/.config/claude/mcp-servers/ # Claude Code (Mac/Linux)
ls -la ~/AppData/Roaming/Claude/mcp-servers/ # Claude Code (Windows)
# Verify config exists
cat ~/.config/claude/mcp-servers-config.json # Mac/Linux
cat ~/AppData/Roaming/Claude/mcp-servers-config.json # Windows
# Test a tool directly
npx @j0kz/smart-reviewer@latest review test.ts
For detailed platform-specific configuration:
cat .claude/skills/mcp-troubleshooting/references/platform-config-guide.md
| Editor | Mac/Linux | Windows |
|---|---|---|
| Claude Code | ~/.config/claude/ | %APPDATA%\Claude\ |
| Cursor | ~/.cursor/ | %APPDATA%\Cursor\ |
| Windsurf | ~/.windsurf/ | %APPDATA%\Windsurf\ |
| VS Code | ~/.vscode/ | %APPDATA%\Code\ |
Symptoms: AI doesn't recognize MCP commands
Solution:
# 1. Check config file exists
cat ~/.config/claude/mcp-servers-config.json
# 2. Verify tools are listed
# Should see 9 entries for @j0kz tools
# 3. Restart editor completely
# Close ALL windows, not just reload
# 4. Ask AI to list tools
"What MCP tools are available?"
Symptoms: Error: Cannot find module '@j0kz/...'
Solution:
# 1. Clear cache
npm cache clean --force
# 2. Remove old installations
rm -rf ~/.npm/_npx/
rm -rf node_modules/
# 3. Reinstall
npx @j0kz/mcp-agents@latest --force
# 4. Use @latest tag
npx @j0kz/smart-reviewer@latest # Always use @latest
Symptoms: EACCES or permission errors
Solution:
# Mac/Linux: Fix npm permissions
sudo chown -R $(whoami) ~/.npm
sudo chown -R $(whoami) /usr/local/lib/node_modules
# Windows: Run as Administrator
# Right-click terminal → Run as Administrator
npx @j0kz/mcp-agents@latest
Symptoms: Old tools still showing after update
Solution:
# 1. Backup existing config
cp ~/.config/claude/mcp-servers-config.json ~/mcp-backup.json
# 2. Remove and reinstall
rm ~/.config/claude/mcp-servers-config.json
npx @j0kz/mcp-agents@latest
# 3. Force restart editor
# Task Manager → End all editor processes
For comprehensive debugging approaches:
cat .claude/skills/mcp-troubleshooting/references/debugging-strategies.md
# Check npm global packages
npm list -g --depth=0
# View npm cache
npm cache ls
# Test specific tool version
npx @j0kz/[email protected] --version
# Enable verbose logging
DEBUG=* npx @j0kz/smart-reviewer@latest review test.ts
# Check Node version (should be 18+)
node --version
// Example mcp-servers-config.json entry
{
"@j0kz/smart-reviewer": {
"command": "npx",
"args": ["@j0kz/smart-reviewer-mcp@latest"],
"description": "Smart code review with auto-fix"
}
}
# Set Node memory limit
export NODE_OPTIONS="--max-old-space-size=4096"
# Enable debug output
export DEBUG=mcp:*
# Use specific npm registry
export NPM_CONFIG_REGISTRY=https://registry.npmjs.org/
# Behind proxy
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
# Clear proxy
npm config delete proxy
npm config delete https-proxy
# Use different registry
npm config set registry https://registry.npmjs.org/
# 1. Backup config
cp ~/.config/claude/mcp-servers-config.json ~/backup-mcp.json
# 2. Clean everything
npm cache clean --force
rm -rf ~/.npm/_npx/
rm ~/.config/claude/mcp-servers-config.json
# 3. Fresh install
npx @j0kz/mcp-agents@latest
# 4. Restart editor
# If latest version has issues
npx @j0kz/[email protected] # Use specific version
# Or install globally
npm install -g @j0kz/[email protected]
# Run health check
npx @j0kz/mcp-agents@latest --health
# Version info
npx @j0kz/mcp-agents@latest --version
# List installed tools
cat ~/.config/claude/mcp-servers-config.json | grep "@j0kz"
If problems persist:
Quick Test: After troubleshooting, ask AI: "Use smart-reviewer to analyze a TypeScript file"
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience