MCP-server-agenda

SahilMaske62288/MCP-server-agenda

3.2

If you are the rightful owner of MCP-server-agenda and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Server Agenda is a comprehensive backend solution designed for efficient model context protocol management, leveraging modern technologies like FastAPI, PostgreSQL, Docker, and AWS EC2.

πŸ”₯ MCP Server Agenda

Python FastAPI PostgreSQL Docker AWS Status Maintained License


πŸš€ About the Project

This project is a robust MCP (Model Context Protocol Server) backend created with FastAPI, PostgreSQL, and containerized with Docker, then deployed on AWS EC2 with full production readiness.

It represents a collaborative build between cloud engineering and API design/data management excellence.


πŸ“‚ Key File Highlights

🧠 mcp/server/fastmcp/server.py

  • Defines FastMCP class and Context logic
  • Uses pydantic, starlette, and generic types
  • Handles session, request, and lifespan for modular backends
  • Acts as a foundation for the tool/prompt system

🧩 postgres.py

  • Integrates PostgreSQL connection and operations
  • Decorated with custom @mcp.tool() and @mcp.prompt() methods
  • Used as a command interface for database interactions via API
  • Registered directly into FastAPI for smart orchestration

πŸ› οΈ Setup Instructions

1. Clone the repo

git clone https://github.com/SahilMaske62288/MCP-server-agenda.git
cd MCP-server-agenda

2. Build Docker Image

docker build -t mcp-image .

3. Run the Docker Container

docker run --rm -p 8000:8000 mcp-image

4. Access the App

http://<your-ec2-public-ip>:8000

βœ… Make sure port 8000 is open in EC2 Security Group!

πŸ“¦ Project Structure

MCP-server-agenda/
β”‚
β”œβ”€β”€ mcp/
β”‚   └── server/
β”‚       └── fastmcp/
β”‚            └── server.py
β”‚
β”œβ”€β”€ postgres.py
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ env.txt
└── README.md

πŸ‘₯ Collaborators

πŸ‘€ Name🌐 GitHub UsernameπŸ› οΈ Role
Pratiksha KacholepratikshakacholeCode + Data + MCP Server
Sahil MaskeSahilMaske62288EC2 + Docker + Deploy

πŸ”§ Tech Stack

  • Python 3.10 🐍
  • FastAPI ⚑
  • MCP Serverβš™οΈ
  • PostgreSQL πŸ›’οΈ
  • Docker 🐳
  • AWS EC2 ☁️

πŸ’‘ Learnings / Highlights

  • Containerization with Docker
  • Cloud deployment on AWS EC2
  • Building modular, typed APIs with FastAPI
  • Using Uvicorn for blazing-fast ASGI server setup
  • Multi-developer, GitHub-based collaboration

πŸ’‘ Acknowledgements

Built with by Pratiksha Kachole and Sahil Maske Special thanks to the sleepless nights, endless debugging, and EC2 reboots


πŸ“¬ Contact

For any questions or collaborations:

πŸ“§ [pratikshakachole19@gmail.com]

πŸ“§ [sahilmaske143@gmail.com]