@blockrun/mcp 0.19.0 → 0.19.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
@@ -96,11 +96,6 @@ ensures `-y` is passed to `npx`, not parsed by `claude mcp add`.
96
96
  }
97
97
  ```
98
98
 
99
- **Hosted (no install, always latest)**
100
- ```bash
101
- claude mcp add blockrun -s user --transport http https://mcp.blockrun.ai/mcp
102
- ```
103
-
104
99
  **Cursor** — add to `~/.cursor/mcp.json` (macOS / Linux) or `%APPDATA%\Cursor\mcp.json` (Windows):
105
100
  ```json
106
101
  {
package/dist/index.js CHANGED
@@ -338,8 +338,9 @@ ${parts.join("\n")}`;
338
338
  }
339
339
  function formatError(message) {
340
340
  const msgLower = message.toLowerCase();
341
- const isPaymentError = msgLower.includes("402") || msgLower.includes("balance") || msgLower.includes("insufficient") || msgLower.includes("payment") && !msgLower.includes("500");
342
- const isServerError = msgLower.includes("500") || msgLower.includes("api error after payment");
341
+ const hasStatus = (code) => new RegExp(`(^|[^0-9.])${code}([^0-9]|$)`).test(msgLower);
342
+ const isPaymentError = hasStatus("402") || msgLower.includes("balance") || msgLower.includes("insufficient") || msgLower.includes("payment") && !hasStatus("500");
343
+ const isServerError = hasStatus("500") || msgLower.includes("api error after payment");
343
344
  let errorText = `Error: ${message}`;
344
345
  if (isServerError) {
345
346
  errorText += `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/mcp",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "mcpName": "io.github.BlockRunAI/blockrun-mcp",
5
5
  "description": "BlockRun MCP Server - Give your AI agent web search, deep research, prediction markets, crypto data, X/Twitter intelligence. Paid via x402 micropayments.",
6
6
  "type": "module",