mcp-server-metrics
Verified Safeby commercelayer
Overview
This MCP server provides a local implementation with a suite of metrics tools for Commerce Layer data analysis, enabling extraction of data from order, return, or cart history.
Installation
node dist/server/index.jsEnvironment Variables
- CL_CLIENT_ID
- CL_CLIENT_SECRET
- CL_DOMAIN
- MCPC_CL_CLIENT_ID
- MCPC_CL_SCOPE
Security Notes
The server handles API credentials (client_id, client_secret) securely by requiring them as environment variables, preventing hardcoding. Network requests are made using standard 'fetch' to the Commerce Layer API. Local file system access is limited to reading static documentation files within the project, posing minimal risk. No 'eval' or direct 'child_process' execution is observed. Authentication tokens are verified with `jwtVerify`.
Similar Servers
jetski
Jetski is an open-source platform providing analytics, authentication, and simplified client setup for Model Context Protocol (MCP) servers by acting as a proxy.
mcpcat-typescript-sdk
This SDK integrates analytics and telemetry capabilities into existing Model Context Protocol (MCP) servers, capturing user intentions, tool usage, and error patterns.
mcpcat-python-sdk
An analytics and observability SDK for Multi-modal Conversational Platform (MCP) servers, capturing user behavior and tool interactions for product development and debugging.
prometheus-mcp
A Model Context Protocol (MCP) server that enables AI agents and CLI users to query and discover metrics from Prometheus, with built-in features like retries, caching, and an optional metrics exporter.