@porkbunllc/mcp-server 0.1.0 → 0.1.1

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/dist/tools.js +3 -3
  2. package/package.json +1 -1
package/dist/tools.js CHANGED
@@ -10,7 +10,7 @@ const ping = {
10
10
  };
11
11
  const check_domain = {
12
12
  name: "check_domain",
13
- description: "Check whether a single domain is available for registration and what it costs. Returns availability, registration price, renewal price, transfer price, and (for premium domains) extended pricing details. Pricing is in USD. Use this BEFORE register_domain to confirm cost — Porkbun rejects registrations whose `cost` doesn't match the current quote.",
13
+ description: "Check whether a single domain is available for registration and what it costs. Returns availability (`avail: yes|no`), registration price, renewal price, transfer price, and (for premium domains) extended pricing details. Pricing is in USD. Use this BEFORE register_domain to confirm cost — Porkbun rejects registrations whose `cost` doesn't match the current quote.",
14
14
  inputSchema: {
15
15
  domain: z
16
16
  .string()
@@ -19,8 +19,8 @@ const check_domain = {
19
19
  },
20
20
  handler: async (config, args) => {
21
21
  const domain = String(args.domain).toLowerCase();
22
- return await call(config, `/domain/checkSingleDomain/${encodeURIComponent(domain)}`, {
23
- method: "GET",
22
+ return await call(config, `/domain/checkDomain/${encodeURIComponent(domain)}`, {
23
+ method: "POST",
24
24
  });
25
25
  },
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porkbunllc/mcp-server",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Porkbun MCP server — exposes the Porkbun v3 API as tools for AI agents (Claude Desktop, Cursor, etc.)",
5
5
  "type": "module",
6
6
  "bin": {