Skip to main content
Glama

Kintone Development Support MCP Server

by f4ah6o
ErrorHandler.ts•699 B
export type ErrorResult = { isError: true; content: Array<{ type: "text"; text: string }>; }; export function handleError(error: Error): ErrorResult { console.error("MCP Server Error:", error); return { isError: true, content: [ { type: "text", text: `Error: ${error.message}`, }, ], }; } export function handleValidationError(message: string): ErrorResult { return { isError: true, content: [ { type: "text", text: `Validation Error: ${message}`, }, ], }; } export function handleNotFound(resource: string): ErrorResult { return { isError: true, content: [ { type: "text", text: `Resource not found: ${resource}`, }, ], }; }

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/f4ah6o/kntn-dev-mcp'

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