Set up your agent
The block below works in any tool that reads project rules — Claude Code, Cursor, Codex, Aider, Cline, and others. Paste it directly into a chat, or save it inCLAUDE.md, .cursor/rules/, or AGENTS.md so it applies to every session:
Machine-readable formats
Add.md to the end of any documentation URL to get that page as Markdown. Four types of entry points are available:
Editor setup
Each tab below is self-contained — copy the one that matches your editor.- Cursor
- Claude Code
- Codex
- AGENTS.md
Create
.cursor/rules/ziina.mdc in your repo, or add the same content to
your user-level rules to apply it across every project:Testing
To confirm your agent is reading the documentation rather than relying on memory, ask it:“Fetch https://docs.ziina.com/llms.txt and tell me the minimum amount for a Ziina payment.”The correct answer is 2 AED, which appears on the Payment Intent page. An agent that reaches for the docs will find it. One that isn’t wired up will approximate, or reason its way to a plausible-sounding number from the currency page instead.
Docs MCP
Rules give your agent a list of URLs to fetch. The documentation server goes further and exposes search and retrieval as tools it can call directly, which tends to be quicker and uses less context than pulling down whole pages.~/.cursor/mcp.json to enable it everywhere, or .cursor/mcp.json to scope it to a single repo. The endpoint speaks streamable HTTP and works with any MCP client.
Three tools are available: search_ziina searches across these docs, query_docs_filesystem_ziina browses pages as a read-only filesystem, and submit_feedback reports a page that’s wrong or unclear. Everything is scoped to published content on this site — the server has no access to your Ziina account, cannot move money, and cannot read authenticated data.
Next steps
Custom integration
Get an access token and make your first API call
OAuth 2.0
Scopes and the full authorization flow
API Reference
Every endpoint, with schemas
Test cards
Card numbers for testing your integration