Skip to content

Update mcp server#45

Merged
Will-Guan merged 2 commits intomainfrom
update-mcp-server
Apr 23, 2026
Merged

Update mcp server#45
Will-Guan merged 2 commits intomainfrom
update-mcp-server

Conversation

@jizhen181-dot
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

Code Review Report

Project: BofAI/docs
PR: mainupdate-mcp-server
Review Date: 2026-04-22
Reviewer: AI Code Reviewer (Code Review Skill v1.0.0)


PR Overview

Branch Information

Property Value
From Branch origin/main
To Branch origin/update-mcp-server
Commits 11
Files Changed 20
Lines Added +517
Lines Removed -128

Commit History

Hash Message
d2aabee update skills
33d223b update x402
a71537b Merge pull request #44 from BofAI/ai-bankofai-patch-1
2db802b Merge branch 'main' into ai-bankofai-patch-1
7bcc88a add version
e033ceb Sync Claude model pricing docs
a672767 Update claude-opus-4-6.md
eb3b466 Update claude-opus-4-6.md
4896eb6 Update pricing-and-usage.md
d240738 Update pricing-and-usage.md
cfdff7f Merge pull request #43 from BofAI/update-mcp-server

Note: This is a documentation-only PR. All 20 changed files are Markdown documents under docs/ and i18n/zh-Hans/. No source code, configuration logic, or test files are modified.


Review Summary

Verdict

Verdict: Request Changes

Findings at a Glance

Critical Major Minor Suggestion
Count 0 2 4 3

Summary

This PR updates the MCP Server Skills documentation across two commit batches: the first batch (update x402) expands the x402 payment protocol docs with BSC v2 interoperability details, new tokens (USDC, EPS, DHLU), and clarifies ERC-3009 requirements; the second batch (update skills) overhauls the Skills installation guide — renaming the install path from ~/.openclaw/skills to ~/.agents/skills, bumping the skill count from 8 to 11 (adding bankofai-guide, trx-staking-sr-voting, usdd-just-protocol), renaming skills to their full canonical names, and documenting a new installation plan / symlink step. All English changes are mirrored in the i18n/zh-Hans Chinese localization.

The documentation is generally high quality — technically precise, well-structured, and rich with concrete examples. Two major issues require attention before merge: the silent breaking change in the skills install path (no migration guidance for existing users), and a required Node.js version bump (18+ → 20+) that is inconsistently applied across documents. Four minor issues cover an undocumented token, risk-rating context gaps, a missing canonical note about the EPS token, and symlink security implications. Three suggestions address style improvements and completeness.


Change Summary

Group 1 — x402 Protocol Documentation Updates

File Change Type Description
docs/x402/core-concepts/network-and-token-support.md Modified Added USDC, EPS, DHLU token entries; clarified exact scheme v2 wire format
docs/x402/faq.md Modified Added FAQ section on x402 Foundation v2 interoperability; added USDC/EPS/DHLU to network table
docs/x402/index.md Modified Added v0.5.9 protocol interoperability callout block
docs/x402/sdk-features.md Modified Added USDC (BEP-20) and DHLU token rows to the token support matrix
docs/x402/getting-started/quickstart-for-human.md Modified Bumped Node.js prerequisite from 18+ to 20+
(zh-Hans mirrors of the above) Modified Identical content in Chinese localization

Purpose: Documents that the exact payment scheme now conforms to the x402 Foundation (formerly Coinbase) v2 wire format since SDK v0.5.9, enabling bidirectional interoperability. Adds BSC tokens USDC, EPS, and DHLU (testnet interop token), and clarifies that BSC USDT must not be used with the exact scheme.


Group 2 — Skills Installation & Catalog Documentation Overhaul

File Change Type Description
docs/McpServer-Skills/SKILLS/QuickStart.md Modified Install path rename; 8→11 skills; new Installation Summary step; updated security scan table
docs/McpServer-Skills/SKILLS/BANKOFAISkill.md Modified New bankofai-guide section; expanded agent-wallet/sunswap/sunperp/x402-payment descriptions
docs/McpServer-Skills/SKILLS/Faq.md Modified Path rename (~/.openclaw~/.agents); full skill name updates; new env vars
docs/McpServer-Skills/SKILLS/Intro.md Modified Skill count 10→11; added bankofai-guide section; precision improvements
docs/BANK-OF-AI/QuickStart.md Modified Brand name fix: "BankOfAI" → "BANK OF AI"
(zh-Hans mirrors of the above) Modified Identical content in Chinese localization

Purpose: Reflects a renamed install layout (skills now live at ~/.agents/skills/ instead of ~/.openclaw/skills/), three new skills added to the catalog, detailed onboarding documentation for the new bankofai-guide skill, and an additional installer step showing the installation plan with universal vs. symlink breakdown.


