MCP-Server-Search
MCP Server utilizará un motor de búsqueda para obtener ubicaciones de información relevante en Internet
1
Github Watches
0
Github Forks
0
Github Stars
MCP Server Search
An MCP (Model Context Protocol) server that provides Google search functionality for AI models. This server allows models to search for up-to-date information from the web.
Features
- Google search integration with caching
- Configurable request delays and retries to avoid rate limiting
- Support for both simple and advanced searches (with descriptions)
- Throttling and randomization to be a good web citizen
Installation
Using Docker (Recommended)
-
Build the Docker image:
docker build -t mcp-server-search . -
Create required directories for persistence:
mkdir -p ./logs ./cache -
Run the container:
docker run --rm -i \ -v "$(pwd)/logs:/app/logs" \ -v "$(pwd)/cache:/app/cache" \ mcp-server-search
The volumes ensure:
- Logs are persisted to
./logsdirectory - Search cache is persisted to
./cachedirectory - Both directories are automatically created by Docker if they don't exist
Note: The -i flag is required for MCP protocol communication, and --rm automatically removes the container when it exits.
Cline Integration
To use this MCP server with Cline, add the following configuration to your Cline MCP settings file (located at ~/.config/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json for VS Code):
{
"mcpServers": {
"google_search": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"mcp-server-search"
],
"disabled": false,
"alwaysAllow": []
}
}
}
This configuration:
- Sets up the search MCP server to run in a Docker container
- Uses the
--rmflag to automatically remove the container when it exits - Uses
-ifor interactive mode required by the MCP protocol - Disables the server by default for security (set
disabledtofalseto enable) - Requires explicit approval for all tool uses (
alwaysAllowis empty)
Configuration
The server accepts the following command-line arguments:
-
--log-level: Set the logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL). Default: INFO -
--log-file: Path to log file (default: stdout) -
--cache-path: Path to the search cache file (default: cache/google_cache.db) -
--request-delay: Delay between search requests in seconds (default: 5) -
--max-retries: Maximum number of retries for failed searches (default: 3)
Usage
The server exposes the following MCP endpoints:
Tools
-
google_search: Search Google and return results. Results are presented in a formatted Markdown structure with titles, URLs, and descriptions (when enabled).Parameters:
-
query(string, required): The search query to execute -
num_results(integer, optional): Number of results to return (min: 1, max: 20, default: 5) -
use_cache(boolean, optional): Whether to use cached results if available (default: true) -
include_descriptions(boolean, optional): Whether to include descriptions in results (default: true)
Features:
- Automatic request throttling and retry mechanism
- Random user agent rotation for better request distribution
- File-based caching with thread-safe access
- Exponential backoff on rate limiting (HTTP 429)
-
Prompts
-
google_search: Search Google with the given query. Returns results in a conversational format.Parameters:
-
query(string, required): The search query to execute -
num_results(integer, optional): Number of results to return (1-20, default: 5)
-
About MCP
The Model Context Protocol (MCP) is a protocol for connecting Large Language Models (LLMs) with tools and data sources. Learn more at github.com/modelcontextprotocol.
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Advanced software engineer GPT that excels through nailing the basics.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Espejo dehttps: //github.com/agentience/practices_mcp_server
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews
user_e16M6tSc
The MCP Continuity Server by Lucasdoreac is an exceptional solution for maintaining seamless operations. It ensures that your systems remain resilient and operational during critical instances. I have experienced zero downtime and impressive performance since using this product. Highly recommend it to anyone needing reliable continuity services! Check it out: https://mcp.so/server/mcp-continuity-server/Lucasdoreac