Skip to main content
Glama

Backlog MCP Server

wrapWithErrorHandling.ts324 B
import { ErrorLike, SafeResult } from '../../types/result.js'; import { runToolSafely } from '../../utils/runToolSafely.js'; export function wrapWithErrorHandling<I, O>( fn: (input: I) => Promise<O>, onError?: (err: unknown) => ErrorLike ): (input: I) => Promise<SafeResult<O>> { return runToolSafely(fn, onError); }

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/nulab/backlog-mcp-server'

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