Enables configuration through environment variables, allowing users to set API keys and other settings
Provides an HTTP API client for accessing the MCP agent's functionality, including web search capabilities
Supports comprehensive testing of the MCP agent's functionality, including mocked API responses
MCP Agent
A production-ready research agent using the Model Context Protocol (MCP), FastAPI, and Serper web search.
Features
- Async MCP server with web search tool (Serper API)
- FastAPI client for HTTP access
- Full test suite with pytest and Serper API mocking
Setup
- Clone the repo
- Install dependencies:
- Set your Serper API key:
- Create a
.env
file:
- Create a
Usage
- Start FastAPI client (runs MCP server as subprocess):
- POST /search for web search:
- GET /health for health check
Testing
- Run all tests:
- Run integration test (real Serper API):
MIT License
This server cannot be installed
A production-ready research agent that enables users to perform web searches via the Model Context Protocol (MCP) and a FastAPI client interface.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides search and crawl functionality using Search1API.Last updated -5719143TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.Last updated -129714JavaScript
- -securityAlicense-qualityA Model Context Protocol server that provides real-time web search capabilities to AI assistants through pluggable search providers, currently integrated with the Brave Search API.Last updated -10TypeScriptMIT License
- -securityAlicense-qualityModel Context Protocol (MCP) server that provides AI assistants with advanced web research capabilities, including Google search integration, intelligent content extraction, and multi-source synthesis.Last updated -272TypeScriptMIT License