Skip to main content
Glama

OneSearch MCP Server

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

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