@powerfm/libretime-mcp 0.1.6 → 0.2.0

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.
package/README.md CHANGED
@@ -16,7 +16,7 @@ Tools are organised into subdirectories under `src/tools/` — one file per tool
16
16
  - `get_stream_state` — current on-air state
17
17
 
18
18
  **Analytics (admin)**
19
- - `get_listener_counts`listener stats by mount point
19
+ - ~~`get_listener_counts`~~disabled (API returns full history with no filtering, ~120k records)
20
20
  - `get_playout_history` — recent playout history with track metadata
21
21
 
22
22
  **Media library (admin)**
@@ -113,6 +113,7 @@ LIBRETIME_USER=your_api_username
113
113
  LIBRETIME_PASS=your_api_password
114
114
  MCP_API_KEY=your_secret_api_key # clients must send this as a Bearer token
115
115
  MCP_PORT=3000 # optional, defaults to 3000 (admin) / 3001 (client)
116
+ CORS_ORIGIN=https://your-app.example.com # optional, lock CORS to a specific origin (default: reflect any)
116
117
  ```
117
118
 
118
119
  Generate a random API key: