mirror of
https://github.com/Monkopedia/rouse-context.git
synced 2026-12-03 03:44:54 +00:00
- Enable core library desugaring for java.time and java.util.Base64 usage in app, core:mcp, health, and notifications modules - Guard NotificationChannel creation (API 26+) in NotificationChannels and OutreachMcpProvider - Guard FOREGROUND_SERVICE_TYPE_DATA_SYNC (API 29+) in TunnelForegroundService, fall back to type-less startForeground - Use ContextCompat.startForegroundService() in FcmReceiver and TestWakeReceiver for pre-API-26 compatibility - Guard Health Connect availability check for API 28+ in HealthConnectIntegration - Add tools:overrideLibrary for Health Connect in health manifest - Pin Robolectric to SDK 33 in outreach, work, and notifications test resources to match app module Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .github/workflows | ||
| api | ||
| app | ||
| config/detekt | ||
| core | ||
| deploy | ||
| device-tests | ||
| docs | ||
| gradle | ||
| health | ||
| integration-tests | ||
| notifications | ||
| outreach | ||
| relay | ||
| tunnel/src/test/java/com/rousecontext/tunnel/mux | ||
| usage | ||
| work | ||
| .editorconfig | ||
| .gitignore | ||
| BLOCKERS.md | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| last_session | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
Rouse Context
On-demand MCP (Model Context Protocol) server for Android.
Overview
Rouse Context turns your Android device into an MCP server that AI assistants can connect to on demand. Sessions are triggered via FCM push notifications — the device wakes up, provisions a per-device ACME TLS certificate, and establishes an end-to-end encrypted connection through an SNI passthrough relay. No persistent cloud sync of user data ever occurs; all context stays on the device until explicitly served over a live session.
Architecture
| Module | Purpose |
|---|---|
:app |
Main application shell — UI, session history/audit log, trust notifications, settings |
:tunnel |
FCM wakeup, ACME cert provisioning, SNI passthrough relay client, session lifecycle, wakelock management |
:mcp-core |
Thin abstractions over the MCP Kotlin SDK — defines McpServerProvider, the bindable-service contract for MCP servers |
:mcp-health |
Health Connect MCP server implementation |
Key properties
- FCM-triggered — no persistent connection; the device is woken only when a session is requested.
- E2E encrypted — TLS terminates on the device via per-device ACME certificates. The relay performs SNI passthrough only and never sees plaintext.
- No cloud sync — user data is read from on-device sources (Health Connect, etc.) and served live. Nothing is persisted in the cloud.
- Extensible — additional MCP servers can be added as new modules implementing
McpServerProvider, or installed as third-party apps binding to the same service protocol.
Building
./gradlew assembleDebug
Requires Android SDK with API 35 and JDK 17+.
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.