MCP Connection Test Script
Step-by-step diagnostics isolate exactly where a connection fails instead of giving a generic 'not working' error.
Write a diagnostic script that tests whether my MCP server "{{server_name}}" is properly connected and responding.\n\nThe script should:\n1. Verify the server process is running\n2. Send a basic initialization handshake\n3. List available tools from the server\n4. Call a simple test tool (like list or ping) and verify the response\n5. Report success/failure with clear error messages for each step\n\nTarget environment: {{runtime}} on {{operating_system}}\nServer command: {{server_command}}
Variables to customize
Why this prompt works
Step-by-step diagnostics isolate exactly where a connection fails instead of giving a generic 'not working' error.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.