Skip to main content

Prerequisites

The installer clones over HTTPS and builds locally, so it needs:
  • Node.js 18 or newer
  • git and npm on your PATH
  • Network access to GitHub and the npm registry
Relevant for locked-down machines and CI images: the install will fail without a git binary or outbound network.

Install

This package is not published to the npm registry. npm install -g yellow-pro-mcp will fail with a 404. Use one of the two paths below.

Option A — one-line installer

Installs from GitHub and registers with Claude Code in a single step:
The installer checks the Node version, builds in a temporary directory, installs a packed tarball globally, and cleans up afterwards. If the system npm prefix is not writable, it installs under ~/.local instead and prints a PATH hint.
The repository is public, so installation does not require GitHub credentials. If your environment does not permit curl | bash, inspect install.sh before running it. Note that credentials passed on the command line land in your shell history.

Option B — local checkout

Either path gives you both the yellow-pro-mcp server and the yellow-pro CLI.

Register with a client

For Claude Code:

Setup helpers

hermes is an exception. The successful hermes mcp add path registers the server without passing your credentials, so account tools will fail with a missing-credentials error. Credentials only appear in the fallback YAML snippet, which is printed when the hermes binary is absent. Until this is fixed, add the environment block to your hermes config by hand after running setup.

Manual configuration

Add to ~/.codex/config.toml:

Verify it works

Restart your client first — MCP servers connect at session start. 1. Confirm the server starts. This handshake needs no credentials:
A healthy response looks like this — a serverInfo block and a clean exit:
2. Ask your agent for market data. Something like “get the BTCUSDT-PERP ticker from Yellow.pro”. A good answer returns a live price and 24h figures. This confirms the client is spawning the server and reaching the API — with no credentials involved. 3. Ask for a balance. Only once step 2 works. “What’s my Yellow.pro spot balance?” exercises your credentials and signature. If step 2 passed and this fails, the problem is credentials, not installation — see Troubleshooting.

Update and uninstall

Update: re-run the one-line installer, or git pull and npm install -g . in a local checkout. The server reports a date-based build version in serverInfo.version; compare it against the latest commit to tell whether you are current. Uninstall:
Remove the mcpServers entry by hand for clients configured manually, and revoke the API key if you no longer need it.

Agent skill (non-MCP agents)

For agents that don’t speak MCP, the repository ships an agent skill at skills/yellow-pro/SKILL.md that teaches agents to use the yellow-pro CLI. Copy it into your agent’s skills directory, for example ~/.claude/skills/yellow-pro/.