Skip to main content
Glama

PrimeNG MCP Server

by hnkatze
ListComponentsTool.ts484 B
/** * Tool for listing all components */ import { BaseTool, ToolResponse } from './BaseTool.js'; import { formatComponentList } from '../utils/formatters.js'; import { COMPONENT_CATEGORIES } from '../config/constants.js'; export class ListComponentsTool extends BaseTool { constructor() { super('list_all_components'); } async execute(_args: Record<string, any>): Promise<ToolResponse> { return this.createResponse(formatComponentList(COMPONENT_CATEGORIES)); } }

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/hnkatze/PrimeNG_MCP'

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