Skip to main content
Glama

MCP PDF

test-helpers.ts502 B
import { tmpdir } from 'node:os'; import { join } from 'node:path'; import type { PdfServerConfig } from '../../src/lib/config.ts'; /** * Create a default config for tests. Tests should import from test/lib/test-helpers * instead of importing test helpers from production code. */ export function createTestConfig(overrides?: Partial<PdfServerConfig>): PdfServerConfig { return { storageDir: join(tmpdir(), '.tmp-mcp-pdf'), purgeHours: 24, includePath: true, ...overrides, }; }

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/mcp-z/mcp-pdf'

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