We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sheikhcoders/interleaved-learning-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { NextResponse } from 'next/server';
import { readFileSync } from 'fs';
import { join } from 'path';
export async function GET() {
try {
const filePath = join(process.cwd(), 'public', 'llms-full.txt');
const content = readFileSync(filePath, 'utf-8');
return new NextResponse(content, {
headers: {
'Content-Type': 'text/plain; charset=utf-8',
'Cache-Control': 'public, max-age=3600',
},
});
} catch {
return new NextResponse('# Interleaved Learning MCP Server\n\nFull documentation available at: https://github.com/sheikhcoders/interleaved-learning-mcp', {
headers: {
'Content-Type': 'text/plain; charset=utf-8',
},
});
}
}