mcp_server
Verified Safeby waalexan
Overview
The server functions as an OpenAI agent, providing a custom content widget and tool to allow an AI to display a personalized greeting on a Next.js application's homepage.
Installation
npm startEnvironment Variables
- NEXT_PUBLIC_BASE_URL
- VERCEL_ENV
- VERCEL_PROJECT_PRODUCTION_URL
- VERCEL_BRANCH_URL
- VERCEL_URL
Security Notes
The application uses standard Next.js practices and integrates with the Model Context Protocol (MCP) SDK. Environment variables are used for base URL configuration, preventing hardcoded network risks. Client-side, the `name` value, provided by an AI tool via `window.openai.toolOutput`, is directly rendered into an `<h1>` tag. While React generally escapes string children to prevent XSS, explicit server-side sanitization of AI-generated text content is always a good practice, though less critical given the `z.string()` schema for the input name.
Similar Servers
claude-prompts-mcp
Manages hot-reloadable prompt templates, structured reasoning, and multi-step chain workflows to enhance AI assistant interactions through a Model Context Protocol (MCP) compatible server.
turn-based-game-mcp
Provides an AI opponent for turn-based games via the Model Context Protocol (MCP).
toolhive-cloud-ui
A Next.js application for visualizing Model Context Protocol (MCP) servers and providing easy URL copying for integration with AI agents.
mcp-gpt-proxy
Acts as a proxy to inject rich UI widgets from the OpenAI Apps SDK into responses from any existing Model Context Protocol (MCP) server without modifying the original server.