Back to Home
aws-samples icon

sample-agentic-ai-demos

Verified Safe

by aws-samples

Overview

Provides various examples for building Agentic AI with AWS Bedrock using the Model Context Protocol (MCP) for tool invocation and inter-agent communication.

Installation

Run Command
uv run modules/strands-mcp-inter-agent/employee-server/server.py

Environment Variables

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • BEDROCK_MODEL_ID
  • EMPLOYEE_AGENT_URL
  • EMPLOYEE_INFO_URL
  • SERVER_URL
  • AWS_BEARER_TOKEN_BEDROCK
  • COGNITO_CLIENT_ID
  • COGNITO_CLIENT_SECRET
  • OAUTH_ENDPOINT
  • EMPLOYEE_INFO_ARN
  • EMPLOYEE_AGENT_ARN
  • PORT
  • PROJECT_NAME
  • NODE_ENV

Security Notes

No obvious 'eval' usage, code obfuscation, or hardcoded sensitive secrets were found in the provided source code. Environment variables are consistently used for configuration and credentials (e.g., AWS API keys, region, model IDs), which is good practice. The tool definitions are structured and appear to handle inputs without allowing arbitrary code execution, mitigating common injection risks. External AWS SDKs and well-established frameworks like FastAPI and Spring AI are utilized, generally promoting secure development. However, as with any complex system, residual risks related to third-party dependencies or specific deployment configurations might exist.

Similar Servers

Stats

Interest Score51
Security Score9
Cost ClassLow
Avg Tokens50
Stars99
Forks32
Last Update2026-01-14

Tags

Agentic AIAWS BedrockModel Context ProtocolTool UseMicroservices