@powerfm/libretime-mcp 0.1.5 → 0.1.6

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
@@ -86,14 +86,17 @@ Clone the repo, create a `.env` file with your credentials (see [Development](#d
86
86
  "mcpServers": {
87
87
  "libretime": {
88
88
  "command": "node",
89
- "args": ["/absolute/path/to/libretime-mcp/dist/stdio/admin.js"]
89
+ "args": ["/absolute/path/to/libretime-mcp/dist/stdio/admin.js"],
90
+ "env": {
91
+ "LIBRETIME_URL": "https://your-instance.example.com",
92
+ "LIBRETIME_USER": "user",
93
+ "LIBRETIME_PASS": "pass"
94
+ }
90
95
  }
91
96
  }
92
97
  }
93
98
  ```
94
99
 
95
- No `env` block needed — credentials are loaded automatically from `.env`.
96
-
97
100
  ## Option 2 — Self-hosted HTTP server
98
101
 
99
102
  Best for advanced setups — connect any MCP-compatible client over the network.
@@ -3,7 +3,6 @@
3
3
  // Exposes POST /mcp using MCP Streamable HTTP transport.
4
4
  // Requires Authorization: Bearer <MCP_API_KEY> on every request.
5
5
  // Intended for network clients (e.g. powerfm-agent). For Claude Desktop use stdio/admin.ts.
6
- import './env.js';
7
6
  import { createRequire } from 'module';
8
7
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
9
8
  import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
@@ -3,7 +3,6 @@
3
3
  // Exposes POST /mcp using MCP Streamable HTTP transport.
4
4
  // Requires Authorization: Bearer <MCP_API_KEY> on every request.
5
5
  // Intended for network clients. For Claude Desktop use stdio/client.ts.
6
- import './env.js';
7
6
  import { createRequire } from 'module';
8
7
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
9
8
  import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import './env.js';
3
2
  import { createRequire } from 'module';
4
3
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
5
4
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import './env.js';
3
2
  import { createRequire } from 'module';
4
3
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
5
4
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerfm/libretime-mcp",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "MCP server for LibreTime radio station — connect Claude to your broadcast schedule, media library, and analytics",