skills/integration-skills/mcp-auto-recovery/SKILL.md
Automatically diagnose and recover from MCP server connection issues. Use when any `manus-mcp-cli` command fails due to connection, authentication, or availability errors.
npx skillsauth add abcnuts/manus-skills mcp-auto-recoveryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides a systematic workflow to diagnose and resolve common issues when interacting with Model Context Protocol (MCP) servers via the manus-mcp-cli tool.
Trigger this skill immediately if a manus-mcp-cli command fails with errors related to:
Follow these steps sequentially. Do not skip steps.
From the failed command, identify the server name specified with the --server flag. For example, in manus-mcp-cli tool list --server supabase, the server name is supabase.
Execute the bundled diagnostic script, passing the server name as an argument. This script will perform a series of automated checks and provide a summary report with recommended actions.
Command:
python3 /home/ubuntu/skills/mcp-auto-recovery/scripts/diagnose_mcp.py <server_name>
Example:
python3 /home/ubuntu/skills/mcp-auto-recovery/scripts/diagnose_mcp.py supabase
The script will output a clear summary. Follow its recommendation:
| Report Outcome | Recommended Action | |----------------|-------------------| | Server Not Available | Check the server name for typos against the list of available servers provided. Retry the command with the correct name. | | Authentication Failed | Follow the interactive OAuth prompts if they appear. The script cannot do this for you. After authenticating, retry the original command. | | All Checks Pass | The issue is not with the connection. The problem lies with the specific tool call itself. Carefully review the tool's required parameters, your input JSON, and any necessary permissions (e.g., does the user have access to the requested resource?). |
After following the recommendation from the diagnostic report, retry the original manus-mcp-cli command that failed. If it still fails, do not run the diagnostic script again. Instead, inform the user about the persistent failure and the steps you've already taken.
If the issue persists, consult the reference file for common error messages and their solutions.
Command:
cat /home/ubuntu/skills/mcp-auto-recovery/references/common_errors.md
Failed Command:
manus-mcp-cli tool call execute_sql --server supabase --input '{"query": "SELECT * FROM users"}'
Error:
Error: failed to get server config: server 'supabase' not found
Recovery Steps:
Identify server: supabase
Run diagnostic:
python3 /home/ubuntu/skills/mcp-auto-recovery/scripts/diagnose_mcp.py supabase
Read report: Script shows server is not available and lists all configured servers
Take action: Check spelling, verify MCP is enabled in session settings
Retry: Run the original command again
tools
Generate comprehensive demonstrations showing how to access projects and work across different environments (Manus terminals, personal computers, team collaboration). Use when users ask "how do I access this from another terminal/computer", "how do I share this with my team", "how do I get this on my Mac", or need clarification on Manus persistence vs GitHub usage.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
development
Use when implementing any feature or bugfix, before writing implementation code