MCP Server Tester π
@harshaagrawal20
Overview
What is MCP Server Tester π?
MCP Server Tester π is a web-based diagnostic tool for testing the availability and connectivity of MCP (Model Context Protocol) server endpoints. It provides a clean glassmorphism UI and a single-post API to validate server URLs, with detailed HTTP status reporting and instant visual feedback.
How to use MCP Server Tester π?
Clone the repository, install dependencies (npm install express cors body-parser axios), and run node server.js. The server listens on port 5000 by default. Use the web UI at http://localhost:5000 or send a POST /test-mcp request with a JSON body containing {"serverConfig": {"url": "https://example.com"}}.
Key features of MCP Server Tester π
- Single endpoint (
/test-mcp) with layered validation - Frontend/backend separation with glassmorphism UI
- Stateless operation (no database required)
- Instant success/error feedback with hardware-accelerated CSS animations
- Adjustable timeout (default 5 seconds)
- Detailed HTTP status and diagnostics reporting
Use cases of MCP Server Tester π
- Developers validating new MCP server endpoints before integration
- Quick health checks on existing MCP servers during development
- Diagnosing connection issues or misconfigured server URLs
- Teaching or demonstrating MCP connectivity concepts
FAQ from MCP Server Tester π
What does MCP Server Tester π actually test?
It tests the reachability of an MCP server URL by making an HTTP request with a 5-second timeout. It returns a success flag and a status message describing the result.
What are the runtime dependencies?
Node.js 14+ and the packages: express, cors, body-parser, and axios. No database is required.
How do I change the timeout or port?
Edit the constants in the server code: const PORT = 5000; and const TIMEOUT = 5000; (timeout in milliseconds).
Where does my data go?
The tool is stateless β no data is stored. Each request is validated, tested, and the result is returned immediately without logging or persistence.
What transport or authentication methods are supported?
The server itself uses HTTP and the API accepts POST requests with JSON. It tests any valid URL, but does not implement any authentication or custom transport layers.