MCP server
Rendel's MCP tools, which a coding agent uses to set up or sync an app, and how a refusal comes back.
Rendel runs an MCP server at https://rendel.ai/api/mcp (streamable HTTP, stateless JSON-RPC). A coding agent connects to it, signs in once through your browser, and uses these tools to fill in the console while it works in your code. Set up with AI says how to connect Claude Code; the console's card shows the same for Cursor, Codex, GitHub Copilot and Gemini CLI.
The tools call the same operations as the Setup API, so either path writes the same rows. Their names and descriptions never change for an app: an allow rule on mcp__rendel__* approves exactly these.
Tools
| Tool | What it does |
|---|---|
rendel_start({app, tool, model?, os?, detected?}) | Call first. Connects to the app named in the prompt (app, its slug) and tells Home the agent has connected. Returns the app, whether this is a setup or a sync (and, for a sync, the change the developer described), both publishable keys, the SDK versions and snippets, and the setup guide (only Flutter's or the web's install and sign-in steps when detected.platform says which). Calling it again is harmless |
rendel_get_context | What Rendel already holds: links and description, what was read from the app's website, the current appearance, persona, knowledge, actions and screens (each with its external_key and origin), the latest build's manifest, and facts |
rendel_report_progress({events, detected?}) | Progress on the steps the server cannot see (discover, install, identity, verify), or a step skipped or failed; up to 50 events a call |
rendel_set_appearance | The look, from the app's theme, with where each value was read from, into the draft. Answers with any contrast warnings and their fixes |
rendel_upload_logo({filename, content_base64}) | The logo from the repository: PNG, JPEG, WebP or SVG, up to 2 MB, as base64, into the draft |
rendel_set_experience | Name, tone, instructions, guardrails, topics to decline, languages, welcome title and line, up to four suggestions, into the draft |
rendel_upsert_knowledge({items}) | Public URLs (Rendel fetches them) or texts written from the app's code and copy, by external_key; up to 25 items and 2 MB a call. {op: "archive", external_key} archives one |
rendel_declare_screens({screens, archive}) | The screens the code registers with registerRoute, with the file and deep link; shown as planned until a build proves them |
rendel_upsert_actions({items}) | The app's REST endpoints as HTTP actions, by external_key, up to 50 a call. auth: "user" sends the signed-in person's token (https only); one that needs a key is refused, and runs in the app's code with registerAction instead. api_documents, beside items, names the API's own OpenAPI or Swagger document, which Rendel then reads every day |
rendel_status({wait_for?}) | What the server knows now: the app has called in, knowledge is indexed, screens still missing, the Go live checks. wait_for (app_ready or knowledge_ready) waits up to about 50 seconds for that flag |
rendel_run_smoke({latest?}) | Three to five questions from the configuration, each judged grounded or backed by an action; up to 2.5 minutes. latest: true returns the last run |
rendel_complete({summary, files_changed, human_todos, domains, contacts}) | Finishes with a summary, the files changed and the to-dos. The site's domains and the contact channels the code shows are saved where none are listed yet. A first setup also publishes the drafts and goes live when its checks pass. Ends the session |
rendel_fail({reason, step?}) | Stops with the reason and the step, shown on Home. Ends the session |
rendel_console_find({query?}) | The console's operations, what its pages do. Without query, each in a line; with words, the matching ones with their parameters |
rendel_console_read({app, operation, params}) | Reads one of them on one app, as its page shows it |
rendel_console_do({app, operation, params}) | Does one of them on one app, as you would on its page |
On a live app (a sync) the setup tools write the same way: knowledge, actions and screens apply at once, and the look and persona land in the draft.
The rest of the console
Your agent saves you a trip to the console: ask it to change a colour, add an allowed domain or a contact channel, write a knowledge page or go live, and it does it with the three rendel_console_* tools, with no setup running. They work from the same list of operations as Ask Rendel in the console, and each one runs the page's own function as you: your role decides what it may do, and Settings › Security › Audit log shows it with the agent named as the one who did it.
A few stay on the page, where you do them yourself: deleting knowledge, actions or a shared key, erasing a person, changing how long data is kept, rotating a key, removing a teammate and disconnecting GitHub. Reading conversations follows your organization's setting for Rendel reading them.
Refusals
A refusal comes back as a tool result with isError: true and a fixed message, so the agent reads it and carries on or stops. Only a missing or expired sign-in is an HTTP 401. Nothing in a result is text Rendel read from elsewhere: rendel_get_context gives ids, titles, addresses and external_keys, never a crawled page.
| When | The result says |
|---|---|
| A write carries something that looks like a credential | Which field, and that keys are entered in the console |
| A value fails its schema | The field and what it expects |
| The session has ended or been stopped | That the session is closed; start again from Home |
| The app is live and this is a setup | To use Sync with code |
Access
The agent signs in with OAuth 2.1: you approve it once in your browser, and the sign-in is yours. It works on every app your role lets you set up, one at a time, each named by the prompt you paste or by the call. The setup tools work only in a setup session the console opened; the console tools need none. It lasts 30 days from its last use, with access tokens that last an hour, and ends sooner if you leave the organization. Stop a session (on Home, or Settings › General › AI setup sessions) and the agent's next call in it is refused. Nothing is stored in your repository or your prompt. Clients find the server's details at:
https://rendel.ai/.well-known/oauth-protected-resource/api/mcphttps://rendel.ai/.well-known/oauth-authorization-server(PKCE with S256 only; dynamic client registration and client ID metadata documents)