@blockrun/mcp 0.21.0 → 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 +37 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -231,11 +231,14 @@ var MODEL_TIERS = {
|
|
|
231
231
|
fast: ["google/gemini-3.5-flash", "google/gemini-2.5-flash", "google/gemini-3.1-flash-lite", "openai/gpt-5-mini", "deepseek/deepseek-chat", "google/gemini-3-flash-preview"],
|
|
232
232
|
balanced: ["openai/gpt-5.5", "anthropic/claude-sonnet-4.6", "google/gemini-3.1-pro", "moonshot/kimi-k2.6", "openai/gpt-5.3", "openai/gpt-5.4"],
|
|
233
233
|
powerful: ["anthropic/claude-opus-4.8", "openai/gpt-5.4-pro", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.6", "openai/o3", "openai/gpt-5.4"],
|
|
234
|
-
cheap: ["zai/glm-5", "zai/glm-5-turbo", "nvidia/gpt-oss-120b", "nvidia/deepseek-
|
|
234
|
+
cheap: ["zai/glm-5", "zai/glm-5-turbo", "nvidia/gpt-oss-120b", "nvidia/deepseek-v4-flash", "google/gemini-2.5-flash", "deepseek/deepseek-chat", "openai/gpt-5.4-nano"],
|
|
235
235
|
reasoning: ["anthropic/claude-opus-4.8", "openai/o3", "openai/o1", "openai/o3-mini", "deepseek/deepseek-reasoner", "moonshot/kimi-k2.6", "openai/gpt-5.3-codex"],
|
|
236
|
-
|
|
236
|
+
// 2026-06-07 sweep: dropped qwen3-next (NVIDIA EOL, 410), mistral-small-4-119b
|
|
237
|
+
// (timing out), deepseek-v3.2 + glm-4.7 (NIM hung). All redirect server-side
|
|
238
|
+
// anyway; these are the free models actually serving themselves.
|
|
239
|
+
free: ["nvidia/llama-4-maverick", "nvidia/qwen3-coder-480b", "nvidia/deepseek-v4-flash", "nvidia/gpt-oss-120b", "nvidia/gpt-oss-20b"],
|
|
237
240
|
coding: ["anthropic/claude-opus-4.8", "zai/glm-5", "openai/gpt-5.3-codex", "moonshot/kimi-k2.6", "nvidia/qwen3-coder-480b", "anthropic/claude-sonnet-4.6", "openai/gpt-5.4"],
|
|
238
|
-
glm: ["zai/glm-5", "zai/glm-5-turbo"
|
|
241
|
+
glm: ["zai/glm-5", "zai/glm-5-turbo"]
|
|
239
242
|
};
|
|
240
243
|
|
|
241
244
|
// src/utils/qr.ts
|
|
@@ -847,7 +850,7 @@ Notable modes:
|
|
|
847
850
|
- mode:"free" \u2192 NVIDIA models (no cost)
|
|
848
851
|
- routing:"smart" \u2192 auto-select via ClawRouter
|
|
849
852
|
|
|
850
|
-
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).
|
|
851
854
|
|
|
852
855
|
Run blockrun_models to see all 41+ models with pricing.`,
|
|
853
856
|
inputSchema: {
|
|
@@ -3176,6 +3179,36 @@ function warnOnLeakedKeys() {
|
|
|
3176
3179
|
var { version: VERSION } = JSON.parse(
|
|
3177
3180
|
readFileSync(new URL("../package.json", import.meta.url), "utf-8")
|
|
3178
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);
|
|
3179
3212
|
async function checkForUpdate() {
|
|
3180
3213
|
try {
|
|
3181
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",
|