browser-ai-rag
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
browser-ai-rag
『ブラウザのAIが社内で働きだす ― MCPで作る文書検索・メール・勤怠』(江藤 潔)のサンプルです。
claude.ai や chatgpt.com のような、ブラウザで使う AI から呼ばれるリモート MCP サーバーを作ります。本の章が進むごとにこのリポジトリも育っていき、社内文書の検索、メールの確認と返信、タイムカードなど、いくつもの MCP サーバーがそろいます。特定の AI サービスには寄せていないので、リモート MCP に対応したサービスならどれからでもつながります。
本の全30章ぶんがそろっています。章ごとの対応とタグは docs/chapters.md を見てください。
サーバー | 起動 | URL | 章 |
社内文書検索(ログインもここ) |
|
| 第3部 |
メール |
|
| 第20〜22章 |
タイムカード |
|
| 第23〜24章 |
売上・案件 |
|
| 第26章 |
予定とタスク |
|
| 第27章 |
運用の窓口 |
|
| 第28章 |
六本をまとめた一本(実験) |
|
| 第29章 |
動かしてみる
Python 3.11 以上と uv を使います。
uv sync
uv run python -m browser_ai_raghttp://127.0.0.1:8000/mcp で待ち受けます。テストは uv run pytest で走ります。
Related MCP server: business-central-mcp
ブラウザの AI からつなぐ
ブラウザの AI は、あなたのパソコンに直接つなぎに来るわけではありません。AI の会社のクラウドが、インターネット越しにこのサーバーを呼びに来ます。なので、手元で動かしているうちはトンネルで外から届くようにします。
cloudflared tunnel --url http://127.0.0.1:8000表示された https://xxxx.trycloudflare.com のホスト名を .env に書いて、サーバーを起動し直します。
RAG_PUBLIC_HOSTS=xxxx.trycloudflare.comこれを忘れると、AI 側からは「つながらない」とだけ出て、サーバーのログには 421(Invalid Host header)が残ります。いちばんよく踏む落とし穴です。
あとは https://xxxx.trycloudflare.com/mcp を、使っている AI のコネクタ設定に登録します。サービスごとの手順は docs/connect.md にまとめています。登録できたら、AI に「whoami ツールを使って」と頼んでみてください。Claude からなら Claude の、ChatGPT からなら ChatGPT のクライアント名が返ってきます。同じサーバーに、別々の AI がつながっているのがわかります。
設定
.env.example をコピーして .env を作ります。
変数 | 既定値 | 意味 |
|
| 待ち受けるアドレス |
|
| 待ち受けるポート |
| なし | 外から呼ばれるときのホスト名(カンマ区切り) |
| なし |
|
| なし | 公開する URL。設定するとログイン(OAuth)が有効になる |
|
| 文書・索引・各サーバーのデータベースの置き場所 |
メール・タイムカード・売上・予定・運用の窓口の設定は、.env.example に章ごとにまとめてあります。
ライセンス
Apache License 2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA secure remote MCP server that integrates Microsoft 365 services with AI assistants, enabling email, calendar, Teams, and contact operations via the Microsoft Graph API.2MIT
- AlicenseAqualityDmaintenanceMCP server that provides AI assistants direct access to Microsoft Dynamics 365 Business Central using its native WebSocket protocol, enabling page navigation, data operations, actions, and report execution without OData or browser automation.14468 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server that gives AI assistants direct access to Microsoft Dynamics 365 Business Central via its native WebSocket protocol, enabling page operations, data reading/writing, actions, search, reports, and more.468 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI apps to connect to any local or remote MCP server through one local endpoint, with per-server permissions, tool prefixes, and an activity log. Supports one-click connections to multiple AI clients and imports servers already configured in those apps.2MIT