Skip to main content
Glama

OpenRouter MCP Multimodal Server

by hoangdn3
chat-completion.d.ts618 B
import OpenAI from 'openai'; import { ChatCompletionMessageParam } from 'openai/resources/chat/completions.js'; export interface ChatCompletionToolRequest { model?: string; messages: ChatCompletionMessageParam[]; temperature?: number; } export declare function handleChatCompletion(request: { params: { arguments: ChatCompletionToolRequest; }; }, openai: OpenAI, defaultModel?: string): Promise<{ content: { type: string; text: string; }[]; isError: boolean; } | { content: { type: string; text: string; }[]; isError?: undefined; }>;

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/hoangdn3/mcp-ocr-fallback'

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