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 のローカルキャッシュ (デバッグ用)
└── mcp-api.json # 起動中 MCP の discovery 情報 (終了時に削除)
ライセンス
Verwandte Server
SommelierX
Remote MCP server for sommelier-grade wine pairing. 7 tools powered by a proprietary Wine DNA algorithm. API key or x402 pay-per-call.
Weather Edge MCP
Calibrated weather probability signals for Kalshi prediction markets. Dual-model: NWS forecast + GFS 31-member ensemble. Real-time METAR from settlement stations.
Home Assistant
A free, private, and secure remote MCP server for Home Assistant.
Hidden Empire
Play a legendary text adventure by talking to your AI — no commands to memorize. The Hidden Empire puts a full underground world of puzzles, treasures, and trolls inside your conversation. Speak naturally: say 'head north,' 'grab the lantern,' or 'what am I carrying?' and your AI handles the rest. Execute multi-move plans in one shot, undo mistakes instantly, and save up to 20 named playthroughs you can resume from any session. Based on the MIT-licensed Zork I source, rebuilt from the ground up for AI-native play.
DealX
MCP Server for DealX platform
jpi-guard
MCP server for Japanese prompt injection detection — detects homoglyphs, zero-width chars, and indirect injection attacks in real-time.
Nexbid
Agentic commerce infrastructure for AI agents. MCP-native product discovery, contextual ad matching, and purchase facilitation with European privacy compliance (nDSG/GDPR).
FreightUtils MCP Server
11 freight logistics tools for AI agents — ADR dangerous goods lookup (2,939 UN entries, UNECE ADR 2025), HS code search (6,940 codes, WCO HS 2022), airline codes (6,352 with AWB prefixes), LDM/CBM/chargeable weight calculators, pallet fitting, container capacity, INCOTERMS 2020, unit converter, and ADR 1.1.3.6 exemption calculator. Free REST APIs + remote MCP endpoint.
Aave MCP Server
MCP server for Aave — lending pool data, reserve info, user positions, and liquidation thresholds.
Umami MCP server
MCP server exposing Umami analytics (Cloud + self-hosted)