word-guesser-gpt-mcp
MCP server for a Wordle-style five-letter word guessing game playable in ChatGPT, supporting English and Brazilian Portuguese with progress persistence.
README
Five Letters — ChatGPT word game
An interactive five-letter guessing game for ChatGPT. Players get six attempts, Wordle-style letter feedback, a physical/on-screen keyboard, and local progress persistence. The app defaults to English and selects Brazilian Portuguese when ChatGPT supplies BR in the coarse user-location hint. Players can switch languages at any time.
This is an interactive-decoupled ChatGPT app:
server/contains a stateless TypeScript MCP server.web/contains a React widget bundled into one CSP-friendly HTML resource.shared/contains game rules used by the server, widget fallback, and tests.docs/APP_REFERENCE.mdis the durable implementation/product reference.
Run locally
Requires Node.js ^20.19.0 or >=22.12.0.
npm install
npm run build
npm start
The server exposes:
- health:
http://localhost:8787/health - MCP:
http://localhost:8787/mcp
For standalone widget development, run:
npm run dev:web
Then open http://localhost:5173. Standalone mode bundles the same English and Brazilian Portuguese word lists used by the MCP server; ChatGPT mode validates guesses through the MCP tool.
Useful checks:
npm run typecheck
npm test
npm run build:web
Connect to ChatGPT
- Build and start the server locally.
- Expose port
8787through a public HTTPS tunnel, for examplengrok http 8787. - In ChatGPT, enable Developer mode under Settings → Security and login.
- Open Settings → Plugins (or
chatgpt.com/plugins), create a developer-mode app, and pastehttps://YOUR-TUNNEL.example/mcp. - Add the app to a new chat and ask: “Let’s play the five-letter word game.”
- Refresh the app in its ChatGPT settings after changing MCP tools or metadata.
No OpenAI API key is required: ChatGPT is the host and the app only exposes MCP tools plus a widget.
Current package baseline
Versions were resolved from npm on 2026-07-21 and pinned exactly for reproducibility:
| Package | Version |
|---|---|
@modelcontextprotocol/sdk |
1.29.0 |
@modelcontextprotocol/ext-apps |
1.7.4 |
@openai/apps-sdk-ui |
0.2.2 |
| React / React DOM | 19.2.8 |
| Vite | 8.1.5 |
| TypeScript | 7.0.2 |
| Zod | 4.4.3 |
| Tailwind CSS | 4.3.3 |
Official references
- Apps SDK quickstart
- Build an MCP server
- Build the ChatGPT UI
- Apps SDK examples
- Design tools
- Apps SDK reference
- Managing state
- OpenAI Apps SDK UI
Security note
npm audit --omit=dev currently reports advisories in the latest pinned MCP/UI dependency trees. The app does not use Hono's affected serve-static path or lodash's affected template/unset APIs, and there is no non-breaking upstream fix available for the Apps SDK UI lodash dependency at this baseline. Re-run the audit when upgrading dependencies and replace the pinned versions only after the build and MCP checks pass.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.