Skip to main content
Glama
index.ts•819 B
#!/usr/bin/env node /** * Large File MCP Server - Main Entry Point */ import { LargeFileMCPServer } from './server.js'; async function main() { const server = new LargeFileMCPServer({ // Configuration can be loaded from environment or config file defaultChunkSize: parseInt(process.env.CHUNK_SIZE || '500'), defaultOverlap: parseInt(process.env.OVERLAP_LINES || '10'), maxFileSize: parseInt(process.env.MAX_FILE_SIZE || String(10 * 1024 * 1024 * 1024)), cache: { maxSize: parseInt(process.env.CACHE_SIZE || String(100 * 1024 * 1024)), ttl: parseInt(process.env.CACHE_TTL || String(5 * 60 * 1000)), enabled: process.env.CACHE_ENABLED !== 'false', }, }); await server.run(); } main().catch((error) => { console.error('Fatal error:', error); process.exit(1); });

Latest Blog Posts

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/willianpinho/large-file-mcp'

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