diff --git a/Dockerfile b/Dockerfile index 53802d7..0c05d11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config # 使用官方 Node.js 18 Alpine 基础镜像 FROM node:18-alpine diff --git a/README.md b/README.md index 7155ea4..0313144 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Open-WebSearch MCP Server +[![smithery badge](https://smithery.ai/badge/@Aas-ee/open-websearch)](https://smithery.ai/server/@Aas-ee/open-websearch) [中文](./README-zh.md) A Model Context Protocol (MCP) server based on multi-engine search results, supporting free web search without API keys. @@ -29,6 +30,14 @@ A Model Context Protocol (MCP) server based on multi-engine search results, supp ## Installation Guide +### Installing via Smithery + +To install MultiWebSearch for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@Aas-ee/open-websearch): + +```bash +npx -y @smithery/cli install @Aas-ee/open-websearch --client claude +``` + ### Local Installation 1. Clone or download this repository diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..03aabf6 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,35 @@ +# Smithery configuration file: https://smithery.ai/docs/build/project-config + +startCommand: + type: http + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: [] + properties: + enableCors: + type: boolean + default: false + description: Enable CORS + corsOrigin: + type: string + default: "*" + description: CORS origin + defaultSearchEngine: + type: string + default: bing + description: Default search engine (bing, duckduckgo, exa, brave) + useProxy: + type: boolean + default: false + description: Enable HTTP proxy + proxyUrl: + type: string + default: http://127.0.0.1:10809 + description: Proxy server URL + exampleConfig: + enableCors: false + corsOrigin: "*" + defaultSearchEngine: duckduckgo + useProxy: true + proxyUrl: http://your-proxy-server:port