Skip to main content
Glama

replicate-flux-mcp

error.ts292 B
import { ErrorCode, McpError } from "@modelcontextprotocol/sdk/types.js"; export function handleError(error: unknown): never { if (error instanceof Error) { throw new McpError(ErrorCode.InternalError, error.message); } throw new McpError(ErrorCode.InternalError, String(error)); }

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/awkoy/replicate-flux-mcp'

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