Ambient Context MCP
Local-first Windows tray app that exposes privacy-classified ambient context — presence, foreground app, battery, power, system load — as MCP tools.
Ambient Context MCP
en | ja
Windows のローカル ambient context (在席状態、フォアグラウンドアプリ種別、バッテリ、電源イベント、システム負荷、長時間作業の検知など) を、プライバシー分類された MCP ツールとして任意の AI クライアント (Claude Code、Claude Desktop 等) に公開するトレイ常駐プロセスです。
特徴
- ローカル完結: 127.0.0.1 のみで待ち受け、外部送信は一切なし
- 既定 OFF: 機微度 medium / high の情報は明示的に opt-in しない限り送信されない
- 小さいフットプリント: タスクトレイ常駐の単一プロセス
- MCP Streamable HTTP:
http://127.0.0.1:37690/mcpで公開、Bearer トークン必須 - プライバシー診断ツール:
ambient.context.get_policyで「なぜこの値が出力されないか」をクライアントから自己診断可能
公開する 3 ツール
| ツール | 説明 |
|---|---|
ambient.context.get_states | 現在のコンテキスト状態 (presence, battery, foreground app category 等) |
ambient.context.poll_events | クライアント別カーソル以降の未読イベント (user_returned, ac_power_connected 等) |
ambient.context.get_policy | 機微度分類と有効送信可否の診断情報 (実データは含まない) |
クイックスタート
アーカイブの内容を展開し、ambient-mcp.exe を実行してください。
- アプリ起動 → タスクトレイに
[●] Ambient Context MCP — :37690が表示 - トレイクリック → 設定ダイアログが開く
- 「送信設定」タブで公開して構わない context にチェック → 保存
- トレイメニュー → 「Claude Code 用設定をコピー」
- 任意のターミナルでペースト
claude mcp add ambient-context \
--transport http http://127.0.0.1:37690/mcp \
--header "Authorization: Bearer <TOKEN>"
- Claude Code から
ambient.context.get_statesなどが呼べます
ドキュメント
- docs/tool-spec.md - MCP ツール契約 (Input/Output、scope、認証)
- docs/privacy-classifications.md - 既定送信ポリシー一覧
- docs/client-config.md - Claude Code/Desktop 設定例
- docs/windows-implementation.md - Windows 固有の実装メモ
必要環境
- Windows 10 1903 (10.0.18362) 以降
- .NET 8 Desktop Runtime x64 (framework-dependent 配布版の場合)
ビルド
# 開発ビルド
dotnet build src\windows\AmbientContextMcp.sln
# 配布用 (framework-dependent)
dotnet publish src\windows\AmbientContextMcp\AmbientContextMcp.csproj `
-c Release -r win-x64 --self-contained false `
-o dist\ambient-context-mcp-win-x64-fwd
ファイル配置
%LOCALAPPDATA%\AmbientContextMcp\
├── settings.json # ユーザー設定 (送信オプトイン、ポート、トークン)
├── ambient-context.json # 直近 snapshot のローカルキャッシュ (デバッグ用)
├── events.jsonl # イベント履歴 (永続化を有効にした場合のみ)
└── mcp-api.json # 起動中 MCP の discovery 情報 (終了時に削除)
ライセンス
เซิร์ฟเวอร์ที่เกี่ยวข้อง
Holvi MCP Server
MCP server for Holvi — Finnish business banking for entrepreneurs. View balances, transactions, create and send invoices via AI agents.
Apple Search Ads MCP
Connect Apple Search Ads to Claude or ChatGPT via Two Minute Reports MCP and get accurate insights on top-performing campaigns, keywords, installs, TTR, CPA, and conversions.
winforensics-mcp
A comprehensive MCP server for Windows digital forensics on KALI Linux
CoinMarketCap MCP Server
Crypto prices, market caps, rankings, and token metadata via CoinMarketCap.
diagrams-mcp-server
MCP server for generating cloud architecture diagrams, flowcharts, sequence diagrams, and more — powered by mingrammer/diagrams, Mermaid, and PlantUML.
ROT Trading Intelligence
The first financial intelligence MCP server. Live AI-scored trading signals from Reddit, SEC filings, FDA approvals, Congressional trades, and 15+ sources. 7 tools, 2 resources, hosted remotely, free, no API key required.
Image
Fetch and process images from URLs, local file paths, and numpy arrays, returning them as base64-encoded strings.
Google Ads MCP Server
Connect Google Ads to Claude or ChatGPT via Two Minute Reports MCP and get accurate answers about campaigns, creatives, and spend.
KDP Niche Research MCP
MCP server providing AI agents with Kindle publishing niche intelligence — demand scores, competition analysis, revenue estimates via x402 micropayments
Maker MCP Server
DAI stability data, vault info, and governance parameters on MakerDAO.