dodopayments-mcp 2.23.0 → 2.23.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/README.md CHANGED
@@ -43,14 +43,14 @@ For clients with a configuration JSON, it might look something like this:
43
43
  If you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables
44
44
  in Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server.
45
45
 
46
- [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=dodopayments-mcp&config=eyJuYW1lIjoiZG9kb3BheW1lbnRzLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL2RvZG8tcGF5bWVudHMuc3RsbWNwLmNvbSIsImhlYWRlcnMiOnsieC1kb2RvLXBheW1lbnRzLWFwaS1rZXkiOiJNeSBCZWFyZXIgVG9rZW4ifX0)
46
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=dodopayments-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImRvZG9wYXltZW50cy1tY3AiXSwiZW52Ijp7IkRPRE9fUEFZTUVOVFNfQVBJX0tFWSI6Ik15IEJlYXJlciBUb2tlbiIsIkRPRE9fUEFZTUVOVFNfV0VCSE9PS19LRVkiOiJNeSBXZWJob29rIEtleSJ9fQ)
47
47
 
48
48
  ### VS Code
49
49
 
50
50
  If you use MCP, you can install the MCP server by clicking the link below. You will need to set your environment variables
51
51
  in VS Code's `mcp.json`, which can be found via Command Palette > MCP: Open User Configuration.
52
52
 
53
- [Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22dodopayments-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdodo-payments.stlmcp.com%22%2C%22headers%22%3A%7B%22x-dodo-payments-api-key%22%3A%22My%20Bearer%20Token%22%7D%7D)
53
+ [Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22dodopayments-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22dodopayments-mcp%22%5D%2C%22env%22%3A%7B%22DODO_PAYMENTS_API_KEY%22%3A%22My%20Bearer%20Token%22%2C%22DODO_PAYMENTS_WEBHOOK_KEY%22%3A%22My%20Webhook%20Key%22%7D%7D)
54
54
 
55
55
  ### Claude Code
56
56
 
@@ -58,7 +58,7 @@ If you use Claude Code, you can install the MCP server by running the command be
58
58
  environment variables in Claude Code's `.claude.json`, which can be found in your home directory.
59
59
 
60
60
  ```
61
- claude mcp add dodopayments_mcp_api --header "x-dodo-payments-api-key: My Bearer Token" --transport http https://dodo-payments.stlmcp.com
61
+ claude mcp add dodopayments_mcp_api --env DODO_PAYMENTS_API_KEY="My Bearer Token" DODO_PAYMENTS_WEBHOOK_KEY="My Webhook Key" -- npx -y dodopayments-mcp
62
62
  ```
63
63
 
64
64
  ## Code Mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dodopayments-mcp",
3
- "version": "2.23.0",
3
+ "version": "2.23.2",
4
4
  "description": "The official MCP Server for the Dodo Payments API",
5
5
  "author": "Dodo Payments <support@dodopayments.com>",
6
6
  "types": "./index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "fix": "eslint --fix --ext ts,js ."
28
28
  },
29
29
  "dependencies": {
30
- "dodopayments": "^2.23.0",
30
+ "dodopayments": "^2.23.2",
31
31
  "@cloudflare/cabidela": "^0.2.4",
32
32
  "@modelcontextprotocol/sdk": "^1.26.0",
33
33
  "@valtown/deno-http-worker": "^0.0.21",
package/server.js CHANGED
@@ -18,7 +18,7 @@ const methods_1 = require("./methods.js");
18
18
  const util_1 = require("./util.js");
19
19
  const newMcpServer = async (stainlessApiKey) => new mcp_js_1.McpServer({
20
20
  name: 'dodopayments_api',
21
- version: '2.23.0',
21
+ version: '2.23.2',
22
22
  }, {
23
23
  instructions: await (0, instructions_1.getInstructions)(stainlessApiKey),
24
24
  capabilities: { tools: {}, logging: {} },
package/server.mjs CHANGED
@@ -9,7 +9,7 @@ import { blockedMethodsForCodeTool } from "./methods.mjs";
9
9
  import { readEnv } from "./util.mjs";
10
10
  export const newMcpServer = async (stainlessApiKey) => new McpServer({
11
11
  name: 'dodopayments_api',
12
- version: '2.23.0',
12
+ version: '2.23.2',
13
13
  }, {
14
14
  instructions: await getInstructions(stainlessApiKey),
15
15
  capabilities: { tools: {}, logging: {} },
package/src/server.ts CHANGED
@@ -21,7 +21,7 @@ export const newMcpServer = async (stainlessApiKey: string | undefined) =>
21
21
  new McpServer(
22
22
  {
23
23
  name: 'dodopayments_api',
24
- version: '2.23.0',
24
+ version: '2.23.2',
25
25
  },
26
26
  {
27
27
  instructions: await getInstructions(stainlessApiKey),