Skip to main content
Glama

MCP JavaScript Server

by davlgd
utils.js252 B
export async function fetchResource(uri) { const response = await fetch(uri); const content = await response.text(); const mimeType = response.headers.get('content-type')?.split(';')[0] || 'text/plain'; return { content, mimeType }; }

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/davlgd/mcp-js-server'

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