Detailed Findings


Major

[MJ-01] Silent Breaking Change — Install Path Rename With No Migration Guide

Property Value
Severity Major
Category Correctness / Documentation
File docs/McpServer-Skills/SKILLS/Faq.md : Lines 11–17, 37–47; docs/McpServer-Skills/SKILLS/QuickStart.md throughout

Description

The docs silently rename the skills install root from ~/.openclaw/skills/ to ~/.agents/skills/ across every guide, code block, and troubleshooting step. Existing users who followed the old documentation will still have skills at ~/.openclaw/skills/. There is no migration note, upgrade notice, or mv command to help them move to the new path.

This means returning users following the updated docs will be pointed to paths that don't exist on their machines, leading to a confusing "skill not found" experience. The uninstall example (rm -rf ~/.agents/skills/sunswap-dex-trading) will silently no-op for users who have files at the old location.

Code

-1. Does the skill directory exist? Run `ls ~/.openclaw/skills` in your terminal.
-2. Are dependencies installed? Go to the skill folder and run `npm install` (e.g., `cd ~/.openclaw/skills/tronscan-skill && npm install`).
+1. Does the skill directory exist? Run `ls ~/.agents/skills` in your terminal.
+2. Are dependencies installed? Go to the skill folder and run `npm install` (e.g., `cd ~/.agents/skills/tronscan-data-lookup && npm install`).

Recommendation

Add a migration callout block near the top of QuickStart.md and Faq.md, e.g.:

:::caution Upgrading from a previous installation?
The skills directory has moved from `~/.openclaw/skills/` to `~/.agents/skills/`.
If you already have skills installed, migrate them with:
```bash
mkdir -p ~/.agents/skills
mv ~/.openclaw/skills/* ~/.agents/skills/

Then re-run npx skills add BofAI/skills to verify and update.
:::


---

#### [MJ-02] Node.js Version Bump (18+ → 20+) Applied Inconsistently

| Property | Value |
|----------|-------|
| **Severity** | Major |
| **Category** | Correctness / Documentation |
| **File** | `docs/x402/getting-started/quickstart-for-human.md` : Line 27; `docs/McpServer-Skills/SKILLS/BANKOFAISkill.md` : Lines 42, 133 |

**Description**

> The PR upgrades the Node.js prerequisite to 20+ in at least two specific places (the x402 quickstart checklist and the `agent-wallet` / `x402-payment` caution blocks in `BANKOFAISkill.md`), but the top-level **Skills QuickStart** (`docs/McpServer-Skills/SKILLS/QuickStart.md`) and the **FAQ** do not mention Node.js at all, and the **Intro** page does not reflect the new requirement. A user following the main QuickStart without reading the individual skill pages will not learn about the Node.js 20 requirement until they encounter a runtime failure.
>
> Node.js 18 reached End-of-Life in April 2025; requiring 20+ is correct, but the requirement must be surfaced consistently in every prerequisite/checklist section.

**Code**

```diff
-# docs/x402/getting-started/quickstart-for-human.md
-- [ ] **Python 3.11+** or **Node.js 18+** installed (depending on your chosen language)
+- [ ] **Python 3.11+** or **Node.js 20+** installed (depending on your chosen language)

# docs/McpServer-Skills/SKILLS/BANKOFAISkill.md (agent-wallet section)
+Your AI's secure signing engine. ... Requires Node.js 20+.

Recommendation

Add a Prerequisites or Requirements section at the top of QuickStart.md and Intro.md that explicitly states:

