Fluduro

Fluduro

A personality-to-flower quiz application with MCP tools for interactive widgets inside ChatGPT.

Category
Visit Server

README

Fluduro | A ChatGPT App Learning Project

Fluduro is a simple personality-to-flower quiz application. This project was built to explore the OpenAI Apps SDK and the Model Context Protocol (MCP) by creating interactive widgets directly inside ChatGPT.


🛠️ Project Overview

The goal of this project was to learn how to:

  1. Build an MCP Server that exposes tools and UI resources.
  2. Use the OpenAI Apps SDK to render custom HTML/CSS widgets in ChatGPT.
  3. Connect a local server to ChatGPT using ngrok.
  4. Use an LLM (Groq) to dynamically generate quiz questions.

Tools & Resources:

  • Tools: say_hello, start, submit_answers, show_results, get_quiz_state.
  • UI Widgets: Welcome, Quiz, and Results screens.

📸 Visuals

![Welcome Screen (Light Mode)](./screenshots/welcome-light.png)
<!-- slide -->
![Welcome Screen (Dark Mode)](screenshots/welcome-dark.png)
<!-- slide -->
![Quiz Screen](screenshots/quiz.png)
<!-- slide -->
![Results Screen](screenshots/result.png)

⚡ Local Setup

1. Installation

Clone the repository and install dependencies:

git clone <repository-url>
cd plantora
npm install

2. Configuration

Create a .env file for your API keys:

cp .env.example .env

Add your Groq API Key to the API_KEY field. You can get one for free at console.groq.com.

3. Run and Tunnel

Start the server in HTTP mode and use ngrok to create a public HTTPS tunnel (required by ChatGPT):

# Terminal 1: Start the server
npm run start:http

# Terminal 2: Start ngrok on the same port
ngrok http 3553

Take note of the public URL provided by ngrok (e.g., https://xyz.ngrok-free.dev).


🔗 How to Connect to ChatGPT

To test this app in ChatGPT, follow these steps:

  1. Enable Developer Mode in ChatGPT (Settings → Apps & Connectors → Advanced settings).
  2. In Settings → Connectors, click Create.
  3. Select Streamable HTTP and paste your ngrok URL with the /mcp path: https://your-id.ngrok-free.dev/mcp
  4. Name it "Fluduro" and click Create.
  5. Add the connector to a new chat and type "Start the quiz."

🤖 Tech Stack

  • Backend: Node.js with @modelcontextprotocol/sdk.
  • LLM: Groq (Llama 3.3 70B) for generating questions and analyzing traits.
  • Frontend: Vanilla HTML/CSS with Tailwind CSS (CDN) and Google Fonts.
  • Tunneling: ngrok.

📖 Key Learnings from the SDK

  • window.openai Bridge: Learned how to communicate between the widget iframe and the host.
  • Theme Sync: Used openai:set_globals to make the UI adapt to ChatGPT's Dark/Light mode.
  • Tool-Driven UI: Learned how to trigger UI changes from the model's tool outputs using structuredContent.

Conclusion

This project served as a hands-on introduction to building native-feeling apps for the ChatGPT ecosystem. It focuses on the basics of tool registration, resource handling, and state management within the OpenAI Apps framework.


📸 Visuals - Screenshots For References

WELCOME SCREEN -LIGHT MODE

Welcome Screen

WELCOME SCREEN -DARK MODE

Welcome Screen Dark Mode

QUIZ SCREEN

Quiz Screen

RESULT SCREEN

Results Screen

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured