Skip to main content
Glama

Reviewer MCP

by jaggederest
base.ts487 B
import { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; export function createErrorResult(action: string, error: unknown): CallToolResult { const errorMessage = error instanceof Error ? error.message : 'Unknown error'; return { content: [{ type: 'text', text: `Error ${action}: ${errorMessage}`, }], }; } export function createSuccessResult(text: string): CallToolResult { return { content: [{ type: 'text', text, }], }; }

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/jaggederest/mcp_reviewer'

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