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
timeService-mcp
A simple Model Context Protocol (MCP) server that provides the current date and time.
strava mcp
A Model Context Protocol (MCP) server that integrates Strava with Claude for Desktop, enabling AI-powered analysis of your fitness activities.
RomM MCP
MCP Server for your RomM platform
GW2 MCP Server
Connects Large Language Models (LLMs) with Guild Wars 2 data sources. Requires a Guild Wars 2 API key for wallet functionality.
LinkedIn Prospection MCP
LinkedIn prospection automation - find leads, score (fit+intent+urgency), qualify, personalize messages, run full pipeline, manage sales funnel. 7 MCP tools.
Nexbid
Agentic commerce infrastructure for AI agents. MCP-native product discovery, contextual ad matching, and purchase facilitation with European privacy compliance (nDSG/GDPR).
Wazuh MCP Server
AI-powered security operations with Wazuh SIEM + Claude Desktop. Natural language threat detection, automated incident response & compliance.
WhoisFreaks
A Model Context Protocol (MCP) server that exposes the full WhoisFreaks API suite as AI-callable tools. Works with Claude Desktop, Cursor, Windsurf, VS Code, Continue, Zed, and any other MCP-compatible AI client.
WoWok
A server for the WoWok platform, designed for co-creation, transactions, and empowering potential.
Fortnox Accounting MCP Server
MCP server for Fortnox — Sweden's largest cloud accounting platform (612K+ customers). Manage invoices, customers, suppliers, accounting, and more via AI agents.