Back to Home
dumitrubogdanmihai icon

simple-ai-chat-mcp-connection

Verified Safe

by dumitrubogdanmihai

Overview

A simple AI chat interface connected to an MCP server for inspecting and troubleshooting AI API requests and tool usage.

Installation

Run Command
npm run dev:all

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2026-01-18

Tags

AI ChatMCPToolingWeb ApplicationOpenAI