simple-ai-chat-mcp-connection
Verified Safeby dumitrubogdanmihai
Overview
A simple AI chat interface connected to an MCP server for inspecting and troubleshooting AI API requests and tool usage.
Installation
npm run dev:allEnvironment Variables
- PORT (for the local MCP server, defaults to 3001 if not set)
Security Notes
The application handles the OpenAI API key client-side, sending it directly to OpenAI and not storing it, which is a good practice. The MCP server configuration and tool arguments are parsed from JSON inputs (from UI or LLM responses); while a malformed input could cause runtime errors, there are no obvious direct code injection vulnerabilities due to this parsing in the current browser-based context. The local MCP server implements basic tools with input validation using Zod.
Similar Servers
inspector
Local development and debugging platform for Model Context Protocol (MCP) clients and servers, including proxying MCP server interactions, simulating UI widgets, and facilitating OAuth flows. It enables building, testing, and developing MCP clients and servers.
inspector
An interactive developer tool for testing, debugging, and monitoring MCP (Model Context Protocol) servers, including their tools, prompts, resources, and UI widgets.
MCP-buddy
A local desktop or web application to manage and interact with multiple MCP (Model Context Protocol) servers, offering optional AI orchestration and enhancement for responses.
hoot
A testing and development tool for interacting with and debugging MCP (Multi-Modal Chat Protocol) servers, functioning like a specialized Postman for AI services.