Skip to main content
Glama

PostgreSQL MCP Server

by sreedhag
helloWorld.ts466 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; export function registerHelloWorldResource(mcpServer: McpServer) { mcpServer.resource("Hello World Message", "hello://world", { description: "A simple greeting message", mimeType: "text/plain", }, async () => ({ contents: [ { uri: "hello://world", text: "A simple greeting message", }, ], })); }

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/sreedhag/postgres-mcp-server'

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