Skip to main content
Glama

MCP Agent TypeScript Port

by waldzellai
v6.js620 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const stringify_js_1 = require("./stringify.js"); const v1_js_1 = require("./v1.js"); const v1ToV6_js_1 = require("./v1ToV6.js"); function v6(options, buf, offset) { options ??= {}; offset ??= 0; let bytes = (0, v1_js_1.default)({ ...options, _v6: true }, new Uint8Array(16)); bytes = (0, v1ToV6_js_1.default)(bytes); if (buf) { for (let i = 0; i < 16; i++) { buf[offset + i] = bytes[i]; } return buf; } return (0, stringify_js_1.unsafeStringify)(bytes); } exports.default = v6;

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