potbot-mcp-tools

potbot-mcp-tools is a skill for Claude Code, Codex from YD811/potbot-v2. It costs 89 tokens per session (662 once invoked), scanned A, original, MIT.

A development guide for PotBot’s MCP server, which exposes selected Solana actions to AI agents. It covers adding and testing tools, x402 micropayment checks, and the server’s use of solana-agent-kit.

In plain words
What is it for?
Adding or changing MCP tools, exposing vault actions to agents, wiring x402 payments, and debugging or testing the PotBot MCP server.
Why use it?
It helps keep new agent-accessible actions, payment gates, and server changes aligned with the project’s design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Adding or changing MCP tools, exposing vault actions to agents, wiring x402 payments, and debugging or testing the PotBot MCP server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yd811/potbot-v2/potbot-mcp-tools
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.

Any agent
npx skills add YD811/potbot-v2 --skill potbot-mcp-tools
Clone the repo
git clone --depth 1 https://github.com/YD811/potbot-v2

Made for: Claude Code, Codex.

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 potbot-mcp-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/yd811/potbot-v2/potbot-mcp-tools/github.svg)](https://agentmods.dev/skills/yd811/potbot-v2/potbot-mcp-tools)
Your own site
<a href="https://agentmods.dev/skills/yd811/potbot-v2/potbot-mcp-tools"><img src="https://agentmods.dev/badge/skills/yd811/potbot-v2/potbot-mcp-tools/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 potbot-mcp-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/yd811/potbot-v2/potbot-mcp-tools"><img src="https://agentmods.dev/badge/skills/yd811/potbot-v2/potbot-mcp-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 662 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.00089 $0.00662
Opus 5.5 $0.00036 $0.00265
Sonnet 5.5 $0.00018 $0.00132
Haiku 4.5 $0.00009 $0.00066

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

Security

Grade A, and why

potbot-mcp-tools 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 3mo 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.

skills/potbot-mcp-tools/SKILL.md · 48 lines

How it starts

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

PotBot — MCP tools

PotBot is MCP-native: any AI agent (Claude/GPT/custom) acts on vaults through @potbot/mcp (apps/potbot-mcp), built on solana-agent-kit, with http+sse+stdio transports. Read docs/integrations/mcp.md first. This is a product differentiator — keep it clean and documented.

Existing tools (pattern to follow)

list_pots / list_vaults · get_pot_analytics(pubkey) · get_yield_rates · create_proposal{pot,swap} · vote_on_proposal{proposal,approve} · join_vault{vault,referrer} (18 tools total).

Adding a tool

  1. Define it in apps/potbot-mcp next to existing tools: name, description, zod/JSON input schema.
  2. Implement via the SDK (@potbot/sdk) or backend API — never re-implement chain logic inline.
  3. Read vs write:
    • Reads (analytics, lists, rates): safe, cacheable.
    • Writes (propose, vote, join): build the tx; respect governance. An agent NEVER moves funds directly — it proposes; humans/personal-voters approve. No tool should bypass votes.
  4. x402 gating: revenue/heavy endpoints (e.g. /analytics/*) require a 0.001 USDC micropayment per call. Keep the gate consistent; document which tools are gated.
  5. Errors: return structured, actionable errors (bad pubkey, not found, unauthorized, quorum not met).
  6. Update docs/integrations/mcp.md and the README tool list + bump the npm version.

Testing

npx @potbot/mcp                # run locally
# Smoke flow with an agent / Claude:
list_vaults → get_vault_analytics → create_swap_proposal → vote_on_proposal
  • Test stdio, http, and sse transports.
  • Verify a write tool produces a valid unsigned/ço-signed tx and respects governance (rejects when quorum not met, frozen pot, or cap breach).
  • Verify x402-gated tools reject unpaid calls and accept paid ones.

Conventions

  • Tool names: lowercase snake, verb_object (create_proposal, get_pot_analytics).
  • Descriptions are agent-facing: say exactly what it does and what it returns.
  • Keep parity with the SDK; the MCP server is a thin, well-described layer over SDK + API.
  • Mark each tool read/write and gated/free in docs so agent devs know the cost + side effects.

Read the full file on GitHub · 48 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. 3mo ago First seen · 48 lines · 89 tokens per session scan A 08a3016549dc

Subscribe to this mod's changes

potbot-mcp-tools is a skill published in the GitHub repository YD811/potbot-v2 (22 stars, last pushed 7d ago), licensed MIT. It adds 89 tokens to every session and 662 once invoked, about $0.0004 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-08-30.

Related

potbot-mcp-tools compared with skills from other repositories

potbot-mcp-tools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
potbot-mcp-toolsYD811/potbot-v2Skill227d agoMITA89Claude Code, Codex
solana-toolkit-guidenirholas/three.wsSkill289todayApache-2.0A50Claude Code, Codex
blockchain-solanaj4flmao/agent-skillsSkill4717d agoMITA142Claude Code, Codex
solana-devStarchild-ai-agent/official-skillsSkill347d agononeA57Claude Code
safe-solana-builderFrankcastleauditor/safe-solana-builderSkill1512mo agononeB148Claude Code, Codex
bnb-chain-toolkit-guidenirholas/three.wsSkill289todayApache-2.0A67Claude Code, Codex
solanaquicknode/solana-finance-claude-pluginSkill10519d agoMITA76Claude Code