Back to Home
Gegelascience icon

my_mcp_server

by Gegelascience

Overview

A Next.js application serving as an adapter for the Model Context Protocol, exposing tools for querying public NPM package information and Ile-de-France transport traffic data.

Installation

Run Command
npm run dev

Security Notes

The `idfTraficInfo` API endpoint receives an `apikey` as a URL path parameter. This API key is directly used in HTTP headers for requests to `https://prim.iledefrance-mobilites.fr/marketplace`. Critically, the `createMcpHandler` is configured with a `basePath` that embeds this `apikey` directly into the adapter's URL (e.g., `/api/idfTraficInfo/YOUR_API_KEY/`). This exposes the sensitive API key in URLs, which can be logged by various systems (proxies, web servers, client history) and potentially intercepted. Additionally, the `apikey` is logged to the console, further increasing information leakage risk. There is no evident validation or sanitization of the `apikey` parameter itself.

Similar Servers

Stats

Interest Score0
Security Score2
Cost ClassLow
Stars0
Forks0
Last Update2025-12-06

Tags

Next.jsTypeScriptModel Context ProtocolAPI AdapterTransport TrafficNPM Info