Atlas / MCP servers / genieincodebottle / RAG App on AWS

RAG App on AWSSAFE

mcp/genieincodebottle/rag-app-on-aws

Build and deploy a full-stack RAG app on AWS with Terraform, using free tier Gemini Pro, real-time web search using Remote MCP server and Streamlit UI with token based authentication.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
2 2r · 0w · 0d
Transport
streamable-http
License
MIT
Stars
62
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

👉 GenAI Roadmap - 2025

End-to-End RAG App with Evaluation on AWS, Integrating Web Search via Remote MCP Server

Terraform-based Infrastructure as Code (IaC) to deploy a complete AWS backend for a Retrieval-Augmented Generation (RAG) application. It integrates with Google’s free-tier Gemini Pro and Embedding models for AI powered document querying and includes a Streamlit UI with token-based authentication for interacting with the app.

👉 Related Remote MCP Server: Web Search using SerpAPI Remote MCP Server based on Streaming Http Transport protocol for Real Time Web Search. It's located within the mcp_servers/ directory of this repository.

👉 Related UI: RAG UI (Streamlit Frontend) A Streamlit-based frontend application designed to interact with the backend infrastructure deployed by this project. It's located within the rag_ui/ directory of this

Read from source at commit b1b04b31fefeOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add rag-app-on-aws --env AUTH_ENDPOINT=${AUTH_ENDPOINT} --env DB_SECRET_ARN=${DB_SECRET_ARN} --env GEMINI_SECRET_ARN=${GEMINI_SECRET_ARN} --env MAX_OUTPUT_TOKENS=${MAX_OUTPUT_TOKENS} -- uvx rag-app-on-aws
claude-desktop
{
  "mcpServers": {
    "rag-app-on-aws": {
      "command": "uvx",
      "args": [
        "rag-app-on-aws"
      ],
      "env": {
        "AUTH_ENDPOINT": "${AUTH_ENDPOINT}",
        "DB_SECRET_ARN": "${DB_SECRET_ARN}",
        "GEMINI_SECRET_ARN": "${GEMINI_SECRET_ARN}",
        "MAX_OUTPUT_TOKENS": "${MAX_OUTPUT_TOKENS}"
      }
    }
  }
}
03

Exposed tools (2)

2 read · 0 write · 0 destructive.

ToolRiskDescription
health_checkread
web_searchread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (15)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/deploy.yml:186
cd src/$DIR && pip install -r requirements.txt -t . || true && zip -r ../../lambda_artifacts/$DIR.zip . && cd ../..
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/deploy.yml:291
chmod +x ../../scripts/import_resources.sh
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/deploy.yml:292
# ../../scripts/import_resources.sh "$PROJECT_NAME" "$STAGE" "$AWS_REGION" > /dev/null 2>&1 || true
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/deploy.yml:293
../../scripts/import_resources.sh "$PROJECT_NAME" "$STAGE" "$AWS_REGION" || true
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/deploy.yml:376
echo "COGNITO_CLIENT_ID=$COGNITO_CLIENT_ID" > ../../env_vars.env
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
rag_ui/app.py:231
payload = json.loads(base64.b64decode(token_parts[1] + '==').decode('utf-8'))
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/upload_handler/upload_handler.py:145
file_content = base64.b64decode(file_content_base64)
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
mcp_servers/requirements.txt
mcp, asyncio, python-dotenv, google-search-results
Why it matters. 4 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
rag_ui/requirements.txt
streamlit, pandas, requests, python-dotenv, PyJWT, plotly
Why it matters. 6 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements-dev.txt
pytest, pytest-cov, moto
Why it matters. 3 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
boto3, psycopg2-binary
Why it matters. 2 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
src/auth_handler/requirements.txt
boto3
Why it matters. 1 requirement(s) not pinned with ==
Fix. pin exact versions
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
README.md:281
*   Generate an Access Key for either an IAM user with sufficient permissions or the Root user (which has full access) to experiment and create resources defined in Terraform..
INFOInventory / provenance · inv.oversize · CWE-1104
images/rag-app.png
images/rag-app.png
Why it matters. 1708230 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha b1b04b31fefefull audit observations/trust-audit/mcp-server/genieincodebottle__rag-app-on-aws.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07b1b04b31fefeSAFEB89first audit
06

Questions

What is the RAG App on AWS MCP server?

Build and deploy a full-stack RAG app on AWS with Terraform, using free tier Gemini Pro, real-time web search using Remote MCP server and Streamlit UI with token based authentication.

What tools does RAG App on AWS expose?

2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is RAG App on AWS safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does RAG App on AWS need?

It reads AUTH_ENDPOINT, DB_SECRET_ARN, GEMINI_SECRET_ARN, MAX_OUTPUT_TOKENS and SERPAPI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does RAG App on AWS run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as rag-app-on-aws.

How current is this page?

The grade is for one exact copy of the source (b1b04b31fefe), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement