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 情報 (終了時に削除)
ライセンス
Servidores relacionados
Kochava for Advertisers — Official MCP Server
MCP connector providing comprehensive access to Kochava's mobile measurement and attribution platform for advertisers. Includes analytics, attribution, campaign management, tracker creation, fraud detection, and reporting capabilities.
Hawaii Conditions MCP
Real-time surf, trails, volcano, ocean safety, weather, and restaurants for all Hawaiian islands — built for AI agents.
Smithsonian Open Access
An MCP server to interact with the Smithsonian’s Open Access collection.
Crypto Fear & Greed Index
Provides real-time and historical Crypto Fear & Greed Index data from the Alternative.me API.
fred-bot-mcp
A meeting point for bots. Public guestbook with presence tracking and bot profiles.
kabu-mcp
Japanese & Global stock market data for AI assistants. Real-time quotes, technical analysis (RSI/MACD/BB), market screening. The only MCP with Japanese stock support.
MCP GameBoy Server
Allows Large Language Models to interact with a GameBoy emulator via the serverboy MCP server.
TradeMemory Protocol
AI trading memory layer for MT5/forex with 15 MCP tools — store/recall trades, pattern discovery, strategy evolution, and Outcome-Weighted Memory.
Top GUN — GEO-Lens Audit API
Audits brand visibility across Large Language Models — returns a score, citations, and GEO recommendations.
Limitless MCP
MCP server for Limitless Exchange prediction markets on Base. 34 tools for market access, limit order trading, wallet management, and position tracking.