Skip to content
Data
Skill

/blockrun-upgrade

Use when the BlockRun MCP server prints 'Update available', when asked to upgrade, update, or pin @blockrun/mcp, when a fix 'should be in the new version' but the client still runs the old one, when refreshing skills that were copied into a project, or when rolling back to a

From plugin
blockrun-mcp
39017 skills

Claude Code

$ npx -y skills add BlockRunAI/blockrun-mcp --skill blockrun-upgrade --agent claude-code

SKILL.md

blockrun-upgrade.SKILL.md
name: blockrun-upgrade
description: "Use when the BlockRun MCP server prints 'Update available', when asked to upgrade, update, or pin @blockrun/mcp, when a fix 'should be in the new version' but the client still runs the old one, when refreshing skills that were copied into a project, or when rolling back to a previous version."
triggers:
  - "update available blockrun"
  - "upgrade blockrun"
  - "update blockrun mcp"
  - "blockrun new version"
  - "still on old version"
  - "pin blockrun version"
  - "rollback blockrun"
  - "update blockrun skills"

Upgrading BlockRun MCP

The server is run by `npx`, so "upgrading" means making npx fetch a newer version and the client restart into it. Which of those two is the problem depends on how it was installed.

1. Read how it was installed

claude mcp get blockrun          # registered command + args + env + scope
npm view @blockrun/mcp version   # what "latest" is on the registry right now

| Registered spec | What happens at each client start | |---|---| | `npx -y @blockrun/mcp@latest` | npx re-resolves `latest` against the registry and downloads if newer. **A client restart is the upgrade.** | | `npx -y @blockrun/mcp` (no tag) | npx reuses whatever is in `~/.npm/_npx` — the version from the day it was installed. Restarting changes nothing. | | `npx -y @blockrun/mcp@0.39.2` | Pinned on purpose. Only changes if you re-register. |

The startup notice is the server telling you it is not on `latest`:

[BlockRun] Update available: v0.39.2 → v0.42.0
[BlockRun] Run: claude mcp add blockrun -s user -- npx -y @blockrun/mcp@latest

2. Upgrade

**Registered with `@latest`:** restart the client. Done. If the notice persists, the cache is stale or the registry was unreachable at start:

rm -rf ~/.npm/_npx          # safe — it is only a download cache

then restart again.

**Registered without a tag, or pinned:** re-register with `@latest`. `claude mcp add` refuses a name that already exists, so remove first — at the scope `claude mcp get` reported — and carry every env var and flag it printed across, one `-e` each, flags after the package:

claude mcp remove blockrun -s user
claude mcp add blockrun -s user \
  -e PATH="$PATH" -e BLOCKRUN_KEYCHAIN=auto -e BLOCKRUN_CONFIRM_SPEND=on \
  -- npx -y @blockrun/mcp@latest --profile trading

Codex: `codex mcp remove blockrun` then `codex mcp add blockrun -- npx -y @blockrun/mcp@latest`. JSON clients (Claude Desktop / Cursor / Windsurf): edit `args` to `["-y", "@blockrun/mcp@latest"]`.

Then quit and relaunch the client (Claude Code: `/mcp reconnect blockrun` respawns just this server). A running session keeps the old process until you do.

3. Prove the version

npx -y @blockrun/mcp@latest --version     # what npx would launch now, e.g. 0.42.0

That proves what npx *would* launch. What the client *is* running is the server's startup line on stderr — `BlockRun MCP Server started (v0.42.0) — stdio transport — 20 tools` (Claude Code: `claude --debug` or the MCP log; `/mcp` shows connection status, not the version). If the two disagree, the client was not restarted; the stderr line wins. No `Update available` line after it = you are current.

4. What can break

Read the **CHANGELOG** for the versions you are crossing: <https://github.com/BlockRunAI/blockrun-mcp/blob/main/CHANGELOG.md>. Each entry explains the behaviour change, not just the diff. Things that have changed across versions and are worth checking:

  • **Tool set / profiles** — `--profile` names and tool membership; a trimmed profile

