Skip to main content
The ping method verifies the server is alive and responding. Use it for health checks and connection verification.

MCP Endpoint

POST https://yoursite.com/mcp/{slug}
Content-Type: application/json

Request

jsonrpc
string
required
Must be "2.0".
id
integer | string
required
Arbitrary request identifier echoed back unchanged in the response.
method
string
required
Must be "ping".
params
object
Empty object {}. No parameters accepted.
curl --request POST \
     --url https://yoursite.com/mcp/my-weather-tools \
     --header 'content-type: application/json' \
     --header 'Mcp-Session-Id: your_session_id' \
     --data '
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "ping",
  "params": {}
}
'

Response

result
object
Always an empty object {}. A successful ping response confirms the server is reachable and processing requests.
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {}
}
The ping response is always an empty result object {}.