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 情報 (終了時に削除)
ライセンス
Related Servers
deBridge
Official deBridge protocol MCP Server. Finds optimal cross-chain swap routes, checks fees and conditions, initiates trades across major blockchain networks
Solentic
First native Solana staking MCP server. 26 tools for complete staking workflows — stake, unstake, withdraw, verify, simulate, and more. Zero custody design, ~6% APY.
MCP Servers
A collection of MCP servers for Cursor IDE, including demo and weather services.
Corpo MCP Server
Form and govern Wyoming DAO LLCs for AI agents — 16 tools for entity formation, governance, compliance, and director marketplace via MCP.
CardRail
MCP server that lets AI agents make purchases with personal Visa/Mastercard cards and configurable guardrails. No LLC required.
xmcp.dev
The TypeScript framework for building & shipping MCP servers
AgentTrust
Challenge-response quality verification for AI agents and MCP servers.
Android-Mobile-MCP
This MCP server enabling AI agents to control Android devices.
Gaggimate MCP
Allows an LLM agent to control your Gaggimate espresso machine
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.