Skip to main content
Glama

Things MCP Server

by wbopan
encoder.ts447 B
export function encodeValue(value: any): string { if (value === null || value === undefined) { return ''; } if (typeof value === 'boolean') { return value.toString(); } if (Array.isArray(value)) { return value.map(v => encodeURIComponent(String(v))).join(','); } return encodeURIComponent(String(value)); } export function encodeJsonData(data: any): string { return encodeURIComponent(JSON.stringify(data)); }

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/wbopan/things-mcp'

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