NuruPayDocs

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 assistantInstall
MCP serverLive search of these docs and the full OpenAPI specAdd one URL
Agent rules and skillNuruPay's integration rules in AGENTS.md, CLAUDE.md, GEMINI.md, and as an agent skillOne 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:

ToolWhat it does
search_docsSearch these docs
read_docRead one page in full, e.g. webhooks
list_docsList every page
get_openapi_specThe complete OpenAPI spec: endpoints, schemas, errors, webhook payloads
claude mcp add --transport http nurupay https://docs.nurupay.io/mcp

In 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-Key goes on every POST
  • only succeeded means 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
ScopeWhat it changes
This projectAdds 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.
GlobalAdds 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 -->. A CLAUDE.md that is already a symlink to AGENTS.md is left alone.
  • Re-run it to update. Add --uninstall to remove everything it added. Add --no-skill to 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-skills

Plain-text docs

For tools that read URLs directly:

URLContents
/llms.txtIndex of every page
/llms-full.txtAll docs in one Markdown file
/docs/<page>.mdOne page as Markdown, e.g. /docs/webhooks.md
/openapi.yamlThe 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.

On this page