Back to Home
scottsappen icon

motherduck-mcp-ec2-nginx-https

Verified Safe

by scottsappen

Overview

Deploys a MotherDuck Model Context Protocol (MCP) server on AWS EC2, exposing it over HTTPS using NGINX and Let's Encrypt, for validation with MCP Inspector.

Installation

Run Command
uvx mcp-server-motherduck --transport stream --host 127.0.0.1 --port 8000 --db-path <your motherduck database> --motherduck-token <your motherduck token> --saas-mode

Environment Variables

  • MOTHERDUCK_TOKEN

Security Notes

The server architecture employs good practices (local binding of the MCP server, NGINX reverse proxy, HTTPS with Let's Encrypt). However, the setup guide directs passing the MotherDuck token directly as a command-line argument within a tmux session, which can expose the secret in process lists. The 'Real-World Considerations' section acknowledges this is a sanity check setup and recommends proper security (e.g., systemd for secret management) for production.

Similar Servers

Stats

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

Tags

AWSEC2NGINXHTTPSMotherDuckMCPCertbotInfrastructureDeployment