setup-mcp

setup-mcp is a command for Claude Code from nirholas/three.ws. It costs 33 tokens per session (1,152 once invoked), scanned A, original, Apache-2.0.

A setup command that adds the three.ws MCP server to the configuration used by Claude Desktop, Claude Code, or Cursor. MCP is a way for an AI client to connect to external tools.

In plain words
What is it for?
Use it to configure three.ws tools and provide wallet or optional service credentials for supported payment and data features.
Why use it?
It removes the need to find the correct configuration file and write the server settings by hand.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Part of the three-ws-developer plugin — 3 commands shipped together

Good fit Use it to configure three.ws tools and provide wallet or optional service credentials for supported payment and data features.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nirholas/three.ws/setup-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code.

Or install three-ws-developer, the plugin that ships this one along with the rest of its 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-mcp

README.md
[![agentmods](https://agentmods.dev/badge/commands/nirholas/three.ws/setup-mcp/github.svg)](https://agentmods.dev/commands/nirholas/three.ws/setup-mcp)
Your own site
<a href="https://agentmods.dev/commands/nirholas/three.ws/setup-mcp"><img src="https://agentmods.dev/badge/commands/nirholas/three.ws/setup-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-mcp

Your own site · 80×15
<a href="https://agentmods.dev/commands/nirholas/three.ws/setup-mcp"><img src="https://agentmods.dev/badge/commands/nirholas/three.ws/setup-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,152 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01152
Opus 5.5 $0.00013 $0.00461
Sonnet 5.5 $0.00007 $0.00230
Haiku 4.5 $0.00003 $0.00115

Measured 2mo ago against content hash fcd525f64050, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

marketplace/plugins/three-ws-developer/commands/setup-mcp.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are helping the user add the @three-ws/mcp-server to their MCP client config. Follow these steps precisely:

Step 1 — Detect OS and find the config file

Check the user's platform:

  • macOS Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows Claude Desktop: %APPDATA%\Claude\claude_desktop_config.json
  • Claude Code (project): .mcp.json in the current working directory
  • Claude Code (global): ~/.claude/claude_desktop_config.json
  • Cursor: ~/.cursor/mcp.json

Use uname -s or $OS to detect the platform. Check which of these files already exists with the shell.

Step 2 — Collect wallet addresses

Ask the user (in a single message) for:

  1. EVM wallet address (Base USDC payouts) — 0x... format
  2. Solana wallet address (Solana USDC payouts) — base58 format
  3. Helius API key (optional, improves pump_snapshot data — get free at helius.dev)
  4. CDP API key ID + secret (optional, enables Coinbase Bazaar discovery — get at portal.cdp.coinbase.com)

If the user skips any optional field, omit that env var from the config.

Step 3 — Generate the config snippet

Produce the exact JSON block to add to their config file under "mcpServers":

{
  "mcpServers": {
    "3d-agent": {
      "command": "npx",
      "args": ["-y", "@three-ws/mcp-server"],
      "env": {
        "MCP_EVM_PAYMENT_ADDRESS": "<their EVM address>",
        "MCP_SVM_PAYMENT_ADDRESS": "<their Solana address>"
      }
    }
  }
}

Add optional env vars only if the user supplied them:

  • "HELIUS_API_KEY": "<key>" — better pump.fun token data
  • "CDP_API_KEY_ID": "<id>" and "CDP_API_KEY_SECRET": "<secret>" — Coinbase Bazaar discovery
  • "SOLANA_RPC_URL": "https://mainnet.helius-rpc.com/?api-key=<key>" — if Helius key provided

If the config file already exists, read it first and merge the "3d-agent" entry into the existing "mcpServers" object rather than replacing the whole file.

Step 4 — Write or show

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 94 lines · 33 tokens per session scan A fcd525f64050

Subscribe to this mod's changes

setup-mcp is a command published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 1,152 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

setup-mcp compared with commands from other repositories

setup-mcp next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-mcpnirholas/three.wsCommand287yesterdayApache-2.0A33Claude Code
sheleg-designssheleg/sheleg-design-skillCommand4yesterdayMITA16Claude Code
fix-btc-e2e-p9hiromaily/go-crypto-walletCommand1297mo agoMITA0Claude Code
invariantomermaksutii/RugProofCommand134mo agoMITA19Claude Code
pre-deployomermaksutii/RugProofCommand134mo agoMITA33Claude Code
audit-strictomermaksutii/RugProofCommand134mo agoMITA25Claude Code
nftsalchemyplatform/alchemy-claude-pluginCommand71mo agoMITA6Claude Code