Build with AI
Give your AI coding assistant the NuruPay docs, API spec, and integration rules.
If you write code with an AI assistant (Claude Code, Cursor, VS Code Copilot, Codex, Windsurf, and others), connect it to NuruPay first. It will then use the current API and the safe integration rules instead of guessing.
There are two parts. Use either or both.
| What it gives your assistant | Install | |
|---|---|---|
| MCP server | Live search of these docs and the full OpenAPI spec | Add one URL |
| Agent rules and skill | NuruPay's integration rules in AGENTS.md, CLAUDE.md, GEMINI.md, and as an agent skill | One command, for this project or globally |
Neither one sees or needs your API keys.
MCP server
URL: https://docs.nurupay.io/mcp
It is read-only. It cannot call the NuruPay API, move money, or see your account. It has four tools:
| Tool | What it does |
|---|---|
search_docs | Search these docs |
read_doc | Read one page in full, e.g. webhooks |
list_docs | List every page |
get_openapi_spec | The complete OpenAPI spec: endpoints, schemas, errors, webhook payloads |
claude mcp add --transport http nurupay https://docs.nurupay.io/mcpIn Claude Desktop or claude.ai, open Settings → Connectors → Add custom connector and paste the URL.
Then ask, for example: "Using the NuruPay MCP, add a checkout that charges the customer's phone and marks the order paid from the webhook."
Agent rules and skill
These teach your assistant how to integrate NuruPay correctly:
- keys stay on the server
- an
Idempotency-Keygoes on everyPOST - only
succeededmeans paid - webhook signatures are verified on the raw body
- test numbers cover every outcome
One command installs them for every assistant. It writes the rules to the instruction files assistants read, and installs the nurupay agent skill.
curl -fsSL https://raw.githubusercontent.com/danfordChris/nurupay-skills/main/install.sh | sh| Scope | What it changes |
|---|---|
| This project | Adds a NuruPay section to AGENTS.md (read by Codex, Cursor, GitHub Copilot, Windsurf, opencode, and others). CLAUDE.md and GEMINI.md load it with @AGENTS.md, so Claude Code and Gemini CLI follow the same rules. Commit the files to share them with your team. |
| Global | Adds the section to ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md, ~/.config/opencode/AGENTS.md, and Windsurf's global rules, for the assistants you have installed. |
- Your files stay yours. The script only adds, replaces, or removes the section between
<!-- nurupay:start -->and<!-- nurupay:end -->. ACLAUDE.mdthat is already a symlink toAGENTS.mdis left alone. - Re-run it to update. Add
--uninstallto remove everything it added. Add--no-skillto write only the instruction files. - Read it first if you like: the script and the skill are public at github.com/danfordChris/nurupay-skills.
To install only the skill:
npx skills add danfordChris/nurupay-skillsPlain-text docs
For tools that read URLs directly:
| URL | Contents |
|---|---|
/llms.txt | Index of every page |
/llms-full.txt | All docs in one Markdown file |
/docs/<page>.md | One page as Markdown, e.g. /docs/webhooks.md |
/openapi.yaml | The OpenAPI spec |
Review AI-written payment code like any other code before it handles live money. Test every outcome with test numbers and work through Going live first.