
An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

A Model Context Protocol RAG server that runs on AWS Lambda behind API Gateway, using OpenSearch Serverless for vector storage and OpenAI for embeddings and generation.
Serverless RAG MCP server on AWS is cataloged as an MCP server attributed to 0x00000002. A Model Context Protocol RAG server that runs on AWS Lambda behind API Gateway, using OpenSearch Serverless for vector storage and OpenAI for embeddings and generation. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Serverless RAG MCP server on AWS are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The deployed API requires an application API key, and clients must send it in the X-API-Key header.
OpenSearch Serverless stores embeddings and metadata and provides k-NN vector search for retrieval.
README.md · f2b5f1adec09 · 采集于 2026-11-13 11:12:49 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
This project implements a RAG (Retrieval-Augmented Generation) server designed as an MCP (Model Context Protocol) tool, deployed using a serverless architecture on AWS.
It uses AWS Lambda for compute, API Gateway (HTTP API) for the request interface, OpenSearch Serverless for vector storage/search, OpenAI for embeddings and generation, and AWS S3 for persistent raw document storage.
Infrastructure is managed using the AWS Cloud Development Kit (CDK) with Python.
Before you begin, ensure you have the following installed:
npm install -g aws-cdkaws configure sso or aws sso login. This is the recommended modern approach.aws configure and provide an Access Key ID and Secret Access Key (less recommended for security)./
├── Makefile # Automation commands (build, deploy, test, etc.)
├── pyproject.toml # Application dependencies & project metadata
├── pytest.ini # Pytest configuration (ensures tests find modules)
├── .env.example # Example environment variables for local testing/config
├── README.md # This file
├── src/ # Application source code (Lambda handler, services, utils)
├── stack/ # CDK Stack definition (Python)
├── infrastructure/ # AWS CDK app definition and config
│ ├── app.py # CDK App entrypoint
│ ├── cdk.json # CDK configuration
└── tests/ # Application and infrastructure tests
├── test_lambda_handler.py
└── test_infrastructure.py
└── example_payloads/ # Example JSON payloads for API requests
├── payload_add.json
├── payload_query.json
└── payload_list.json
Install Dependencies: From the project root, install Python dependencies.
make deps
AWS Credentials & Permissions: (Ensure AdministratorAccess or equivalent for deployment).
Create Secrets in AWS Secrets Manager (Target Region):
AI/MCP_SERVERS/RAG_SERVER (or update stack/rag_mpc_stack.py)OPENAI_API_KEY with your sk-... key as the value.App/RagMcp/ApiKey (or update stack/rag_mpc_stack.py)Environment Variables (Local Use): (Not required for testing/deployment).
The Makefile provides convenient targets for managing the application lifecycle. You can override the default AWS region and profile using environment variables if needed (e.g., AWS_REGION=us-east-1 make deploy).
Typical Workflow:
make depsmake bootstrapmake deploymake invoke / make logs / Use the application via its API endpoint (including API Key).make destroyMakefile Targets:
make build: Builds the Lambda deployment package (installing dependencies from pyproject.toml and copying src/) into the build/lambda_package/ directory. This happens automatically as part of make deploy and make test.
make bootstrap: (Run once per AWS Account/Region) Bootstraps the AWS environment for CDK deployment.
# Example using the default region from Makefile/AWS config
make bootstrap
# Example overriding region
make bootstrap AWS_REGION=us-east-1
make deploy: Builds the Lambda package and deploys the entire stack (RagMcpStack) using cdk deploy.
make deploy
# Example overriding region and profile
make deploy AWS_REGION=us-east-1 AWS_PROFILE=my-dev-profile
make test: Builds the package (if needed) and runs the unit and infrastructure tests using pytest.
make logs: Tails the CloudWatch logs for the deployed Lambda function in real-time. Requires the stack to be deployed successfully. Press Ctrl+C to stop.
make destroy: Destroys all AWS resources created by the CDK stack via CloudFormation. Use with caution, as this is irreversible.
make clean: Removes local build artifacts (build/, cdk.out, etc.). Does not affect deployed AWS resources.
make invoke: Shows example curl commands for interacting with the deployed API.
curl commands.example_payloads/ directory.https://9h8ob953ge.execute-api.eu-west-3.amazonaws.com/ (Note: Always use the URL from the make invoke output or CloudFormation outputs for the current deployment)./mcp (GET for discovery, POST for execution).make test to run unit tests with mocked AWS/OpenAI/OpenSearch dependencies. True end-to-end testing typically involves deploying to a development AWS environment.pyproject.toml and run make deps.stack/rag_mpc_stack.py.src/ directory.An example Python script (example.py) demonstrates how to interact with the deployed API:
Deploy the Stack: Ensure the stack is deployed (make deploy).
Set Environment Variables: You need to provide the deployed API URL and your App API Key as environment variables. You can get these using make invoke or from the CloudFormation stack outputs.
# Get the URL (example)
export API_URL=$(aws cloudformation describe-stacks --stack-name RagMcpStack --query "Stacks[0].Outputs[?OutputKey=='ApiGatewayEndpoint'].OutputValue" --output text --profile <YOUR_PROFILE> --region <YOUR_REGION>)
# Set your key (replace with the actual key from Secrets Manager)
export API_KEY="<YOUR_APP_API_KEY>"
Run the Script:
python example.py
The script will call the discovery endpoint, add two documents, list documents, and perform a query, printing the requests and responses.
Note: The script requires the requests library (pip install requests if you don't have it, though it should be installed via make deps).
ExpiredToken / InvalidClientTokenId errors: Refresh AWS credentials (aws sso login).OPENAI_API_KEY field, App API Key should be plaintext).secretsmanager:GetSecretValue permission.X-API-Key header.make logs).Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Serverless RAG MCP server on AWS from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/rag-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Runs a free Answer Engine Optimization and AI visibility report for a domain and returns a shareable report plus a structured summary.

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.