Skip to main content
Glama
eiabhiram

API Health Check MCP Server

by eiabhiram

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

  1. Clone this repository

  2. Install dependencies:

    npm install
  3. Build 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 source

  • npm run watch - Watch for changes and rebuild automatically

  • npm 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: 200

Error 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:

Install Server
F
license - not found
B
quality
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    -
    maintenance
    Enables 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.
    270
  • A
    license
    A
    quality
    B
    maintenance
    Monitor MCP server health, uptime, response times, and Azure DevOps pipeline status
    14
    12
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    SLA observation broker for the A2A network: agents register public health endpoints with target uptime and latency, and the shim probes them to record breaches.
    MIT

View all related MCP servers

Related MCP Connectors

  • Uptime, API and server monitoring with outages, reporting, on-call and status pages.

  • Real-time health monitoring and heartbeat tracking for agent services

  • Check real-time uptime and incident status for 285 APIs and cloud services.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eiabhiram/api-healthcheck-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server