@blockrun/mcp 0.21.1 → 0.21.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 +31 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -850,7 +850,7 @@ Notable modes:
|
|
|
850
850
|
- mode:"free" \u2192 NVIDIA models (no cost)
|
|
851
851
|
- routing:"smart" \u2192 auto-select via ClawRouter
|
|
852
852
|
|
|
853
|
-
Pick directly: model:"zai/glm-5", model:"openai/o3", model:"nvidia/deepseek-
|
|
853
|
+
Pick directly: model:"zai/glm-5", model:"openai/o3", model:"nvidia/deepseek-v4-flash" (free).
|
|
854
854
|
|
|
855
855
|
Run blockrun_models to see all 41+ models with pricing.`,
|
|
856
856
|
inputSchema: {
|
|
@@ -3179,6 +3179,36 @@ function warnOnLeakedKeys() {
|
|
|
3179
3179
|
var { version: VERSION } = JSON.parse(
|
|
3180
3180
|
readFileSync(new URL("../package.json", import.meta.url), "utf-8")
|
|
3181
3181
|
);
|
|
3182
|
+
function printHelp() {
|
|
3183
|
+
process.stdout.write(
|
|
3184
|
+
[
|
|
3185
|
+
"BlockRun MCP Server",
|
|
3186
|
+
"",
|
|
3187
|
+
"Usage:",
|
|
3188
|
+
" blockrun-mcp [options]",
|
|
3189
|
+
"",
|
|
3190
|
+
"Options:",
|
|
3191
|
+
" -h, --help Show this help message",
|
|
3192
|
+
" -v, --version Print the package version",
|
|
3193
|
+
"",
|
|
3194
|
+
"When no metadata flag is provided, the server starts on stdio for MCP clients.",
|
|
3195
|
+
""
|
|
3196
|
+
].join("\n")
|
|
3197
|
+
);
|
|
3198
|
+
}
|
|
3199
|
+
function handleCliMetadataFlags(argv) {
|
|
3200
|
+
const args = argv.slice(2);
|
|
3201
|
+
if (args.includes("--version") || args.includes("-v")) {
|
|
3202
|
+
process.stdout.write(`${VERSION}
|
|
3203
|
+
`);
|
|
3204
|
+
process.exit(0);
|
|
3205
|
+
}
|
|
3206
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
3207
|
+
printHelp();
|
|
3208
|
+
process.exit(0);
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
handleCliMetadataFlags(process.argv);
|
|
3182
3212
|
async function checkForUpdate() {
|
|
3183
3213
|
try {
|
|
3184
3214
|
const resp = await fetch("https://registry.npmjs.org/@blockrun/mcp/latest", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockrun/mcp",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.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",
|