may gain or lose a tool.

  • **Env-var semantics** — the kind of change to look for: `BLOCKRUN_KEYCHAIN` arrived in

0.41; `BLOCKRUN_CONFIRM_SPEND` widened from one tool to all paid tools in 0.43. Read the entries for the versions *you* cross and re-check `claude mcp get blockrun` env against the README Configuration table.

  • **Wallet file precedence** — `BLOCKRUN_WALLET_KEY` → agent `wallet.json` →

`~/.blockrun/.session`. An upgrade never moves or rewrites the key; if a balance "disappears", the signer changed, not the funds. `blockrun_wallet` prints the address.

  • **Polymarket approvals** — new adapter grants are added over time. After an upgrade,

`blockrun_polymarket action:"setup" confirm:true` once before trading: idempotent and gasless, but it signs on-chain approvals, so say so to the user before running it.

Your USDC and keys are in `~/.blockrun/`, not in the package. Upgrading cannot lose them.

5. Refresh copied skills

Skills copied into a project or user directory do **not** update with the package. Marketplace-installed skills (`/plugin marketplace add BlockRunAI/blockrun-mcp`) refresh with `/plugin marketplace update blockrun-mcp` followed by `/reload-plugins` (or uninstall + `/plugin install <skill>@blockrun-mcp`). For copied ones, re-run the install with `--force` — it overwrites the files the package ships and leaves any other files in those directories alone:

ls .claude/skills ~/.claude/skills 2>/dev/null                 # where were they copied?
npx -y @blockrun/mcp@latest skills list                       # what this version ships
npx -y @blockrun/mcp@latest skills install --force            # ./.claude/skills
npx -y @blockrun/mcp@latest skills install --global --force   # ~/.claude/skills

`--force` replaces the shipped files. If the user edited their copies, diff before overwriting: `skills install --to /tmp/br-skills` and `diff -r /tmp/br-skills .claude/skills`.

Rollback

Pin the previous version and restart:

claude mcp remove blockrun -s user
claude mcp add blockrun -s user -e PATH="$PATH" -- npx -y @blockrun/mcp@0.41.1

Versions: <https://www.npmjs.com/package/@blockrun/mcp?activeTab=versions>. Report what broke at <https://github.com/BlockRunAI/blockrun-mcp/issues> with the two version numbers.

Common mistakes

| Mistake | Reality | |---|---| | `npm install -g @blockrun/mcp` to

Read more
@blockrunai
Ships withblockrun-mcp

Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-call via x402 micropayments.

Stars on GitHub

Momentum

stars in total
390
Star history of BlockRunAI/blockrun-mcp on GitHub, a chart by star-history.com

Other skills on blockrun-mcp.

blockrun-debug

blockrun-debug

Use when the BlockRun MCP server (@blockrun/mcp) is installed but misbehaving — 'Failed to connect', spawn npx ENOENT, blockrun…

blockrun-setup

blockrun-setup

Use when asked to install, add, configure, or set up the BlockRun MCP server (@blockrun/mcp) in Claude Code, Claude Desktop,…

blockrun

blockrun

Pay-per-call access to AI models, real-time data, media generation and multi-chain RPC over x402 micropayments (USDC on Base,…

crypto-data

crypto-data

Use for any crypto data question — token/coin prices, FX, commodities, stocks, OHLC history, DEX pairs and liquidity, DeFi TVL,…

decide

decide

Use when the user wants typed judgments over their own data from Claude Code — yes/no probabilities, a labelled choice, or a…

exa-research

exa-research

Use when researching products, finding academic papers, discovering competitors, reading webpage content, or getting cited…

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem06d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog12d41k
@posthog@posthogInstall Skill

Questions about blockrun-upgrade.

Which coding agents can use blockrun-upgrade?
blockrun-upgrade installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.