Borrowing it
Nothing to install: this file belongs to up2itnow0822/agentpay-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/up2itnow0822/agentpay-mcp/main/.cursorrulesgit clone --depth 1 https://github.com/up2itnow0822/agentpay-mcpWrote 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.
[](https://agentmods.dev/rules/up2itnow0822/agentpay-mcp/cursorrules)<a href="https://agentmods.dev/rules/up2itnow0822/agentpay-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/up2itnow0822/agentpay-mcp/cursorrules/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.
<a href="https://agentmods.dev/rules/up2itnow0822/agentpay-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/up2itnow0822/agentpay-mcp/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00625 | $0.00625 |
| Opus 5.5 | $0.00250 | $0.00250 |
| Sonnet 5.5 | $0.00125 | $0.00125 |
| Haiku 4.5 | $0.00063 | $0.00063 |
Grade A, and why
cursorrules 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AgentPay MCP — Cursor Rules (ClawPowers enabled)
Project Context
This is agentpay-mcp — an MCP (Model Context Protocol) server that wraps agentwallet-sdk to give AI agents financial capabilities. Any MCP-compatible client (Claude Desktop, Cursor, Windsurf, etc.) can use it.
Current State
- v5.0.0 — agentwallet-sdk 7.0.0, viem 2.57.4, 28 MCP tools (security release; see docs/security-remediation-2026-10.md)
- Dependencies: @modelcontextprotocol/sdk, [email protected], viem, zod
- TypeScript, vitest for tests, stdio transport
Upgrade Task: v4.0.0
Add new MCP tools exposing agentwallet-sdk v6.0.0 features:
New Tools to Build
send_token— Send any ERC-20 token (uses TokenRegistry + agentTransferToken)get_balances— Multi-token, multi-chain balance queryswap_tokens— Uniswap V3 swap via SwapModulebridge_usdc— CCTP V2 cross-chain bridgelookup_token— TokenRegistry lookup by symbol + chainadd_custom_token— Register custom tokenset_spend_policy— Configure spending limitscheck_budget— Query remaining budgetverify_agent_identity— ERC-8004 identity verificationget_reputation— Agent reputation scorecreate_escrow— Mutual stake escrow
Code Patterns
Follow existing tool patterns in src/tools/:
- Each tool file exports:
toolDefinition,handleFunction,ZodSchema - Zod schemas for input validation
- All handlers return
{ content: [{ type: "text", text: JSON.stringify(result) }] } - Register in
src/index.tsALL_TOOLS array and CallToolRequest handler
Quality Gates
- All existing 107 tests must still pass
- New tools need tests in
tests/ npm run build(tsc) must pass with 0 errors- Follow existing code style (no semicolons, single quotes)
SDK Reference
agentwallet-sdk v6.0.0 exports:
- TokenRegistry:
getGlobalRegistry(),.getToken(symbol, chainId),.listTokens(chainId),.addToken() - Transfers:
agentTransferToken(),encodeERC20Transfer() - Decimals:
toRaw(),toHuman(),formatBalance() - Swap:
SwapModule,attachSwap() - Bridge:
BridgeClient - Identity:
IdentityClient,ReputationClient,ValidationClient - Escrow:
MutualStakeEscrow - x402: multi-asset resolution
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.
- 10d ago Changed · +15 tokens per session c3d237381509
- 13d ago Changed 3f669aa0db4d
- 25d ago Changed · +17 tokens per session a143e7e4b853
- 2mo ago First seen · 50 lines · 593 tokens per session scan A c6b0d9932f65
cursorrules is a cursor rule published in the GitHub repository up2itnow0822/agentpay-mcp (8 stars, last pushed yesterday), licensed MIT. It adds 625 tokens to every session, about $0.0025 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-31.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesup2itnow0822/agentpay-mcp | Cursor rule | 8 | yesterday | MIT | A | 625 | Cursor |
| financial-amountsmission69b/t2000 | Cursor rule | 23 | 1mo ago | MIT | A | 288 | Cursor |
| x402-protocolDexter-DAO/opendexter-ide | Cursor rule | 2 | 8d ago | MIT | A | 680 | Cursor |
| synapse-agentpaySynapseNetworkAI/Synapse-Network-MCP-Server | Cursor rule | 0 | 4mo ago | MIT | A | 0 | Cursor |
| cryptoexchange-netJKorf/CryptoExchange.Net | Cursor rule | 569 | 3d ago | MIT | A | 0 | Cursor |
| elizaos_v2_onchain_pluginsAIFlowML/cursor_rules | Cursor rule | 24 | 1y ago | none | A | 0 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 185k | 8d ago | MIT | A | 604 | Cursor |