We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import type { Generic } from 'adopted-style-sheets';
import { watchString } from '../utils';
import type { AccessKeyPropType } from './access-key';
import type { ShortKeyPropType } from './short-key';
/* types */
export type BadgeTextPropType = AccessKeyPropType | ShortKeyPropType;
/**
* Defines the elements badge text.
*/
export type PropBadgeText = {
badgeText: BadgeTextPropType;
};
/* validator */
export const validateBadgeText = (component: Generic.Element.Component, value?: BadgeTextPropType): void => {
watchString(component, '_badgeText', value);
};