Skip to main content
Glama
xml.ts361 B
import { XMLParser } from 'fast-xml-parser'; import { readDVPLString } from '../dvpl/reader.js'; const parser = new XMLParser({ ignoreAttributes: false, attributeNamePrefix: '@_', textNodeName: '#text', }); export async function readXML<T>(path: string): Promise<T> { const content = await readDVPLString(path); return parser.parse(content) as T; }

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/Revenant30102000/wotblitz-mcp'

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