opedd-mcp 0.1.1 → 0.1.2

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/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
4
4
  import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
5
5
  // ─── Configuration ────────────────────────────────────────────────────────────
6
6
  const API_BASE = process.env.OPEDD_API_URL ??
7
- "https://djdzcciayennqchjgybx.supabase.co/functions/v1";
7
+ "https://api.opedd.com";
8
8
  const BUYER_EMAIL = process.env.OPEDD_BUYER_EMAIL;
9
9
  const PAYMENT_METHOD_ID = process.env.OPEDD_PAYMENT_METHOD_ID;
10
10
  const API_KEY = process.env.OPEDD_API_KEY; // publisher API key (op_...)
@@ -192,7 +192,7 @@ if (API_KEY) {
192
192
  });
193
193
  }
194
194
  // ─── MCP Server ───────────────────────────────────────────────────────────────
195
- const server = new Server({ name: "opedd-mcp", version: "0.1.0" }, { capabilities: { tools: {} } });
195
+ const server = new Server({ name: "opedd-mcp", version: "0.1.2" }, { capabilities: { tools: {} } });
196
196
  server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }));
197
197
  server.setRequestHandler(CallToolRequestSchema, async (request) => {
198
198
  const { name, arguments: args = {} } = request.params;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opedd-mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MCP server for Opedd — discover, purchase, and verify content licenses from AI assistants",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -12,7 +12,7 @@ import {
12
12
 
13
13
  const API_BASE =
14
14
  process.env.OPEDD_API_URL ??
15
- "https://djdzcciayennqchjgybx.supabase.co/functions/v1";
15
+ "https://api.opedd.com";
16
16
 
17
17
  const BUYER_EMAIL = process.env.OPEDD_BUYER_EMAIL;
18
18
  const PAYMENT_METHOD_ID = process.env.OPEDD_PAYMENT_METHOD_ID;
@@ -225,7 +225,7 @@ if (API_KEY) {
225
225
  // ─── MCP Server ───────────────────────────────────────────────────────────────
226
226
 
227
227
  const server = new Server(
228
- { name: "opedd-mcp", version: "0.1.0" },
228
+ { name: "opedd-mcp", version: "0.1.2" },
229
229
  { capabilities: { tools: {} } }
230
230
  );
231
231