Skip to main content
Glama

test-connection

Verify and validate PostGIS database connectivity through the Model Context Protocol (MCP) server, ensuring spatial database functionality is operational and ready for use.

Instructions

PostGIS veritabanı bağlantısını test et

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for the 'test-connection' tool. It executes a SQL query to retrieve the PostGIS version and returns a success message with the version information.
    case "test-connection": { const result = yield client.query("SELECT PostGIS_Version() as version"); return { content: [ { type: "text", text: `PostGIS bağlantısı başarılı! Versiyon: ${result.rows[0].version}`, }, ], }; }
  • server.js:73-80 (registration)
    The registration of the 'test-connection' tool in the ListTools response, including its name, description, and empty input schema.
    { name: "test-connection", description: "PostGIS veritabanı bağlantısını test et", inputSchema: { type: "object", properties: {}, }, },
  • The input schema definition for the 'test-connection' tool, which is an empty object indicating no parameters are required.
    inputSchema: { type: "object", properties: {}, },

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/receptopalak/postgis-mcp'

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