Skip to main content
Glama

OneSearch MCP Server

interface.ts995 B
import type AsyncRetry from 'async-retry'; export interface IMediaItem { thumbnail?: string; src?: string; } export interface ISearchRequestOptions { query: string; page?: number; limit?: number; categories?: string; format?: string; language?: string; // search engines: bing,google,baidu engines?: string; // 0: off, 1: moderate, 2: strict safeSearch?: 0 | 1 | 2; timeRange?: string; timeout?: number | string; apiKey?: string; apiUrl?: string; retry?: AsyncRetry.Options; } export interface ISearchResponseResult { title: string; snippet: string; url: string; thumbnailUrl?: string; markdown?: string; source?: string; engine?: string; image?: IMediaItem | null; video?: IMediaItem | null; } export interface ISearchResponse { results: ISearchResponseResult[]; success: boolean; } export type SearchProvider = 'searxng' | 'duckduckgo' | 'bing' | 'tavily' | 'local'; export type SearchTimeRange = 'year' | 'month' | 'week' | 'day';

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/yokingma/one-search-mcp'

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