Developer portal — Arshia Mohebi (AsliCode)
Public APIs of arshia.rrast.ir: MCP, NLWeb /ask, OpenAPI and a sandbox. No key, no signup.
At a glance
Every route below is public and read-only (except posting a guestbook message). No API key, no signup and no payment. The site runs on Cloudflare Workers and answers with standard JSON.
| Method | Path | Purpose |
|---|---|---|
POST | /mcp | MCP (JSON-RPC 2.0): initialize, ping, tools/list, tools/call, resources/list, resources/read |
POST / GET | /ask | NLWeb v0.55 keyword search over pages, projects and posts |
GET | /api/guestbook | Public guestbook messages |
POST | /api/guestbook | Post a message (max 3 per 10 minutes per IP) |
GET | /api/donate-stats | Live Daramet support totals |
POST | /api/sandbox/echo | Sandbox: echoes the body, writes nothing |
GET | /openapi.json | OpenAPI 3.1 specification |
Quickstart
List the tools, then make one real call:
curl -s https://arshia.rrast.ir/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
curl -s https://arshia.rrast.ir/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_profile","arguments":{"language":"en"}}}'
And a natural-language question over the site content:
curl -s https://arshia.rrast.ir/ask \
-H 'content-type: application/json' \
-d '{"query":{"text":"who is Arshia Mohebi?"},"prefer":{"streaming":false,"mode":"list"},"meta":{"version":"0.55"}}'
Authentication
Public routes need no authentication and issue no token or cookie. Admin routes (/admin/*) use HTTP Basic with the STATS_PASSWORD secret and are not open to agents. Shop invoices are created only from the page, with the NoaPay keys kept server-side; there is no public payment API.
MCP tools
This site's MCP server lives at /mcp and only reads published facts:
| Tool | Description |
|---|---|
get_profile | Who this site is about: full name, what Arshia Mohebi (AsliCode) does, a short about text, the names he is known by and the topics he works with. Start here. |
list_links | List every link this page publishes (Telegram, Instagram and the outbound links), with the id each one can be fetched by and its absolute URL. Optional query filters by id or label. |
get_link | Get one published link by its id: the absolute URL, the label and what the link is for. Use list_links first when the id is unknown. |
get_contact | How to reach Arshia Mohebi: the contact channels this site publishes, what each is for, and the contact page. No email address or phone number is published. |
get_sections | The prose sections of this site (about, contact, privacy) with their HTML URL and markdown twin, for citing or reading the long text without scraping. |
Sandbox and rate limits
POST /api/sandbox/echo echoes a JSON body (up to 8 KB) without writing anything, so you can test a connection safely. Limits: /ask 30 requests per minute, /api/sandbox/echo 60 per minute, guestbook posts 3 per 10 minutes per IP; a 429 means wait. Sandbox page
Machine-readable files
- openapi.json — OpenAPI 3.1 specification
- api-catalog — RFC 9727
- agent-skills — skills index
- llms.txt · index.md · sitemap.xml