test_connection
Ping a database connection using SELECT 1, return server version and latency to verify credentials and network path without running schema inspection.
Instructions
Ping a connection (SELECT 1) and return server version + latency. Fast way to confirm credentials and network path without running describe_schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- bin/server.js:64-69 (registration)Registration of the 'test_connection' tool in the TOOLS array with its name, description, and input schema.
{ name: "test_connection", description: "Ping a connection (SELECT 1) and return server version + latency. Fast way to confirm credentials and network path without running describe_schema.", inputSchema: { type: "object" }, }, - bin/server.js:190-193 (handler)This is a static local adapter — all tool calls (including test_connection) return a redirect message pointing to the hosted MCP server for actual execution.
server.setRequestHandler(CallToolRequestSchema, async () => ({ content: [{ type: "text", text: REDIRECT_MESSAGE }], isError: false, }));