Back to Home
foyst icon

aws-knowledgebase-mcp-server

Verified Safe

by foyst

Overview

Provides Retrieval Augmented Generation (RAG) capabilities by integrating an AWS Bedrock Knowledge Base with the Model Context Protocol (MCP) for various AI agent clients.

Installation

Run Command
node ./mcp-server/dist/stdio.js

Environment Variables

  • AWS_BEDROCK_KNOWLEDGE_BASE_ID
  • AWS_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_SESSION_TOKEN
  • PORT

Security Notes

The source code appears to be well-structured and does not contain obvious malicious patterns or hardcoded secrets. It correctly distinguishes between local execution (requiring explicit AWS credentials via environment variables) and Lambda execution (relying on IAM roles). However, the default Lambda function URL configuration sets `cors.allowOrigins` to `["*"]`, which permits requests from any origin. While convenient for development, in a production scenario, this should be restricted to known client origins for better security, as explicitly noted in the project's README.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks1
Last Update2025-11-24

Tags

RAGAWS BedrockKnowledge BaseModel Context ProtocolServerless