Back to Home
VanshTheJudged icon

mcp-server

Verified Safe

by VanshTheJudged

Overview

This server implements the Model Context Protocol (MCP) to expose company data as tools and UI resources for use by AI models, enabling structured data search and profile rendering.

Installation

Run Command
node index.js

Environment Variables

  • PORT

Security Notes

The server handles requests to search and retrieve company data from a local CSV file. The `applyFilters` function safely handles user input by explicitly converting values to strings or numbers before comparison, mitigating direct code injection risks. File path constructions use `path.join(__dirname, ...)` which helps prevent path traversal vulnerabilities when serving HTML resources. No `eval` or similar direct code execution methods are observed. The `cors` policy is set to `origin: "*"`, allowing requests from any origin, which is common for public APIs or development, but should be noted if sensitive data is ever processed and tighter origin controls are needed. No hardcoded secrets (API keys, database credentials) are found. The server implements robust error handling for unknown MCP methods or tools. Rate limiting is not explicitly used on the main `/mcp` endpoint in the provided code, which could be a consideration for a production environment.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars0
Forks0
Last Update2025-11-25

Tags

MCPAPIExpress.jsCompany DataAI ToolsCSV ProcessingNode.js