Skip to main content
Glama

MCP Gemini Server

by bsmi021
ToolError.ts582 B
/** * Custom error class for tool-specific errors. * This is used by image feature tools and maintains compatibility * with the error mapping system. */ export class ToolError extends Error { public code: string; public readonly details?: unknown; constructor(message: string, options?: { code?: string; details?: unknown }) { super(message); this.name = "ToolError"; this.code = options?.code || "TOOL_ERROR"; this.details = options?.details; // Capture stack trace (excluding constructor) Error.captureStackTrace(this, this.constructor); } }

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/bsmi021/mcp-gemini-server'

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