Skip to main content

Add your description here

Project description

Smart Search MCP Server

一个集成远程智能搜索 API 的 MCP 服务器,实现关键词网页搜索功能。

特性

  • 网页搜索:支持关键词检索、分页、语言和安全等级选项。
  • 结构化返回:所有搜索结果以 JSON 格式返回。
  • 平台兼容:为 ModelScope MCP 平台优化,支持从源码直接部署。

工具

smart_search

  • 功能: 执行网页搜索,支持分页与安全选项。
  • 输入参数:
    • query (string): 搜索关键词
    • count (number, optional): 返回结果数量 (默认 10)
    • offset (number, optional): 分页偏移 (默认 0)
    • setLang (string, optional): 搜索语言 (默认 'en')
    • safeSearch (string, optional): 安全搜索等级 (默认 'Strict')

配置与部署

1. 获取 API 密钥

  • 注册一个支持智能搜索的 API 服务。
  • 获取并复制你的 API 密钥(格式通常为 endpoint-apikey)。

2. ModelScope 服务配置

在 ModelScope 创建 MCP 服务时,请使用以下配置。这种方式会从你的 GitHub 仓库拉取代码,并直接运行。

UV

{ "mcpServers": { "mcp-smartsearch": { "command": "uv", "args": [ "run", "src/mcp-smartsearch/server.py" ], "env": { "SERVER_KEY": "YOUR_API_KEY_HERE" } } } }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_smartsearch-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_smartsearch-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_smartsearch-0.1.1.tar.gz.

File metadata

  • Download URL: mcp_smartsearch-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for mcp_smartsearch-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b22289f4ff5237a66c2ce86ad96a6e329bc5718a6d82c03374e3ae4cd24f9669
MD5 7bb120c377046e62d1bb67a4c59fa84c
BLAKE2b-256 6426a952b11be4a39c04c1087a8eeb0fc2e23063400c518e8385eb1989d620fa

See more details on using hashes here.

File details

Details for the file mcp_smartsearch-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_smartsearch-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aadef5cca2e90898fa2da2ce02d3452417b1b86e1729631702060bb5bc974a1b
MD5 f759a74da2fa7331592050634e9c1d2e
BLAKE2b-256 ecde0097a6fa0fdab0cfcd1723d6adf3d721f817c2bd9bc5745082e3c70252e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page