Back to Home
ombhalodiya45 icon

mcp_server

Verified Safe

by ombhalodiya45

Overview

An AI assistant backend built with Node.js that processes user chat messages, utilizes Groq's LLM for tool calling, and integrates with custom Model Context Protocol (MCP) endpoints for external tools like weather, time, currency exchange, and Wikipedia summaries.

Installation

Run Command
node index.js

Environment Variables

  • GROQ_API_KEY
  • WEATHER_API_KEY
  • PORT
  • EXCHANGE_API_KEY

Security Notes

The project uses environment variables for API keys (dotenv), which is good practice. Input validation for user messages is present. Tool arguments parsed from LLM output are handled with a try-catch block for JSON parsing. Child process spawning (mcp-http-wrapper.mjs) uses `spawn` with explicit arguments, which is safer than `exec`. No obvious direct 'eval' or malicious code patterns were found. However, like all LLM-powered applications, there's an inherent risk of the LLM generating undesirable outputs if not properly contained, and reliance on external APIs always introduces third-party security considerations.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-12-02

Tags

Node.jsAI AssistantLLMTool CallingMCPAPI