Back to Home
andreibesleaga icon

ocm-demo

Verified Safe

by andreibesleaga

Overview

A web application and independent Model Context Protocol (MCP) server for searching EV charging stations using the Open Charge Map API, primarily designed for integration with AI tools.

Installation

Run Command
npm start

Environment Variables

  • OCM_API_KEY
  • PORT

Security Notes

The server primarily acts as a client to the `ocm-mcp` package, communicating via the Model Context Protocol. User input commands are parsed and converted into structured parameters for tool calls (e.g., `list_poi`), reducing direct command injection risks. External API calls (Nominatim, Open Charge Map) use `encodeURIComponent` for safe parameter handling. The use of `child_process.spawn` for `npx ocm-mcp` is with a fixed command, not user-controlled input. The main security consideration would be potential vulnerabilities within the `ocm-mcp` npm package itself, which is an external dependency not directly auditable in this codebase.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens5000
Stars0
Forks0
Last Update2025-12-02

Tags

EV chargingMapAIMCPOpen Charge MapNode.js