ocm-demo
Verified Safeby 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
npm startEnvironment 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
mcp-server-elasticsearch
Connects Model Context Protocol (MCP) clients to Elasticsearch instances, enabling natural language queries and interactions with Elasticsearch indices and data.
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
mcp-openapi-server
A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources, enabling Large Language Models to interact with REST APIs.
opensearch-mcp-server-py
Enables AI assistants and LLMs to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface through built-in and dynamic tools.