Skip to main content
Glama

Superglue MCP

Official
by superglue-ai
postgres-real.test.ts709 B
import { ApiConfig } from "@superglue/client"; import { describe, expect, it } from 'vitest'; import { callPostgres } from "./postgres.js"; let shouldSkip = true; describe('callPostgres', () => { const testConfig: ApiConfig = { id: '1', instruction: 'test', urlHost: 'postgres://user:password@localhost:5432', urlPath: '/testdb', body: JSON.stringify({ query: 'SELECT NOW()' }) }; it.skipIf(shouldSkip)('should connect and execute a simple query', async () => { const result = await callPostgres({ endpoint: testConfig, payload: {}, credentials: {}, options: { timeout: 5000, retries: 1 } }); expect(result).toBeDefined(); }); });

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/superglue-ai/superglue'

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