timetable-api-node 1.8.28 → 1.8.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.ts +10 -0
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -382,6 +382,16 @@ app.get("/.well-known/glama.json", (req, res) => {
382
382
  res.sendFile(path.join(__dirname, "glama.json"));
383
383
  });
384
384
 
385
+ // LightNow domain verification: it fetches this file and matches the token.
386
+ // Not a secret; it only proves we control api.lad.lviv.ua.
387
+ app.get("/.well-known/mcp-verification.json", (req, res) => {
388
+ setStaticAssetCache(res, 3600);
389
+ res.json({
390
+ domain: "api.lad.lviv.ua",
391
+ token: "lightnow-verification=f50180ae-d04c-4c22-a35b-d6c43ac4890d",
392
+ });
393
+ });
394
+
385
395
  // ChatGPT plugin directory domain check: the portal reads this exact token as plain
386
396
  // text before it lets the MCP server be submitted. Not a secret; it only proves we
387
397
  // control api.lad.lviv.ua.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "timetable-api-node",
3
- "version": "1.8.28",
3
+ "version": "1.8.30",
4
4
  "description": "Lviv (Ukraine) public transport REST API and read-only Model Context Protocol (MCP) server: stops, timetables, routes, live vehicle positions, GTFS/GTFS-RT. No API key required.",
5
5
  "mcpName": "io.github.vbhjckfd/timetable-api-node",
6
6
  "main": "index.ts",