Back to Home
waalexan icon

mcp_server

Verified Safe

by waalexan

Overview

This server provides an API for AI agents and LLMs to interact with web application functionality and retrieve content, adhering to the Model Context Protocol (MCP) using Next.js.

Installation

Run Command
npm run dev

Environment Variables

  • NEXT_PUBLIC_BASE_URL
  • NODE_ENV

Security Notes

The codebase generally follows good security practices for a Next.js application. Input validation for registered tools is performed using Zod, mitigating common injection risks. User-provided data (`newValue.name` in `page.tsx`) is rendered within JSX, which automatically escapes string content, preventing Cross-Site Scripting (XSS) in that context. The `getHtmlFromPage` utility fetches content only from the application's own `baseURL`, reducing Server-Side Request Forgery (SSRF) risk. No direct use of `eval` or obvious obfuscation was found. The main security considerations would be the broader ecosystem's handling of the `text/html+skybridge` widget content and the trustworthiness of external LLM interactions.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens30
Stars0
Forks0
Last Update2025-12-19

Tags

Next.jsOpenAIModel Context ProtocolAI AgentWeb API