Back to Home
jonmatum icon

mcp-dual-interface-demo

Verified Safe

by jonmatum

Overview

Demonstrates a dual-interface architecture for a Todo application, allowing interaction via a traditional web app and an AI interface (MCP server) powered by shared business logic.

Installation

Run Command
make start

Environment Variables

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_DEFAULT_REGION
  • DYNAMODB_ENDPOINT

Security Notes

The server uses hardcoded 'test' AWS credentials for DynamoDB local, which would be a critical vulnerability if deployed to a real AWS environment without being replaced. The FastAPI backend has a permissive CORS policy (`allow_origins=["*"]`), which is unsafe for production deployment. No obvious `eval()` or direct command injection vulnerabilities were found in the application logic itself. These issues are acceptable for a local demo but require careful remediation for production.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens150
Stars0
Forks0
Last Update2025-12-14

Tags

Dual-interfaceMCPAI integrationFastAPIReactDynamoDBDocker