Nexus Impact AI MCP Server
Emits latency and token telemetry to Amazon CloudWatch for monitoring MCP tool usage and model performance.
Stores evidence outputs and field reports in an encrypted Amazon S3 Evidence Vault using SSE-KMS, supporting secure archival of generated outputs.
Provides AI inference through Amazon Bedrock Converse API, enabling the seven domain-specialized agents to generate structured reports and voice-friendly summaries using Anthropic Claude 3.5 Sonnet and Amazon Nova Pro/Micro models.
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., "@Nexus Impact AI MCP ServerCalculate Sphere water and latrine needs for 12,000 displaced people"
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.
Nexus Impact AI
Specialized Social-Impact AI Workspace Powered by Amazon Bedrock & Model Context Protocol (MCP)
Submitted to the Amazon Developer Hackathon — Alexa+ Track, AWS Builder Challenge & Open Source Mini Challenge
What Nexus Impact AI Does
Frontline researchers, disaster coordinators, and local community NGOs operate in high-stakes environments where generic consumer chatbots produce superficial generalities and hallucinated operational figures.
Nexus Impact AI provides 7 domain-specialized AI agents grounded in verified international standards:
Research Evidence Synthesizer: Produces 5-column systematic evidence matrices, PRISMA/Cochrane quality grading, methodological bias critiques, and policy translation protocols.
Humanitarian Emergency Responder: Calculates strict Sphere Standards (2018) allocations (15L potable water/person/day, 20 persons/latrine stall, 3.5m² covered shelter space) with 72-hour operational checklists.
Public Health & Epidemiologist: Models epidemic growth curves ($R_t$, doubling time), drafts WHO EWARS surveillance profiles, and structures vaccine cold-chain risk assessments (+2°C to +8°C).
Donor Grant Proposal Architect: Drafts 7-section institutional proposals for USAID (BHA), EU ECHO, and the Global Fund with verifiable 6-column logframes and 5-column risk matrices.
Human Rights & Legal Monitor: Structures Istanbul Protocol-compliant legal documentation briefs referencing ICCPR, ICESCR, and CEDAW duty-bearer liability.
Maternal & Reproductive Health Specialist: Formulates clinical Emergency Obstetric (CEmONC/BEmONC) workflows and survivor-centered Clinical Management of Rape (CMR) pathways with 72-hour PEP timelines.
Institutional Knowledge Base & SOP Synthesizer: Cross-references local field assessments, indicators, and organizational history to extract reusable SOPs.
Every agent output generates both a voice-friendly short summary for spoken Alexa+ delivery and a comprehensive structured report.
Related MCP server: Codex Harness MCP
Architecture Diagram
graph TD
subgraph Client ["Client Layer (Web / PWA / Alexa Device)"]
UI["Nexus React 19 Frontend\n(Mobile-First Shell)"]
AlexaSim["Alexa+ Voice Simulator\n(Web Speech API + SpeechSynthesis)"]
AlexaDev["Amazon Echo / Alexa+ Device"]
IDB[("IndexedDB Local Vault\nCached Outputs + Offline Queue")]
SW["Service Worker\nApp Shell Cache"]
end
subgraph Server ["Server-Side Gateway (Node.js / Express / Vite Middleware)"]
MCP["MCP Streamable HTTP Endpoint\nPOST & GET /mcp (Spec 2025-11-25)"]
AgentAPI["REST Proxy Gateway\nPOST /api/agent/generate"]
Security["Security Validator\nOrigin & Host Whitelisting"]
QueueDrainer["Offline Queue Drainer\nAuto-sync upon reconnection"]
end
subgraph AWS ["Amazon Web Services Infrastructure"]
Bedrock["Amazon Bedrock Runtime\nConverse API (Cross-Region)"]
Claude["Anthropic Claude 3.5 Sonnet\nanthropic.claude-3-5-sonnet-20241022-v2:0"]
Nova["Amazon Nova Pro / Micro\namazon.nova-pro-v1:0"]
S3Vault["Amazon S3 Evidence Vault\nSSE-KMS Encrypted Archive"]
CloudWatch["Amazon CloudWatch\nLatency & Token Telemetry"]
end
AlexaDev -->|Streamable HTTP| MCP
AlexaSim -->|JSON-RPC 2.0 tools/call| MCP
UI -->|POST /api/agent/generate| AgentAPI
UI <--->|Read / Write Offline Cache| IDB
SW <--->|Cache Shell| UI
MCP --> Security
AgentAPI --> Security
Security --> Bedrock
Bedrock --> Claude
Bedrock --> Nova
AgentAPI -.-> S3Vault
AgentAPI -.-> CloudWatch
IDB -.->|Drain Pending Requests| QueueDrainer
QueueDrainer --> AgentAPISetup in 5 Commands or Fewer
# 1. Clone repository
git clone https://github.com/your-username/nexus-impact-ai.git && cd nexus-impact-ai
# 2. Install dependencies
npm install
# 3. Configure environment
cp .env.example .env
# 4. Start development server
npm run dev
# 5. Open browser at http://localhost:3000Environment Variables Table
Variable | Description | Default | Required? |
| Unlocks all 7 Pro agents and bypasses tier paywalls |
| Recommended |
| If true, returns marked simulated answers when Bedrock fails. If false (default), returns clear actionable error |
| Optional |
| Amazon Bedrock Model or Inference Profile ID (e.g. |
| Required for Cloud |
| AWS Region for Amazon Bedrock API calls |
| Optional |
| AWS IAM Access Key ID (Server-Side Only) |
| Required for Cloud |
| AWS IAM Secret Access Key (Server-Side Only) |
| Required for Cloud |
| Per-IP sliding-window rate limit per minute |
| Optional |
| Per-IP sliding-window rate limit per 24h |
| Optional |
| Global daily request cap across all users |
| Optional |
| Maximum characters accepted per agent request |
| Optional |
| Maximum generation tokens per Bedrock Converse call |
| Optional |
| Local web and MCP server port |
| Optional |
Security Rule: AWS credentials are strictly server-side. No access keys or secrets are ever bundled or transmitted to the browser client.
Deploy on Render (Production Long-Running Node Host)
Nexus Impact AI includes a production-ready render.yaml specification configured for Render web services:
Option 1: Automatic Blueprint Deployment
Push this repository to your GitHub account.
In the Render Dashboard, click New + → Blueprint.
Select your repository. Render automatically reads
render.yamland prepares the web service.Fill in your secret environment variables:
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY, andBEDROCK_MODEL_ID.Click Apply.
Option 2: Manual Web Service Configuration
If creating a Web Service manually in Render:
Environment / Runtime:
NodeNode Version:
22(or setNODE_VERSION=22)Build Command:
npm install --include=dev && npm run buildStart Command:
npm start(runsnode server.js)Health Check Path:
/api/healthEnvironment Variables:
NODE_ENV:productionAWS_REGION:us-east-1AWS_ACCESS_KEY_ID:[Your AWS Access Key ID]AWS_SECRET_ACCESS_KEY:[Your AWS Secret Access Key]BEDROCK_MODEL_ID:us.anthropic.claude-3-5-sonnet-20241022-v2:0UNLOCK_ALL_AGENTS:trueALLOW_SIMULATED_RESPONSES:falseMCP_PROTOCOL_VERSION:2025-11-25
Render automatically sets PORT and manages TLS/HTTPS certificates. Once deployed, verify your instance by clicking "Test Connection" on the Technical Architecture page or opening /selftest.
How to Run the Model Context Protocol (MCP) Server
Nexus Impact AI implements the official Model Context Protocol (MCP) Specification (2025-11-25) over Streamable HTTP:
Endpoint:
POST /mcpandGET /mcpProtocol Handshake: Returns
text/event-streamSSE withevent: endpointandevent: readyHeader Standard: Supports
MCP-Protocol-Version: 2025-11-25andMcp-Session-IdJSON-RPC 2.0 Dispatch:
initialize,ping,tools/list, andtools/call
Test with cURL
# 1. Initialize MCP Handshake
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2025-11-25"},"id":1}'
# 2. List Registered Tools (8 tools returned)
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":2}'
# 3. Call Humanitarian Tool via JSON-RPC 2.0
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"humanitarian_emergency_response","arguments":{"location":"Lower Shabelle, Somalia","population":"18,000"}},"id":3}'In the web interface, open the Alexa+ tab to use the built-in microphone simulator and inspect live JSON-RPC 2.0 request/response logs in real time.
Running Automated Tests & Linting
# 1. Run MCP protocol conformance, PII redaction, AES-GCM encryption & safety guardrails tests
npm run test:mcp
# 2. Type check and code validation
npm run lint
# 3. Production build verification
npm run buildCrisis & Displacement Settings: Privacy By Design
Engineered specifically for IDPs, refugees, host communities, and frontline responders in low-connectivity zones of sub-Saharan Africa:
Anonymous Use: Zero accounts, zero login, zero tracking, zero third-party analytics scripts.
Zero Server Prompt Logging: Prompts and outputs are never saved to server logs or databases.
Client-Side PII Redaction: Phone numbers, emails, UNHCR/national IDs, GPS coordinates, and victim names are scrubbed before any cloud call.
On-Device AES-GCM 256-Bit Encryption: Optional user passphrase protects local IndexedDB vault records using the browser Web Crypto API.
Quick Exit / Panic Wipe: Instant data erase button on every screen +
Escpressed 3 times clears IndexedDB, caches, and localStorage, redirecting to a neutral site.11 Languages Supported: English, Arabic (RTL), French, Portuguese, Swahili, Amharic, Tigrinya, Oromo, Somali, Hausa, and Kinyarwanda with device auto-detection and honest on-device vocabulary warnings.
Offline Sharing: Transfer field outputs without internet via scannable on-device QR codes, print-friendly views, or Markdown exports.
How to Test Offline Mode (Judge Walkthrough)
Humanitarian responders and epidemiologists frequently operate in conflict corridors or disaster zones with zero internet access. Nexus Impact AI operates genuinely offline:
In the top header bar, click the Online pill. It immediately switches to Offline Mode with an amber indicator.
Select any agent (e.g., Humanitarian Emergency Response or Public Health).
Click "Run Sample Scenario Now (<30s Result)".
Observe the response:
Notice the badge explicitly says:
On-device (offline, lower accuracy).The output is grounded in the bundled Offline Knowledge Pack (Sphere Handbook 2018, WHO Field Protocols) with open-license citations.
The request is automatically queued in local IndexedDB.
Click the Vault icon in the header toolbar to view your saved offline outputs and see
1 queuedin the Sync Queue.Click the header badge to switch back to Online, then click "Re-run with Cloud (Bedrock)" in the vault to upgrade your output with live cloud inference!
License
Licensed under the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server framework enabling standardized tool registration, discovery, and invocation over JSON-RPC 2.0, with support for InProcess, SSE, and WebSocket transports, plus built-in tools such as calculator, text processor, and JSON formatter.MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI clients to invoke CLI-driven agent tools over Streamable HTTP, including shell execution, file operations, patching, image viewing, web search, and nested agent tasks, with permission modes and real-time progress streaming.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover and invoke backend tools over MCP JSON-RPC while enforcing 3-legged OAuth 2.0 identity propagation, role-based access control, and protocol transcoding to REST APIs.1Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI tools to uniformly discover, inspect, and call tools, prompts, and resources from multiple upstream MCP servers through a small set of fixed MCP tools, over stdio or HTTP.2MIT