Back to Home
waalexan icon

mcp_server

Verified Safe

by 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

Run Command
npm start

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-12-04

Tags

OpenAI AgentNext.jsWeb WidgetModel Context ProtocolPersonalized Content