mcpField
G
Gemini MCP Server

Gemini MCP Server

リモート
github.com/muckitymuckAI・エージェント079 週間前に更新
リポジトリ

Gemini MCP Server について

Gemini MCP ServerはGemini APIでウェブページを分析し、タグやメタデータ付きのスクリーンショットを保存します。ページを調べ、結果をAPI経由で取得するアプリケーション向けです。

主な機能

  1. 01Geminiによるウェブページ分析
  2. 02ウェブページのスクリーンショット取得
  3. 03タグとメタデータの付与
  4. 04IDによるスクリーンショット取得
  5. 05タグやメタデータによる絞り込み

活用シーン

  1. 01URLからウェブページを分析
  2. 02取得済みスクリーンショットの取得
  3. 03タグやページメタデータによる検索

MCP 対応

ウェブページ分析用のMCPサーバーとされていますが、READMEに記載されているのはHTTPエンドポイントであり、MCP固有のツールや通信方式は説明されていません。

設定

リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。

エンドポイントhttps://example.com
インストールコマンドをコピー
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。

ツール

詳細

Gemini MCP サーバー

ウェブページを分析するために Gemini API を使用するマルチコンテキスト処理(MCP)サーバーです。

機能

  • ウェブページのスクリーンショットを撮影して分析します
  • スクリーンショットにタグとメタデータを付与します
  • API 経由でスクリーンショットと関連データを取得します

API エンドポイント

ウェブページを処理する
POST /process

リクエスト本文:

{
  "url": "https://example.com",
  "prompt": "Describe what you see on this webpage"
}
スクリーンショットを取得する
ID でスクリーンショットを取得する
GET /screenshots/:id

例:

GET /screenshots/123

レスポンス:

{
  "id": 123,
  "url": "https://example.com",
  "prompt": "Describe what you see on this webpage",
  "created_at": "2023-06-15T12:34:56Z",
  "tags": ["initial_load", "page_entry"],
  "metadata": {
    "pageState": "initial",
    "pageTitle": "Example Domain"
  },
  "download_url": "https://yoursupabaseproject.supabase.co/storage/v1/object/public/screenshots/screenshot_1234.png"
}
フィルターを指定してスクリーンショットを取得する
GET /screenshots?tag=initial_load

または

GET /screenshots?key=pageTitle&value=Example%20Domain

レスポンス:

{
  "count": 2,
  "screenshots": [
    {
      "id": 123,
      "url": "https://example.com",
      "prompt": "Describe what you see on this webpage",
      "created_at": "2023-06-15T12:34:56Z",
      "tags": ["initial_load", "page_entry"],
      "metadata": {
        "pageState": "initial",
        "pageTitle": "Example Domain"
      },
      "download_url": "https://yoursupabaseproject.supabase.co/storage/v1/object/public/screenshots/screenshot_1234.png"
    },
    // Additional screenshots...
  ]
}

インストール

  1. リポジトリをクローンします
  2. .env.example を基に .env ファイルを作成します
  3. npm install を実行します
  4. npm run build を実行します
  5. npm start でサーバーを起動します

コメント

MCP は初めてですか?

プロトコルの概要から最初のサーバーの導入まで、よくある疑問にまとめて答えます。

AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。