Skip to main content
Glama

Document QA MCP Server

by parikshith49
app.ts593 B
import express from 'express'; import cors from 'cors'; import path from 'path'; import toolsRouter from './routes/tools'; import chatRouter from './routes/chatRoutes'; const app = express(); app.use(cors()); app.use(express.json()); // ✅ Serve frontend from /public folder const publicPath = path.join(__dirname, '..', 'public'); app.use(express.static(publicPath)); // ✅ Serve index.html at root app.get('/', (_, res) => { res.sendFile(path.join(publicPath, 'index.html')); }); // ✅ API routes app.use('/tools', toolsRouter); app.use('/chat', chatRouter); export default app;

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/parikshith49/document-qa-mcp12'

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