MR

mshojaei77/reactmcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

144 stars 29 forks 品質 77 トレンド 4MIT

mshojaei77/reactmcpは、https://github.com/mshojaei77/reactmcp.からインポートされたMCPサーバー候補です。

概要

mshojaei77/reactmcpは、https://github.com/mshojaei77/reactmcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

ReActMCP Web Searchは、AIアシスタントフレームワークにウェブ検索機能を統合したMCP(Model Context Protocol)サーバーです。Exa APIを活用して、基本および高度なウェブ検索を行い、タイトル、URL、出版日、コンテンツ概要などのリアルタイムのマークダウン形式の結果を返します。

このリポジトリは、さまざまなMCPツールやサーバーを接続し、AIアシスタントに多様な機能を提供するReActMCPプロジェクトの一部です。


目次

  • 特徴
  • 要件
  • 設置
  • 構成
  • 環境変数
  • MCP構成
  • システムプロンプト
  • 使用法
  • ウェブサーチサーバーの運用
  • ツールのテスト
  • トラブルシューティング
  • ライセンス
  • 貢献

特徴

  • 基本的なウェブ検索:Exa APIを使って簡単な検索を行います。
  • 高度なウェブ検索:ドメイン制限、テキストの含み込み要件、日付フィルターなどの追加のフィルタリングオプションを使用してください。
  • Markdown Output:Markdown 内で検索結果をタイトル、URL、要約を簡単に組み込むようにフォーマットします。
  • MCP統合:マルチツールAI支援のために、このツールを簡単にMCPサーバーエコシステムに追加できます。

要件

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

ReActMCP Web Search

ReActMCP Web Search is an MCP (Model Context Protocol) server that integrates web search capabilities into your AI assistant framework. It leverages the Exa API to perform both basic and advanced web searches, returning real-time, markdown-formatted results including titles, URLs, publication dates, and content summaries.

This repository is part of the broader ReActMCP project that connects various MCP tools and servers to empower your AI assistant with a wide range of capabilities.


Table of Contents


Features

  • Basic Web Search: Perform simple searches using the Exa API.
  • Advanced Web Search: Use additional filtering options such as domain restrictions, text inclusion requirements, and date filters.
  • Markdown Output: Format search results in Markdown to easily incorporate titles, URLs, and summaries.
  • MCP Integration: Easily add this tool into your MCP server ecosystem for multi-tool AI assistance.

Requirements


Installation

  1. Clone the Repository

    git clone https://github.com/mshojaei77/ReActMCP.git
    cd ReActMCP
    
  2. Create a Virtual Environment (Optional but recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows use: venv\Scripts\activate
    
  3. Install Dependencies

    uv pip install -r requirements.txt
    

Configuration

Environment Variables

Create a .env file in the project root directory with at least the following variable:

EXA_API_KEY=your_exa_api_key_here
OPENAI_API_KEY=...

This key is required by the Exa API for performing web searches.

MCP Configuration

The MCP configuration file mcp_config.json defines the settings and tools available to your MCP server. An example configuration is provided:

{
  "websearch": {
    "script": "web_search.py",
    "encoding_error_handler": "ignore",
GitHub で README 全文を見る

インストール

docker run --rm -i -e EXA_API_KEY=your_exa_api_key_here reactmcp-exa:local
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "websearch": { "command": "python", "args": ["path/to/servers/exa_web_search.py"] } } }