Skip to main content
Glama

ClaudeHopper

by Arborist-ai
pdf-parse-fix.js733 B
// This file creates a workaround for the pdf-parse debug mode issue import * as fs from 'fs'; import * as path from 'path'; import { fileURLToPath } from 'url'; // Get the current file's directory const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); // Create the test directory structure if it doesn't exist const testDir = path.join(__dirname, '../../test/data'); fs.mkdirSync(testDir, { recursive: true }); // Create an empty file to satisfy the pdf-parse debug mode const testFile = path.join(testDir, '05-versions-space.pdf'); if (!fs.existsSync(testFile)) { fs.writeFileSync(testFile, 'Test file for pdf-parse'); console.log('Created test file for pdf-parse at:', testFile); }

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/Arborist-ai/ClaudeHopper'

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