API Health Check MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@API Health Check MCP Server check the health of the ticket API endpoint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
API Health Check MCP Server
This Model Context Protocol (MCP) server provides tools to check the health status of API endpoints. Specifically designed to monitor the GET localhost:8080/api/ticket endpoint.
Features
Health Check Tool: Checks if the API endpoint is up or down
Response Time Monitoring: Measures and reports API response times
Error Handling: Provides detailed error information when the API is unreachable
Timeout Protection: Automatically times out requests after 10 seconds
Formatted Output: Returns easy-to-read status reports with icons and timestamps
Related MCP server: MCP Health Monitor
Installation
Clone this repository
Install dependencies:
npm installBuild the project:
npm run build
Usage
With Claude Desktop
Add this server to your Claude Desktop configuration:
{
"mcpServers": {
"api-health-check": {
"command": "node",
"args": ["C:/Project Workspace/MCP/build/index.js"]
}
}
}Development
npm run build- Build the TypeScript sourcenpm run watch- Watch for changes and rebuild automaticallynpm start- Run the compiled server
Tools Available
check_api_health
Checks the health of the GET localhost:8080/api/ticket endpoint.
Parameters: None
Returns:
API status (up/down)
Response time in milliseconds
HTTP status code (if successful)
Error details (if failed)
Timestamp of the check
Example Output:
✅ API Status: UP
🕒 Checked at: 2024-01-15T10:30:45.123Z
⏱️ Response time: 150ms
📊 HTTP Status: 200Error Handling
The server handles various error conditions:
Connection Refused: When the target server is not running
Timeout: When requests take longer than 10 seconds
Host Not Found: When localhost cannot be resolved
HTTP Errors: When the server returns non-200 status codes
Development
This server is built using:
TypeScript
Node.js Fetch API
Available Tools
1 toolcheck_api_healthA
Check if the GET localhost:8080/api/ticket endpoint is up or down
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity between tools.
The single tool uses a clear snake_case naming convention, so no inconsistency exists.
A single tool that checks only one hardcoded endpoint is trivial for a health check server, which would typically need multiple endpoints or generic checks.
The tool surface is severely incomplete, as it only covers checking one specific endpoint, lacking support for other endpoints or dynamic health checks.
Maintenance
Related MCP Connectors
Uptime checks, status pages, incidents, and maintenance for websites, APIs, DNS, and TCP.
Uptime checks, status pages, incidents, and maintenance for websites, APIs, DNS, and TCP.
Uptime monitoring: create and manage HTTP, API, SSL, ping, port and domain checks
Uptime, API and server monitoring with outages, reporting, on-call and status pages.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables real-time data streaming through Server-Sent Events with timestamp broadcasting and server monitoring capabilities. Optimized for deployment on Render.com with health checks and status endpoints.547 npm-
- AlicenseAqualityBmaintenanceMonitor MCP server health, uptime, response times, and Azure DevOps pipeline status1412 npm1MIT
- AlicenseAqualityCmaintenanceProbe LLM API endpoints and report health metrics including time to first token, latency, and throughput.48MIT
- AlicenseNot gradedqualityDmaintenanceOfficial Hyperping MCP server for uptime, API, cron and server monitoring. 26 tools covering monitors, outages and timelines, uptime, response time, MTTR and MTTA, on-call schedules and escalation policies, over a remote Streamable HTTP endpoint with Bearer token auth and no install.1MIT