Manages environment variables for the application, specifically storing the Google Gemini API key securely for authentication with the Gemini service.
Powers the intelligent conversational interface that processes natural language commands for user registration and data retrieval, enabling AI-driven form handling through the Gemini 2.0 Flash model.
Provides the backend functionality through custom Python scripts that handle data storage and retrieval operations, connecting the AI interface with the CSV database.
Integrates with the Streamlit frontend to create a user-friendly web interface that displays registration forms, success/warning messages, and interactive data tables for viewing user records.
Supports project configuration through pyproject.toml file, maintaining project metadata and dependencies.
🤖 Seamless Sign-ups by Pallavi (AI-Driven)
Welcome to the future of user registration! This isn't just another form; it's a dynamic, AI-powered assistant designed by Pallavi to streamline how you manage user sign-ups. Built with the cutting-edge Google Gemini 2.0 Flash and a custom MCP server, this project brings intelligent automation right to your fingertips.
Forget manual data entry and duplicate headaches. With Seamless Sign-ups by Pallavi (AI-Driven), you simply tell the system what you need, and it intelligently handles the rest – from registering new users to instantly fetching your entire database.
What Makes This Shine?
- Intelligent Conversational Interface: Powered by Gemini 2.0 Flash, understand and respond to natural language commands for registration and data retrieval.
- Local & Secure Data Management: All user details (Name, Email, DOB) are safely stored in a local
registration.csv
file, giving you full control. - No More Duplicates! Our smart backend ensures that each user's email is unique, preventing redundant entries with a clear "already registered" alert.
- Instant Data Insights: Ask for all registered users, and watch as your data magically appears in a beautifully formatted, interactive table, complete with serial numbers.
- Sleek & User-Friendly Design:
- Customized Title: "🤖 Seamless Sign-ups by Pallavi (AI-Driven) " – bold, blue, and brimming with personality!
- Vibrant UI: A refreshing color palette and modern styling for inputs, buttons (now green!), and alert messages, making every interaction a delight.
- Guided Examples: A handy dropdown offers quick prompts to get you started, from registering new users to listing existing ones.
- Clear Feedback: Intuitive success, warning, and info messages keep you informed every step of the way.
Under the Hood: The Architecture
This project seamlessly integrates a Streamlit frontend with a custom Python backend (the MCP server) acting as a bridge to your local CSV database.
your_mcp_assignment/ ├── tools/ # Your intelligent backend functions │ ├── init.py # Python package marker │ ├── fetch.py # Reads user data from CSV │ └── store.py # Writes new user data to CSV (with duplicate check!) ├── .env # Your secret Gemini API key lives here ├── llm.py # The dazzling Streamlit UI & Gemini interaction logic ├── server.py # The heart of your custom MCP server ├── registration.csv # Your user database (CSV format) ├── requirements.txt # All the Python magic you need to install ├── README.md # (You're reading it!) Project guide ├── pyproject.toml # Project metadata
Get Started in a Flash!
Follow these simple steps to bring Seamless Sign-ups by Pallavi (AI-Driven) to life on your machine:
- Set Up Your Project Space:
- Create a main directory (e.g.,
my_ai_registration_app
). - Inside, create a
tools
subdirectory. - Place all the provided Python files (
llm.py
,server.py
,tools/fetch.py
,tools/store.py
,tools/__init__.py
), along withregistration.csv
,requirements.txt
,.env
,pyproject.toml
,python-version
, anduv.lock
in their respective locations.
- Create a main directory (e.g.,
- Your Secret Key (
.env
):- Open the
.env
file in your project root. - Add your Google Gemini API key:Remember to replace
YOUR_GEMINI_API_KEY
with your actual key!
- Open the
- Install the Magic Ingredients:
- Open your terminal.
- Navigate to your project's root directory.
- (Highly Recommended!) Create and activate a Python virtual environment:
- Install all necessary Python libraries:
- Ignite the MCP Server!
- In your first terminal window (still in your project root), run:
- Keep this window open – it's the backbone of your AI assistant!
- In your first terminal window (still in your project root), run:
- Launch the AI Registration Hub!
- Open a second terminal window.
- Navigate to your project's root directory.
- Run the Streamlit application:
- Your default web browser will automatically open the beautiful Seamless Sign-ups by Pallavi (AI-Driven)!
Interact with Your AI Assistant!
Now, dive in and experience the seamless registration process:
- To Register a New User:
Type or select from examples:
Register John Doe with email john.doe@example.com and DOB 1990-05-15
- Test Duplicate Prevention: Attempt to register the same user (with the exact same email) again. Watch for the friendly warning that prevents duplicates!
- View All Registrations:
Type or select from examples:
Show all registrations
List all users
Your AI assistant will fetch and display all registered users in a clear, interactive table.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
A demonstration project that uses Google Gemini 2.0 Flash to interact with a locally hosted Model Calling Protocol server for managing user registration data stored in CSV files.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) server implementation for the Google Gemini language model. This server allows Claude Desktop users to access the powerful reasoning capabilities of Gemini-2.0-flash-thinking-exp-01-21 model.Last updated -1JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server leveraging Google's Gemini Flash 2 to analyze datasets, generate research papers, and deliver results via email.Last updated -2TypeScript
- -securityFlicense-qualityA Model Context Protocol server that connects AI clients to local code repositories, using Gemini 2.0 Flash to analyze codebases and generate targeted context based on user queries.Last updated -9Python
- AsecurityAlicenseAqualityA TypeScript implementation of a Model Context Protocol server that integrates with Google's Gemini 2.0 Flash model, enabling Claude Desktop users to interact with Gemini through natural language conversations.Last updated -13TypeScriptMIT License