export default async (request, context) => {
const url = new URL(request.url)
// Look for the query parameter, and return if we don't find it
if (url.searchParams.get('method') !== 'transform') {
return
}
const response = await context.next()
const text = await response.text()
return new Response(text.toUpperCase(), response)
}
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/kwenhwang/hrfco-service'
If you have feedback or need assistance with the MCP directory API, please join our Discord server