SubTrack & ElderGuard MCP Server
Provides Alexa+ agent skills for scam analysis and subscription defense, using Amazon Bedrock for cloud threat reasoning.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SubTrack & ElderGuard MCP Serveris this text claiming to be from Chase about a wire transfer a scam?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ก๏ธ SubTrack & ElderGuard MCP Server
Autonomous Phishing Protection & Hidden Subscription Defense for Vulnerable Families over Streamable HTTP on Alexa+
๐ Hackathon Tracks & Challenges Entered
Track / Challenge | Status | Implementation Details |
Alexa+ Track | Primary Entry | Self-hosted Model Context Protocol (MCP) Server implementing the official 2025-11-25+ Streamable HTTP transport specification via |
AWS Builder Mini-Challenge | Completed | Production-ready Amazon Bedrock integration ( |
Open Source Mini-Challenge | Completed | Fully open-sourced under permissive MIT License with zero proprietary lock-in. |
๐ฅ Hackathon Reviewer Note: As specified in the submission guidelines, the following Amazon & Hackathon collaborator usernames have been invited to this repository:
knmeiss
giolaq
anishamalde
mosesroth
emersonsklar
Related MCP server: Northbridge Home Ops
๐ก The Problem
Every year, older adults lose over $3.4 Billion to text and email scams:
Urgent Smishing & Imposter Traps: Fraudsters send texts impersonating banks (Chase, Wells Fargo), parcel services (USPS, FedEx), or distressed grandchildren claiming an emergency wire or gift cards are required.
Hidden "Free Trial" Auto-Renewal Traps: Deceptive health and memory apps lure seniors with a "7-day free trial" and quietly begin recurring charges of $29.99 to $49.99 weekly or monthly, draining fixed incomes.
Cognitive Overload: When seniors feel uncertain about a text or charge, calling family members often causes anxiety. Asking Alexa naturally in their living room is the most accessible, dignified line of defense.
๐ The Solution: SubTrack & ElderGuard
SubTrack & ElderGuard is an open-standard MCP server that equips Alexa+ with active financial and digital defense agent skills:
ScamShield Agent Skill (
analyze_suspicious_message):High-precision heuristic scanner inspecting URLs for homoglyphs, typosquatting, raw IP addresses, and high-risk TLDs (
.xyz,.top,.cc).Deep reasoning via Amazon Bedrock Claude 3 evaluating conversational intent, coercive urgency, and payment extortion.
Synthesizes warm, clear voice advice tailored for older adults without technical jargon.
SubTrack Agent Skill (
get_active_subscriptions):Maintains real-time tracking of family subscriptions, recurring costs, and free trials.
Calculates monthly household run rates and explicitly flags expiring trial dates (e.g., "Your BrainGym trial auto-renews in 2 days for $29.99").
Auto-Renewal Alert Blocker (
cancel_subscription_alert):Allows users to speak directly to Alexa: "Alexa, cancel the BrainGym trial auto-renewal".
Executes auto-renewal block tokens and calculates immediate monthly budget savings.
Interactive Local Web Simulator (Subly & Lumio Inspired Design):
High-end financial and safety interface at
http://localhost:3000incorporating design patterns from Subly and Lumio:Atmospheric teal gradient hero with Subly sky-blue AI savings card and floating 3D stars.
Subly 7-day spend chart with diagonal crosshatch active bar and floating tooltip.
Segmented radial arch health gauge (
74/100) and Lumio diagonal hatch progress bars.Echo Show 15 smart display simulation with pulsing Alexa voice orb and speech synthesis.
Subly 3-step senior safety playbook with 1-click actions and toast feedback.
Live MCP Streamable HTTP protocol inspector (
POST /mcp) compliant with Spec 2025-11-25+.
๐๏ธ System Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ALEXA+ / ECHO VOICE ASSISTANT โ
โ "Alexa, check if this text about a Chase wire transfer is a scam." โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
HTTP POST /mcp (Streamable HTTP)
JSON-RPC 2.0 (Spec 2025-11-25+)
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SUBTRACK & ELDERGUARD MCP SERVER (EXPRESS) โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Streamable HTTP โ โ McpServer ("subtrack-elderguard-mcp") โ โ
โ โ Transport Handler โโโโ โข analyze_suspicious_message โ โ
โ โ (stateless/stateful) โ โ โข get_active_subscriptions โ โ
โ โ โ โ โข cancel_subscription_alert โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SCAMSHIELD ENGINE โ โ SUBTRACK ENGINE โ
โ โข Typosquatting / Homoglyphs โ โ โข Household Sub Registry โ
โ โข Domain Reputation & IPs โ โ โข Trial Countdown Monitor โ
โ โข Urgency & Extortion Rules โ โ โข Spend & Savings Analytics โ
โ โข Amazon Bedrock Claude 3 โ โ โข Auto-Renew Block Tokenizer โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AMAZON BEDROCK โ
โ @aws-sdk/client-bedrock- โ
โ runtime (Claude 3 Haiku) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ๐ ๏ธ MCP Tools Exposed (Agent Skills)
1. analyze_suspicious_message
Description: Analyzes incoming SMS, email, or transcribed voice messages for phishing, imposter scams, spoofed links, and elderly financial fraud using ScamShield heuristics and Amazon Bedrock.
Input Schema:
{ "type": "object", "properties": { "messageText": { "type": "string", "description": "The SMS, email body, or voice transcript text from an unknown sender to analyze." } }, "required": ["messageText"] }Sample Output:
{ "verdict": "DANGEROUS_SCAM", "threatRiskScore": 92, "threatCategory": "Bank Phishing / Institutional Impersonation", "signals": [ { "category": "URL_SPOOF", "severity": "HIGH", "description": "Suspicious destination URL detected matching phishing heuristics: chase-alert-login.cc" }, { "category": "URGENCY", "severity": "MEDIUM", "description": "Manufactured high-pressure urgency trigger: 'within 24 hours'" } ], "alexaVoiceSummary": "Warning. This message is almost certainly a scam attempting to steal your personal information or money. Please do not click any links, do not reply, and do not send gift cards or cash. I have flagged this sender for safety.", "actionRecommendations": [ "Do not click any links or download attachments.", "Call the number on the back of your physical bank card." ] }
2. get_active_subscriptions
Description: Retrieves active household subscriptions, calculates total monthly spend, and detects expiring free trials that will auto-renew without warning.
Input Schema:
{ "type": "object", "properties": { "timeframeDays": { "type": "number", "default": 7, "description": "Number of days ahead to look for expiring free trials (default: 7)." } } }
3. cancel_subscription_alert
Description: Flags and blocks auto-renewal for a specified subscription or trial to avoid unwanted recurring charges for elderly family members.
Input Schema:
{ "type": "object", "properties": { "subscriptionId": { "type": "string", "description": "The unique ID or name of the subscription to block (e.g. 'sub-bg-101' or 'BrainGym Memory Pro')." } }, "required": ["subscriptionId"] }
4. list_active_subscriptions
Description: Lists down every active subscription with its name, monthly price, and total household spend. Triggered when user asks: "Alexa, tell me which active subscriptions I have and list them down."
Input Schema:
{ "type": "object", "properties": {} }
5. get_cancellation_reminders
Description: Provides proactive warnings and reminders about expiring free trials and subscriptions that must be cancelled before getting charged. Triggered when user asks: "Alexa, remind me which subscription I have to cancel before getting charged."
Input Schema:
{ "type": "object", "properties": { "timeframeDays": { "type": "number", "default": 7, "description": "Number of days ahead to look for upcoming charges and trial expirations (default: 7)." } } }
โก Quickstart Guide
Prerequisites
Node.js
v18.0.0or later (tested on Nodev23.11.0)npm
v9.0.0or later
1. Clone & Install
git clone https://github.com/Tejal-Bhavsar/subtrack-elderguard-mcp.git
cd subtrack-elderguard-mcp
npm install2. Configure Environment (Optional)
Copy .env.example to .env:
cp .env.example .env(Note: If AWS credentials are not configured, the server automatically uses the built-in Intelligent Neural Guard Heuristic Engine, guaranteeing 100% offline functionality without configuration!)
3. Run Locally
npm run devThe server will start at:
Interactive Web Simulator: http://localhost:3000
MCP Streamable HTTP Endpoint:
http://localhost:3000/mcpServer Health Check: http://localhost:3000/health
๐งช Testing the Streamable HTTP Transport Directly
You can test the MCP endpoint with standard JSON-RPC 2.0 requests:
List Tools via cURL
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}'Call ScamShield via cURL
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "analyze_suspicious_message",
"arguments": {
"messageText": "Urgent: Your Chase card is locked. Verify at http://chase-security-login.xyz within 24 hours."
}
}
}'๐ Project Structure
subtrack-elderguard-mcp/
โโโ package.json # Dependencies & build scripts
โโโ tsconfig.json # TypeScript ES2022 / NodeNext config
โโโ LICENSE # MIT Open Source License
โโโ .gitignore # Standard exclusions
โโโ .env.example # Environment template
โโโ README.md # Main submission & architectural overview
โโโ FRICTION_LOG.md # Required 10% Judging Bonus friction log
โโโ FEEDBACK.md # Product & onboarding feedback
โโโ VIDEO_SCRIPT.md # 2:30 YouTube demo video script
โโโ src/
โโโ index.ts # Express entry point & Streamable HTTP /mcp router
โโโ mcp/
โ โโโ server.ts # McpServer registration & Zod tool definitions
โ โโโ scamShieldTool.ts # Heuristic & Bedrock Scam Detection Engine
โ โโโ subTrackTool.ts # Subscription & Trial Tracking Engine
โโโ aws/
โ โโโ bedrockScanner.ts # AWS Bedrock runtime client & fallback
โโโ public/
โโโ index.html # Interactive Web Simulator & visualizer๐ Submission Documents
FRICTION_LOG.md โ 3 in-depth engineering logs analyzing Streamable HTTP headers, Zod registration, and AWS Bedrock streaming.
FEEDBACK.md โ Product feedback on
@modelcontextprotocol/sdkand developer onboarding.
๐ License
This project is licensed under the MIT License. Open source for the community and for protecting vulnerable individuals everywhere.
This server cannot be deployed
Maintenance
Related MCP Connectors
Track, analyze, and act on your streaming and SaaS subscriptions from any AI agent.
Give AI agents a phone layer for consent-based calls, transcripts, summaries, and outcomes.
AI-powered scam and threat verification for phone numbers, URLs, texts, and emails.
Track subscriptions and renewals from your AI chat: schedules, due dates, reminders, local data.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables an Alexa+-style voice agent to watch recurring payments and propose renew/deactivate/cancel recommendations without ever being able to move money itself.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Alexa+ to manage household admin tasks: checking upcoming bills, verifying funding, detecting anomalies, auto-handling routine payments, and escalating only when a human decision is required.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables Alexa+ and other MCP-capable assistants to voice-check suspicious messages, links, and phone numbers, with guided call interviews, official-source verification, and plain-language scam briefings.MIT
- AlicenseNot gradedqualityBmaintenanceEnables an Alexa+ assistant to name scam warning signs drawn from FTC and FBI alerts, verify a story by texting a family member's pre-saved number, and surface official report links and guidance. It exposes tools and MCP Apps views for checking a suspicious call, while never approving payments, contacting the caller, or collecting sensitive numbers.MIT