Skip to main content
Glama
default-attributes.d.tsโ€ข862 B
import { BaseXmlComponent, IContext } from "./base"; import { IXmlableObject } from "./xmlable-object"; export type AttributeMap<T> = { readonly [P in keyof T]: string; }; export type AttributeData = { readonly [key: string]: boolean | number | string; }; export type AttributePayload<T> = { readonly [P in keyof T]: { readonly key: string; readonly value: T[P]; }; }; export declare abstract class XmlAttributeComponent<T extends object> extends BaseXmlComponent { private readonly root; protected readonly xmlKeys?: AttributeMap<T>; constructor(root: T); prepForXml(_: IContext): IXmlableObject; } export declare class NextAttributeComponent<T extends AttributeData> extends BaseXmlComponent { private readonly root; constructor(root: AttributePayload<T>); prepForXml(_: IContext): IXmlableObject; }

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/consigcody94/office-whisperer'

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