Skip to main content
Glama
get_components.ts876 B
import { Tool } from "@modelcontextprotocol/sdk/types.js"; import productboardClient from "../productboard_client.js"; const getComponentsTool: Tool = { "name": "get_components", "description": "Returns a list of all components. This API is paginated and the page limit is always 100", "inputSchema": { "type": "object", "properties": { "page": { "type": "number", "default": 1 } } } } interface GetComponentsRequest { page?: number } const getComponents = async (request: GetComponentsRequest): Promise<any> => { let endpoint = "/components" if (request.page && request.page > 1) { endpoint += `?pageOffset=${(request.page - 1) * 100}` } return productboardClient.get(endpoint) } export { getComponentsTool, GetComponentsRequest, getComponents }

Latest Blog Posts

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/kenjihikmatullah/productboard-mcp'

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