MCP Connection Test Script

General Productivitymcp-setup-guideserver_nameruntimeoperating_system

Step-by-step diagnostics isolate exactly where a connection fails instead of giving a generic 'not working' error.

Prompt
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

{{server_name}}{{runtime}}{{operating_system}}{{server_command}}

Why this prompt works

Step-by-step diagnostics isolate exactly where a connection fails instead of giving a generic 'not working' error.

What you get when you save this prompt

Your workspace unlocks powerful tools to iterate and improve.

AI OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use Everywhere

Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.

Your prompts, organized

Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.