UNPKG

mcp-search-tools

Version:

MCP server and client for web search and page viewing tools - DuckDuckGo search and web scraping

19 lines 799 B
#!/usr/bin/env node import type { ListToolsResult } from '@modelcontextprotocol/sdk/types.js'; import { type WebPageArgs } from '../tools/web-page.js'; import { type WebSearchArgs } from '../tools/web-search.js'; import { type DownloadFilesArgs } from '../tools/download-files.js'; export declare class MCPWebToolsClient { private client; private transport; constructor(); connect(command?: string, args?: string[]): Promise<void>; disconnect(): Promise<void>; listTools(): Promise<ListToolsResult>; searchWeb(input: WebSearchArgs): Promise<unknown>; fetchWebPage(input: WebPageArgs): Promise<unknown>; ping(): Promise<boolean>; downloadFiles(input: DownloadFilesArgs): Promise<unknown>; } export default MCPWebToolsClient; //# sourceMappingURL=index.d.ts.map