Back to Home
aws-samples icon

sample-serverless-mcp-servers

Verified Safe

by aws-samples

Overview

Demonstrates a stateful Model Context Protocol (MCP) server implementation using Python and FastMCP, deployed on AWS ECS Fargate, providing a simple echo functionality.

Installation

Run Command
python src/server.py --host 0.0.0.0 --port 8000 --transport fastapi

Security Notes

The application code uses standard, widely-adopted frameworks (FastAPI, FastMCP) and does not appear to contain direct hardcoded secrets, 'eval' statements, or other overtly malicious patterns within the provided snippets. Sensitive deployment configuration is externalized to environment variables or SAM parameters. Security of the deployed solution heavily relies on proper AWS infrastructure configuration (e.g., IAM roles, network security groups, load balancer settings, and HTTPS enforcement).

Similar Servers

Stats

Interest Score71
Security Score8
Cost ClassLow
Avg Tokens75
Stars221
Forks28
Last Update2025-12-04

Tags

MCP ServerStatefulECS FargatePythonAWSFastMCPEcho