Skip to main content
Glama

MCPDemo - Visual SQL Chat Platform

by Ayi456
bodyParser.ts426 B
import express from 'express'; /** * 配置请求体解析中间件 */ export function configureBodyParser(app: express.Application): void { const jsonLimitMb = parseInt(process.env.JSON_BODY_LIMIT_MB || '10'); const limitStr = `${isNaN(jsonLimitMb) ? 10 : Math.min(Math.max(jsonLimitMb, 1), 100)}mb`; app.use(express.json({ limit: limitStr })); app.use(express.urlencoded({ extended: true, limit: limitStr })); }

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/Ayi456/visual-mcp'

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