:::note Prerequisites
- **Node.js 20 or higher** — required by `agent-wallet`, `x402-payment`, and related signing skills.
  Run `node --version` to check. If needed, upgrade via [nvm](https://github.com/nvm-sh/nvm) or the Node.js installer.
:::

Also update Faq.md's existing Node.js version check section — it currently says "v20 or higher" in the troubleshooting guidance (correct), but that section should cross-reference it earlier in the install flow.


Minor

[MN-01] EPS Token Added Without Description or Context

Property Value
Severity Minor
Category Documentation
File docs/x402/core-concepts/network-and-token-support.md : Lines 533–534; docs/x402/faq.md : Network table

Description

A new token EPS on eip155:56 (BSC Mainnet) is added to the token support table with contract address 0xA7f552078dcC247C2684336020c03648500C6d9F. Unlike USDC and DHLU, which each receive at least a parenthetical explanation in adjacent prose, EPS is listed with no description, no link, and no explanation of what protocol or project it belongs to. Users unfamiliar with DeFi may not recognise "EPS" and cannot make an informed decision about using it for payments.

Code

+| **EPS**  | `eip155:56`    | `0xA7f552078dcC247C2684336020c03648500C6d9F` |

Recommendation

Add a brief inline note, e.g.:

| **EPS**  | `eip155:56` | `0xA7f552...` | Ellipsis Protocol stablecoin (BEP-20); uses `exact_permit` scheme |

Or add a sentence in the surrounding prose explaining the token's origin and payment scheme compatibility.


[MN-02] Security Risk Ratings Displayed Without Explanation or Guidance

Property Value
Severity Minor
Category Documentation
File docs/McpServer-Skills/SKILLS/QuickStart.md : Security scan table (step 6)

Description

The updated security scan table now shows the new bankofai-guide skill with "Med Risk" (Gen) and "High Risk" (Snyk). The previous table had agent-wallet at "Med Risk / 1 alert / High Risk"; this PR changes agent-wallet to "Safe / 0 alerts / High Risk" (an improvement), but bankofai-guide inherits the elevated risk ratings with no explanation.

Users are told to "Review them and select Yes to proceed" but receive no guidance on what "High Risk (Snyk)" means in practice, why they should still proceed, or what the known Snyk findings are. This is especially important since bankofai-guide stores a generated password to ~/.agent-wallet/runtime_secrets.json — a security-sensitive path. A detail link is provided (https://skills.sh/BofAI/skills), but it is not mentioned in the surrounding prose.

Code

+│  bankofai-guide                     Med Risk          1 alert           High Risk  │
...
+│  Details: https://skills.sh/BofAI/skills

Recommendation

Add a prose note beneath the security table:

> **What do these ratings mean?** "High Risk (Snyk)" typically reflects transitive dependency advisories,
> not vulnerabilities in the skill's own code. Review the full details at the link above before proceeding.
> If you are in a high-security environment, audit the Snyk findings manually before installing.

[MN-03] Symlink Installation Behavior and Security Implications Underdocumented

Property Value
Severity Minor
Category Documentation / Security
File docs/McpServer-Skills/SKILLS/QuickStart.md : Step 5 (Installation Summary)

Description

The PR introduces a new installation plan step documenting that Claude Code receives symlinks pointing to the universal ~/.agents/skills/ copies, while all other tools receive full copies. The tip box explains the "one source of truth" benefit, but it does not address the security or operational implications:

  1. If a skill package is updated (e.g., via npm install) in the universal directory, the symlinked Claude Code version is affected immediately and silently — without any re-confirmation step.
  2. If the universal directory is deleted or moved, Claude Code's symlinks become dangling (broken) and will fail silently until the user re-runs the installer.
  3. Users with restricted-permission setups (e.g., some corporate environments) may see symlink creation fail without a clear error.

Code

│  ~/.agents/skills/agent-wallet                                              │
│    universal: Antigravity, Cursor, Gemini CLI, GitHub Copilot, Amp +7 more  │
│    symlink → Claude Code                                                    │

Recommendation

Expand the universal vs symlink tip box:

:::tip universal vs symlink
Tools that follow the generic skills layout get a **universal** copy under `~/.agents/skills/`.
Claude Code uses its own convention, so the installer creates a **symlink** pointing back to the
universal copy — one source of truth, both places stay in sync.

**Keep in mind:** Because of the symlink, any `npm install` or file update inside the universal
directory is instantly reflected in Claude Code — no re-installation needed, but also no review gate.
If you delete `~/.agents/skills/`, Claude Code's symlinks will break until you reinstall.
:::

[MN-04] bankofai-guide Password Storage Path Lacks Explicit Security Warning

Property Value
Severity Minor
Category Security / Documentation
File docs/McpServer-Skills/SKILLS/BANKOFAISkill.md : bankofai-guide section (caution block)

Description

The caution block correctly advises users to back up the auto-generated password from ~/.agent-wallet/runtime_secrets.json. However, it does not warn that this file is stored in plaintext on disk (implied by context), that its default permissions may allow other local users to read it, or that users should restrict permissions (chmod 600). For a file that controls access to wallets holding real on-chain assets, this gap is meaningful.

Code

:::caution Your password matters
The quick setup auto-generates a strong password and stores it in `~/.agent-wallet/runtime_secrets.json`
for convenience. Save or memorize it anyway — if that file is ever deleted, the password is the only
way to recover access to the encrypted wallet.
:::

Recommendation

Extend the caution block:

:::caution Your password matters
The quick setup auto-generates a strong password and stores it in `~/.agent-wallet/runtime_secrets.json`
for convenience. **This file is stored in plaintext** — verify its permissions with:
```bash
ls -l ~/.agent-wallet/runtime_secrets.json
# Should show: -rw------- (600)
# If not, run: chmod 600 ~/.agent-wallet/runtime_secrets.json

Save or memorize the password separately — if this file is deleted, the password is the only way
to recover access to your encrypted wallet.
:::


---

### Suggestions

#### [S-01] Clarify That the x402 "EPS" Token Uses `exact_permit`, Not `exact`

**File:** `docs/x402/core-concepts/network-and-token-support.md`
**Description:** The new `exact` scheme warning block explicitly states BSC USDT is not ERC-3009 compliant and must use `exact_permit`. This same guidance should be extended to EPS to make it clear which scheme each token supports, especially since users may not be familiar with EPS.
**Suggestion:** Add a brief table column "Supported Scheme" to the BSC token entries, or add a similar warning note for EPS near its table row.

---

#### [S-02] Consider a Combined "What Changed in This Release" Migration Note

**File:** `docs/McpServer-Skills/SKILLS/QuickStart.md` (or a new `CHANGELOG.md` / `migration.md`)
**Description:** This PR encompasses several user-facing breaking changes at once: install path rename, skill count increase (8→11), skill folder rename (e.g., `sunswap` → `sunswap-dex-trading`), and Node.js version bump. Surfacing these together in a "What's new / breaking changes" section at the top of the QuickStart makes it easy for returning users to know what they need to update without reading the entire document.
**Suggestion:** Add a collapsible `<details>` block at the top of QuickStart:

```markdown
<details>
<summary>⬆️ Upgrading from a previous version? See what changed</summary>
- Install path: `~/.openclaw/skills/` → `~/.agents/skills/`
- Skill count: 8 → 11 (new: `bankofai-guide`, `trx-staking-sr-voting`, `usdd-just-protocol`)
- Skill folder names: e.g., `sunswap` → `sunswap-dex-trading` (full name)
- Node.js: minimum is now **v20** (was v18)
- 2 new installer steps: Installation Plan (step 5) before Security Assessment (step 6)
</details>

[S-03] Add a --network Flag Cross-Reference to the x402-payment Skill Section

File: docs/McpServer-Skills/SKILLS/BANKOFAISkill.md and Intro.md
Description: The intro's x402 section mentions "just switch the --network parameter" to change chains, and the skill section now explains TRON and BSC multi-chain support. However, neither section links to the full list of supported networks and their exact --network values.
Suggestion: Add a one-line link:

> See [Network & Token Support](../../x402/core-concepts/network-and-token-support.md) for the full
> list of supported network identifiers and tokens.

Positive Observations

Area Observation
Technical Precision The x402 exact scheme documentation is exceptionally detailed — correctly distinguishing ERC-3009 vs. EIP-2612 requirements, specifying which tokens use which schemes, and explaining the v2 migration fallback dual-write strategy.
Security UX The bankofai-guide description correctly restricts dangerous wallet operations (remove, reset, change-password) to the terminal only and explicitly tells users the AI will explain — not execute — those commands.
Localization Parity All English documentation changes are mirrored identically in the i18n/zh-Hans Chinese localization. No English-only updates were left unsynced.
Safety Defaults The sunperp skill documentation now precisely quantifies the mandatory stop-loss behavior (default 5%, max 25%) instead of the vague "losses exceed 5% the AI closes your position." This is a meaningful accuracy improvement for users making financial decisions.
Installation UX The new Installation Summary step (showing exactly where each skill will land and which tools get symlinks vs. full copies) significantly improves transparency before the user commits to installation.
Installer Warning The updated "Done!" output now appends "Review skills before use; they run with full agent permissions." — a clear, appropriate security reminder surfaced at the right moment.
Brand Consistency The "BankOfAI" → "BANK OF AI" rename is consistently applied across both English and Chinese docs.
V3 Fee Tier Guidance The new SunSwap V3 tip box clearly specifies the four valid fee tiers and tick-spacing alignment rules, preventing users from submitting transactions that would fail on-chain.

Checklist Results

Category Items Checked Pass Fail N/A Notes
Correctness 6 4 2 0 MJ-01 (path migration), MJ-02 (Node.js version inconsistency)
Security 8 6 2 0 MN-02 (risk rating context), MN-04 (password file plaintext warning)
Performance 7 0 0 7 Not applicable — documentation only
Code Quality 8 7 1 0 MN-01 (EPS token undocumented)
Testing 7 0 0 7 Not applicable — documentation only
Documentation 6 4 2 0 MJ-01 (no migration guide), MN-03 (symlink implications)
Compatibility 5 3 2 0 MJ-01 (existing users), MJ-02 (Node.js 18 users)
Observability 4 0 0 4 Not applicable — documentation only

Disclaimer

This is an automated code review. It supplements but does not replace human review. The reviewer analyzed only the diff between origin/main and origin/update-mcp-server. Runtime behavior, integration testing, and deployment impact are not covered. All findings pertain exclusively to documentation accuracy, completeness, and user-safety concerns — no application source code was present in this diff.


Report generated by Code Review Skill v1.0.0
Date: 2026-04-22

@Will-Guan Will-Guan merged commit 1dbcc44 into main Apr 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants