Skip to main content
Glama

Ghost MCP Server

by mtane0412
error.ts349 B
import { ErrorCode, McpError } from '@modelcontextprotocol/sdk/types.js'; export const handleGhostApiError = (error: unknown): never => { if (error instanceof McpError) { throw error; } console.error('Ghost API Error:', error); throw new McpError( ErrorCode.InternalError, `Ghost API error: ${(error as Error).message}` ); };

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/mtane0412/ghost-mcp-server'

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