MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Uses .env files to manage configuration settings including API keys for secure environment variable management

  • Leverages OpenAI's GPT models to interpret natural language commands for browser automation tasks

  • Handles dependency management and packaging for the MCP server

MCPサーバー

シンプルな API を通じてブラウザ自動化機能を提供する MCP (マシン コントロール プロトコル) サーバー。

説明

このサーバーは、自然言語コマンドを使用してブラウザ自動化タスクを実行できるAPIエンドポイントを作成します。このサーバーは以下のものを使用します。

  • FastMCP :シンプルなAPIサーバーを作成する
  • browser-use : ブラウザ自動化機能用
  • OpenAIのGPTモデル:自然言語コマンドを解釈する

前提条件

  • Python 3.11以上
  • 依存管理のための詩
  • OpenAI APIキー

設定

1. 依存関係をインストールする

poetry install

2. 環境変数を設定する

ルート ディレクトリに次の.envファイルを作成します。

OPENAI_API_KEY=your_openai_api_key_here

走る

poetry run python main.py

サーバーは、デフォルト ポートで SSE (Server-Sent Events) トランスポートを使用して起動します。

特徴

ブラウザ自動化

自然言語を使用してブラウザ自動化タスクを実行するには、 /run_browser_taskエンドポイントを使用します。例:

-
security - not tested
F
license - not found
-
quality - not tested

OpenAI の GPT モデルを使用して Web タスクを実行するための自然言語コマンドを解釈する API エンドポイントを通じてブラウザ自動化機能を提供します。

  1. Description
    1. Prerequisites
      1. Setup
        1. 1. Install dependencies
        2. 2. Configure environment variables
      2. Run
        1. Features
          1. Browser Automation
        ID: d2sek4qalu