Skip to main content
Glama

MCP Agent TypeScript Port

by waldzellai
json.js690 B
/*! (c) Andrea Giammarchi - ISC */ import {deserialize} from './deserialize.js'; import {serialize} from './serialize.js'; const {parse: $parse, stringify: $stringify} = JSON; const options = {json: true, lossy: true}; /** * Revive a previously stringified structured clone. * @param {string} str previously stringified data as string. * @returns {any} whatever was previously stringified as clone. */ export const parse = str => deserialize($parse(str)); /** * Represent a structured clone value as string. * @param {any} any some clone-able value to stringify. * @returns {string} the value stringified. */ export const stringify = any => $stringify(serialize(any, options));

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/waldzellai/mcp-agent-ts'

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