Skip to main content
Glama
by Coder-RL
pg.js724 B
// Mock PostgreSQL for testing module.exports = { Pool: jest.fn(() => ({ connect: jest.fn().mockResolvedValue({ query: jest.fn().mockResolvedValue({ rows: [{ count: 100, total_events: 1000 }], rowCount: 1, fields: [] }), release: jest.fn() }), query: jest.fn().mockResolvedValue({ rows: [{ success: true, id: 1 }], rowCount: 1 }), end: jest.fn().mockResolvedValue(undefined), totalCount: 0, idleCount: 0, waitingCount: 0 })), Client: jest.fn(() => ({ connect: jest.fn().mockResolvedValue(undefined), query: jest.fn().mockResolvedValue({ rows: [], rowCount: 0 }), end: jest.fn().mockResolvedValue(undefined) })) };

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/Coder-RL/Claude_MCPServer_Dev1'

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