Skip to main content
Glama
yml.tsโ€ข365 B
import * as YAML from 'yaml' import type { FormatParser } from '../types.js' import util from '../util.js' const yml: FormatParser = { read(path) { const content = util.readFile(path, '').trim() return YAML.parse(content) }, write(path, state) { const content = YAML.stringify(state) util.writeFile(path, content) }, } export default yml

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/flesler/mcp-tasks'

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