Blogger Agent MCP
🚀 Blogger Agent MCP & AIコンテンツ生成エンジン
Blogger Agent MCP は、Google Agent Development Kit (ADK) と Gemini 3.5 Flash を基盤とする自律型マルチエージェントシステムであり、トレンドの深い分析、ウェブでの最新事実のライブ検索、Google Maps での多地点旅行ルートの自動構築、専門家によるロングリードの執筆、Google Docs への文書公開、Gmail によるメール配信を目的としています。
🌟 主な機能
🧠 マルチエージェントパイプライン(Google ADK & Gemini 3.5 Flash): 単一のオーケストレーター
Root Agentの管理下で、専門のサブエージェントBlogPlannerとBlogWriterを使用します。🌐 リアルタイムのライブウェブ検索(
search_web): LLM の幻覚やデータの陳腐化を防ぐために、現在の日付へのファクトグラウンディング(Grounding)を行います。🗺 グランドツアールート作成(
get_scenic_travel_route): Google Maps でクリック可能なインタラクティブマップを生成しながら、地点A ➔ B ➔ C ➔ D の複雑なドライブ旅行を構築します。📈 Google Trends 統合: オーディエンスの上昇中の主要トレンドを自動的に収集します。
🔒 委任型OAuth 2.0認可: Google Docs API を使用してあなたの個人用Googleドライブに直接ファイルを作成し、Gmail API を使用してあなたの個人用Gmailからメッセージを送信します。
☁️ Cloud Native & Docker Ready: Google Cloud Run、Docker、Dokploy にすぐにデプロイできる準備ができています。
Related MCP server: Universal Adapter
🏗 パイプラインアーキテクチャ
[Пользовательский Запрос]
│
▼
[Root Agent (Blogger)]
│
├──> 1. Trends Analysis (get_google_trends / pytrends)
│
├──> 2. Live Web Search (search_web / DDGS Grounding)
│
├──> 3. Scenic Route Planner (get_scenic_travel_route / Places & Routes API)
│
├──> 4. Outline Generation (Sub-Agent: BlogPlanner)
│
├──> 5. Full Article Generation (Sub-Agent: BlogWriter)
│
└──> 6. Export & Delivery
├── Google Drive / Docs API (save_to_google_drive)
├── Google Cloud Storage Backup (save_to_cloud_storage)
└── Gmail API Dispatch (send_article_email)⚙️ 環境変数(.env)
プロジェクトのルートディレクトリに .env ファイルを作成します:
# Модель и регион Google Cloud Vertex AI
MODEL=gemini-3.5-flash
GOOGLE_CLOUD_LOCATION=global
GOOGLE_GENAI_USE_VERTEXAI=TRUE
# Ключ Google Maps Platform API
GOOGLE_MAPS_API_KEY=AIzaSyYourGoogleMapsApiKeyHere12345
# Хранилище Google Cloud Storage
GCS_BUCKET_NAME=your-gcs-bucket-name
# OAuth 2.0 Desktop Credentials (для личного Google Диска и Gmail)
OAUTH_CLIENT_ID=123456789012-yourclientid.apps.googleusercontent.com
OAUTH_CLIENT_SECRET=GOCSPX-yourClientSecretHere123456
OAUTH_REFRESH_TOKEN=1//04yourRefreshTokenHere_abcdefghijklmnopqrstuvwxyz
# Email для уведомлений
NOTIFICATION_EMAIL=your_email@gmail.com📦 クイックインストールとローカル起動
1. リポジトリのクローンと venv の作成
git clone https://github.com/your-username/bloggeragentmcp.git
cd bloggeragentmcp
python3 -m venv .venv
source .venv/bin/activate2. 依存関係のインストール
pip install -r requirements.txt3. OAuth 2.0 認可(初回のみ実行)
長期有効な OAUTH_REFRESH_TOKEN を取得するには、認可スクリプトを実行します:
python generate_oauth_token.py開いたブラウザで自分の Google アカウントにログインし、取得した refresh_token を .env にコピーします。
4. エージェントのローカル起動
python agent.py🐳 Docker / Dokploy / Cloud Run へのデプロイ
1. Docker Compose での起動
docker-compose.yml を作成します:
version: '3.8'
services:
blogger-agent:
build: .
container_name: blogger_agent
restart: always
ports:
- "8080:8080"
env_file:
- .envコンテナを起動します:
docker compose up -d2. Google Cloud Run へのデプロイ
gcloud run deploy bloggeragentmcpv03 \
--source . \
--region us-east1 \
--allow-unauthenticated \
--set-secrets="OAUTH_REFRESH_TOKEN=oauth-refresh-token:latest" \
--set-env-vars GOOGLE_GENAI_USE_VERTEXAI=TRUE,MODEL="gemini-3.5-flash",GOOGLE_CLOUD_LOCATION="global",GCS_BUCKET_NAME="your-gcs-bucket-name",NOTIFICATION_EMAIL="your_email@gmail.com"3. Dokploy へのデプロイ
Dokploy ダッシュボードで Application を作成します。
Build Type で
Dockerfileを選択します。Environment タブで変数を入力します。
Deploy をクリックします。
📝 ライセンス
MIT License © 2026 Blogger Agent MCP Team.
This server cannot be deployed
Related MCP Connectors
Multiple Gmail accounts, editable Google Sheets & Docs for AI agents. Deny-by-default access rules.
Travel tools for AI agents: plan and edit real trips, search stays and tours, import travel videos.
Direct access to 60+ scraping and search tools. Extract structured data from Google (Search, Maps, Trends), Amazon, Airbnb, Social Media, and any web page directly into your AI agent.
Web search, point-in-time crypto market data, verified strategy track records and 160+ agent tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to plan trips by searching flights, accommodations, and activities, and managing itineraries collaboratively with role-based permissions.2019 npm112 PyPI1MIT
- FlicenseAqualityDmaintenanceEnables autonomous task execution by dynamically searching APIs, generating Python tools, and running them on-demand, with built-in web search, scraping, and file operations.3-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create Gmail drafts and append content to Google Docs, supporting automated review analysis and notification workflows.1,659 npmMIT
- AlicenseAqualityDmaintenanceEnables AI agents to create and edit Google Docs and draft Gmail emails through natural language.7ISC