What’s Included
The skill provides your coding assistant with:- SDK initialization patterns for TypeScript and Python
- Framework-specific middleware (Express.js, FastAPI, Strands, MCP, Google A2A)
- x402 protocol flow — headers, verification, settlement
- Payment plan registration and configuration
- Client-side integration — ordering plans, generating tokens, calling protected APIs
- Troubleshooting for common errors (402,
-32003,-32002)
Install the Skill
Choose your AI coding tool below for step-by-step installation instructions.- Claude Code
- Cursor
- Windsurf
- GitHub Copilot
- Codex CLI
- Cline
- Amazon Q
- Other / Manual
Claude Code
Commands to install from the Nevermined repository:SKILL.md and all reference files into your local Claude Code skills directory. Claude Code automatically loads the skill when it’s relevant to your work.Alternative — manual installation:- Clone or download the skill files:
- Copy to your personal skills directory:
- Or copy to a project-specific location:
~/.claude/skills/ (personal) and .claude/skills/ (project).Supported Tools at a Glance
Example Prompts
After installing the skill, try prompts like:Add payments to Express.js
“Add Nevermined x402 payment protection to my Express.js API. I want to charge 1 credit per request on the
/ask endpoint.”Protect a FastAPI endpoint
“Integrate Nevermined payments into my FastAPI app. Use dynamic credits based on the token count in the response.”
Build a paid MCP server
“Create an MCP server with Nevermined payments. Register a weather tool that costs 5 credits per call.”
Add payments to a Strands agent
“Protect my Strands agent tool with the @requires_payment decorator. Charge 2 credits per call.”
Alternative: Use the MCP Search Server
If you prefer real-time documentation search over a static skill, you can connect your coding assistant to the Nevermined MCP documentation server:Skill vs. MCP Server
For the best experience, use both: install the skill for core patterns and connect the MCP server for edge cases.
What’s Next?
5-Minute Setup
Register your first agent and plan
Express.js Integration
Full Express.js payment middleware guide
FastAPI Integration
Full FastAPI payment middleware guide
MCP Integration
Build monetizable MCP servers