Database · MODEL CONTEXT PROTOCOL
joaowinderfeldbussolotto MCP Websearch Server
joaowinderfeldbussolotto MCP Websearch Server is a community-listed Model Context Protocol server. Review the source repository before installation.
连接能力
joaowinderfeldbussolotto MCP Websearch Server 为 AI Agent 提供什么
- **Documentation Retrieval:** Fetches content from the official documentation of Langchain, Llama Index, and OpenAI.
- **MCP Compatibility:** Implements an MCP server, allowing it to be easily integrated with other MCP-compatible applications.
- **Simple Tool:** Exposes a `get_docs` tool that accepts a query and library name, returning relevant documentation snippets.
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
This is a simple MCP (Model Context Protocol) server for retrieving information from the official documentation of Langchain, Llama Index, and OpenAI. It provides a tool that can be used by MCP-compatible applications to search and retrieve relevant documentation snippets.
- Documentation Retrieval: Fetches content from the official documentation of Langchain, Llama Index, and OpenAI.
- MCP Compatibility: Implements an MCP server, allowing it to be easily integrated with other MCP-compatible applications.
- Simple Tool: Exposes a
get_docstool that accepts a query and library name, returning relevant documentation snippets.
graph LR
Client[MCP Client] -->|Calls tools| Server[MCP Server]
Server -->|Searches web for docs| Serper[Serper API]
Serper -->|Returns search results| Server
Server -->|Returns documentation| Client
On MacOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | shMake sure to restart your terminal afterwards to ensure that the uv command gets picked up.
Create and initialize the project:
# Create a new directory for our project
uv init mcp-server
cd mcp-server
# Create virtual environment and activate it
uv venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# Install dependencies
uv add "mcp[cli]" httpx python-dotenv bs4Create a .env file in the root directory and add the following:
SERPER_API_KEY=YOUR_SERPER_API_KEY
You'll need a SERPER API key to use the web search functionality. You can obtain one from Serper.dev. We are using the Serper API to search the web for relevant documentation.
Start the MCP server:
uv run main.pyThe server will start and be ready to accept connections.
社区