MCP Server
Rewelo exposes all functionality as an MCP (Model Context Protocol) server over stdio transport. This lets AI assistants like Claude create projects, manage tickets, assign tags, and calculate priorities directly.
From version 0.7.1 on, rewelo is listed in the MCP Registry as io.github.sebs/ (the entry is server.json), so clients and directories that read the registry can offer it for installation.
Run it from the published Docker image, as configured below (recommended: it runs with dropped capabilities, a read-only filesystem and a memory limit), or with rw serve from the npm package (see Without Docker).
Prerequisites
Pull the image once (each release publishes ghcr.io/ and, for the newest release, :latest):
docker pull ghcr.io/sebs/rewelo:latest
To run a local build instead, build it from a checkout and use rewelo-mcp in place of ghcr.io/ below:
docker build --build-arg APP_VERSION="$(node -p "require('./package.json').version")" -t rewelo-mcp .
The database is stored inside the container volume at / and persists across restarts via the rw-data named volume.
Client Configuration
The MCP client (Claude Desktop, Claude Code, etc.) manages the container lifecycle automatically — it starts the container when needed and stops it when done.
Claude Desktop
Add to ~/:
{
"mcpServers": {
"rewelo": {
"command": "docker",
"args": ["run", "--rm", "-i", "--init", "--cap-drop=ALL", "--read-only", "--tmpfs", "/tmp", "--memory=256m", "-v", "rw-data:/data", "ghcr.io/sebs/rewelo", "serve"]
}
}
}
Claude Code
Add to .mcp.json in your project root, or register it for all your projects with claude mcp add --scope user rewelo -- docker run --rm -i --init --cap-drop=ALL --read-only --tmpfs /. The project file looks like this:
{
"mcpServers": {
"rewelo": {
"command": "docker",
"args": ["run", "--rm", "-i", "--init", "--cap-drop=ALL", "--read-only", "--tmpfs", "/tmp", "--memory=256m", "-v", "rw-data:/data", "ghcr.io/sebs/rewelo", "serve"]
}
}
}
What this does
--rmcleans up the container on exit--initensures signals (Ctrl+C, SIGTERM) are forwarded correctly- each client session gets its own container (no fixed
--name), so a second session, e.g. Claude Desktop and Claude Code at once, doesn't stop the first; they share the database in therw-datavolume -v rw-data:/persists the database across container restartsdata -ikeeps stdin open for stdio transport--cap-drop=ALLdrops all Linux capabilities for minimal attack surface--read-onlymakes the root filesystem read-only (only/is writable)data --tmpfs /provides a writable temp directory in memorytmp --memory=256mlimits container memory to 256 MB
Without Docker
With the npm package installed (npm install -g rewelo), a client can start rw serve directly. Set RW_ to keep the database in a fixed place; otherwise it is relative-weight.db in the client's working directory:
{
"mcpServers": {
"rewelo": {
"command": "rw",
"args": ["serve"],
"env": { "RW_DB_PATH": "/Users/you/rewelo/backlog.db" }
}
}
}
Verifying the Server
Use the MCP inspector to browse tools and test them interactively:
npx @modelcontextprotocol/inspector docker run --rm -i --init -v rw-data:/data ghcr.io/sebs/rewelo serve
Available Tools
project is optional everywhere it appears: without it, a tool uses the "project" field of the nearest .rewelo.json, looked up from the server's working directory upwards (for example {"project": "Acme"}). In the Docker setup above that directory is / inside the container, where there is none: use rw serve without Docker, started in the project's directory, or pass project. The server's instructions (sent on connecting) say which default project, if any, it found. A ? marks optional parameters.
Structured results
Every tool that returns data declares an outputSchema and returns its result twice: as structuredContent, typed and checked against that schema, and as the same JSON in a text block for clients that read only text. A client or script can rely on fields like priority and sequence without parsing text. On the 2025 protocol, structuredContent must be an object, so a list comes wrapped as {"result": [...]}; the text block holds the plain list.
export_, export_ and report_ return documents (CSV, JSON, HTML) and have no outputSchema: their result is the text block alone.
Questions to the user
When the client can show forms (MCP elicitation), two tools ask the user directly instead of trusting the model to:
project_asks the user to confirm, asdelete rw project deletedoes, and names how many tickets go with the project. Unless the user confirms, the project stays and the tool returns an error saying so.ticket_asks for the scores the call leaves out, with a drop-down of the Fibonacci values. Scores the user leaves empty, or all of them when the user declines, default to 1. When the user cancels, no ticket is created.create
A client without forms gets the previous behaviour: project_ deletes straight away and omitted scores default to 1. Its annotations still mark project_ as destructive, so the client can ask for approval itself.
Tool annotations
Every tool carries MCP annotations that say what it does to the database, so a client can run read-only tools without asking and warn before destructive ones:
- Read-only (
readOnlyHint): the*_,list *_,history *_,get calc_,* report_and* export_tools,* event_,log project_anddiff server_.version - Additive (
destructiveHint: false):project_,create ticket_,create tag_,create relation_andcreate import_. They only add data; an existing name or title is an error, not overwritten.csv - Destructive (
destructiveHint: true): every other tool. They overwrite or delete data: the deletes,ticket_,update ticket_, the tag changes,upsert weight_,set weight_andreset import_(which replaces the weights).json - Idempotent (
idempotentHint): the deletes,ticket_,upsert tag_,assign tag_,remove weight_andset weight_. Repeating the call with the same arguments changes nothing more.reset
No tool reaches outside the local database (openWorldHint: false).
Server
| Tool | Description | Parameters |
|---|---|---|
server_ | Return the running application version |
Projects
| Tool | Description | Parameters |
|---|---|---|
project_ | Create a new project | name |
project_ | List all projects | |
project_ | Delete a project and all its data, after the user confirms | name |
project_ | Revision history across all tickets in a project: newest first, or after since oldest first | project?, since?, limit?, offset? |
Tickets
| Tool | Description | Parameters |
|---|---|---|
ticket_ | Create a new ticket | project?, title, description?, benefit?, penalty?, estimate?, risk? |
ticket_ | List tickets with filtering and pagination | project?, tag?, tags?, excludeTags?, search?, sort?, limit?, offset?, minPriority?, minValue?, maxCost? |
ticket_ | Update a ticket | project?, title, newTitle?, description?, benefit?, penalty?, estimate?, risk? |
ticket_ | Create or update by title (idempotent) | project?, title, description?, benefit?, penalty?, estimate?, risk? |
ticket_ | Delete a ticket | project?, title |
ticket_ | Show revision history, oldest first | project?, title?, id?, limit?, offset? |
Score parameters (benefit, penalty, estimate, risk) must be Fibonacci values: 1, 2, 3, 5, 8, 13, or 21.
ticket_ supports large backlogs with filtering, search, and pagination:
- Tag intersection:
tags: ["state:backlog", "team:backend"]— only tickets matching all tags - Exclude tags:
excludeTags: ["state:done"]— hide completed items - Title search:
search: "login"— case-insensitive substring match - Score thresholds:
minPriority,minValue,maxCost— filter by calculated fields.minPrioritycompares the exact value / cost, not the roundedpriorityreturned: a ticket returned with 1.62 (21/13 = 1.615…) is belowminPriority: 1.62 - Pagination:
limit+offset— response includes{ total, offset, items }for paging
The legacy tag parameter (single string) is still supported alongside the new tags array.
Tags
| Tool | Description | Parameters |
|---|---|---|
tag_ | Create a tag | project?, prefix, value |
tag_ | Assign tags to tickets, creating missing tags | project?, ticket?, tickets?, prefix?, value?, tags? |
tag_ | Remove a tag from a ticket | project?, ticket, prefix, value |
tag_ | List all tags in a project | project? |
tag_ | Delete a tag no ticket holds | project?, prefix, value |
tag_ | Rename a tag value (assignments carry over) | project?, prefix, oldValue, newValue |
Tag prefix and value must be lowercase alphanumeric with hyphens (e.g. state, in-progress).
tag_ supports batch operations. Provide either ticket (single) or tickets (array) for targets, and either prefix+value (single tag) or tags (array of {prefix, value}) for tags. Every tag is assigned to every ticket. A ticket holds one value per prefix: assigning state:done replaces state:wip (listed under replaced in the result), and requesting two values of one prefix in one call is an error.
// single tag, single ticket (backward compatible)
{ "project": "Acme", "ticket": "Login page", "prefix": "state", "value": "backlog" }
// multiple tags on one ticket
{ "project": "Acme", "ticket": "Login page", "tags": [{"prefix": "state", "value": "backlog"}, {"prefix": "team", "value": "backend"}] }
// one tag on multiple tickets
{ "project": "Acme", "tickets": ["Login page", "Signup flow"], "prefix": "state", "value": "done" }
Weight Configuration
| Tool | Description | Parameters |
|---|---|---|
weight_ | View current weights (defaults: 1.5) | project? |
weight_ | Set weights (omitted ones keep current value) | project?, w1?, w2?, w3?, w4? |
weight_ | Reset weights to defaults (all 1.5) | project? |
Calculations
| Tool | Description | Parameters |
|---|---|---|
calc_ | Weighted priorities for all tickets, or those with every tag given; a blocked ticket names its open blockers | project?, tag?, tags?, w1?, w2?, w3?, w4?, unblocked?, limit?, offset? |
calc_ | Relative weights as share of total (fraction 0–1), of all tickets or those with every tag given | project?, tag?, tags?, limit?, offset? |
simulate | What-if ranking under hypothetical scores, tickets and weights; writes nothing | project?, tag?, tags?, changes?, add?, remove?, weights?, top?, limit? |
explain_ | One ticket's formula, rank, and what it takes to reach the top N | project?, title, tag?, tags?, top? |
suggest_ | Similar tickets, reference tickets per score, and the distribution, to score a new ticket; optionally the client model's scores | project?, title, description?, sample? |
plan_ | The open tickets that fit a capacity, by priority, with their blockers first | project?, capacity, effort?, tag?, tags?, excludeTags? |
suggest_ helps score a new ticket relative to the project's own backlog before ticket_. For a title (and description) it returns the most similar existing tickets with their scores, possible duplicates; for each dimension and each Fibonacci score, the existing ticket closest to the new one, as a reference point ("Login page has estimate 5"); and the project's score distribution. With sample: true, and when the client supports MCP sampling, it also asks the client's model for scores and returns them as suggestion (sampling says whether that worked: used, unsupported or failed). Claude Code doesn't support sampling; there, the calling model scores from the references itself.
A ticket is blocked while another ticket that blocks it, or that it depends-on, is open (not state:done); precedes and the other relations don't block. calc_ gives such a ticket blockedBy with the titles of its open blockers, and leaves it out with unblocked: true, which lists what can be started now. The ranking itself stays by priority: a blocked ticket keeps its rank. The backlog resource carries blockedBy too.
plan_ fills a capacity, such as a sprint's, with open tickets by weighted priority. A ticket takes its estimate from the capacity, or with effort: "cost" its estimate + risk. It comes with its open blockers, transitively, scheduled before it; when they don't fit together, the ticket is skipped, and filling goes on with smaller tickets further down. tickets is the plan in the order to work on it, a pulled-in blocker naming the tickets it is for (and rank: null when it lies outside the scope or is excluded); skipped lists the higher-ranked tickets that didn't fit, with what they needs together with their blockers. excludeTags: ["state:wip"] leaves out work already under way. The plan-sprint prompt uses it.
simulate and explain_ rank as calc_ does: by weighted priority, with the project's weights. They rank the open tickets only, as the backlog resource does: a ticket tagged state:done is no part of what to do next, and naming one is an error. They do the arithmetic on the server, so a model doesn't recalculate priorities itself:
// What if C were estimated 1 instead of 5, a new ticket came in, and A were dropped?
{ "project": "Acme", "changes": [{ "title": "C", "estimate": 1 }], "add": [{ "title": "SSO", "benefit": 13, "estimate": 5 }], "remove": ["A"] }
simulate returns the scenario's top tickets (top, default 10) and every ticket that the scenario changes, adds or removes, or that moves, with its rank and priority before and after and rankChange (positive: up). Omitted scores of an added ticket are 1; omitted weights keep the project's. Nothing is written: apply a scenario with ticket_.
explain_ returns the formula with the ticket's numbers, e.g. (1.5 × 3 + 1.5 × 2) /, its rank, and for the rank top (default 1): the priority of the ticket holding it now, and per score the smallest change of that one score that reaches it (for example estimate 5 → 2).
Relations
| Tool | Description | Parameters |
|---|---|---|
relation_ | Create a typed relation between tickets | project?, source, type, target |
relation_ | Remove a relation (both directions) | project?, source, type, target |
relation_ | List all relations for a ticket | project?, ticket |
relation_ | List every relation in a project | project?, limit?, offset? |
Types: blocks, depends-on, relates-to, duplicates, supersedes, precedes, tests, implements, addresses, splits-into, informs, see-also. Each asymmetric type has an inverse name, which listings show from the other ticket's side and which is accepted as well: is-blocked-by, is-depended-on-by, is-duplicated-by, is-superseded-by, follows, is-tested-by, is-implemented-by, is-addressed-by, is-split-from, is-informed-by. A is-blocked-by B is B blocks A.
A relation that contradicts an existing one (B blocks A next to A blocks B or A depends-on B) is refused, and so is one that closes a cycle of ordering relations (blocks, precedes, depends-on) through other tickets.
Reports
| Tool | Description | Parameters |
|---|---|---|
report_ | Project summary by state | project?, topN? |
report_ | Lead and cycle time report | project? |
report_ | When the open tickets (or items of them) will be done, by Monte Carlo from the recent pace | project?, items?, historyDays? |
report_ | Whether estimates predict cycle time: cycle time per estimate at the start of work, rank correlation, verdict | project? |
report_ | What changed in the ranking since a date, and why | project?, since? |
report_ | Throughput per week, cycle and lead time percentiles, work in progress by age | project?, weeks? |
report_ | Backlog health report, with the stale tickets | project?, threshold?, staleDays? |
report_ | Fibonacci score distribution | project? |
report_ | Group tickets by tag prefix | project?, prefix |
report_ | Self-contained HTML dashboard, with a cumulative flow diagram, a forecast, the ranking changes, a dependency graph and a browser of all tickets | project?, limit? |
dashboard_ | For the dashboard app only: a token that changes when the dashboard may have | project? |
report_ also lists the stale tickets as staleTickets: the open tickets whose scores haven't changed for staleDays (default 90), oldest first, with scoredAt (when the scores last changed, or the ticket was created) and days since then. A change of title, description or tags doesn't count as re-scoring. They are the tickets whose priority rests on the oldest judgement.
Event Log & Diff
| Tool | Description | Parameters |
|---|---|---|
event_ | Unified chronological event stream: newest first, or oldest first after since (for polling) | project?, since?, after?, limit? (default 50) |
project_ | Changes since a point in time | project?, since |
Change Plans
| Tool | Description | Parameters |
|---|---|---|
apply_ | Apply many changes in one transaction, or try them with dryRun | project?, operations, dryRun?, top?, limit? |
An agent grooming a backlog makes dozens of calls, and a failure halfway leaves the backlog half-changed. apply_ takes the whole plan as a list of operations and applies all of them or, when one fails, none; the error names the failing operation. With dryRun: true nothing is written, and the result shows what the plan would do, so the user can review it once instead of approving each call:
{ "project": "Acme", "dryRun": true, "operations": [
{ "op": "ticket_create", "title": "SSO", "benefit": 21, "penalty": 13, "estimate": 2, "risk": 1 },
{ "op": "ticket_update", "title": "Audit Log", "estimate": 3 },
{ "op": "tag_assign", "ticket": "Login page", "tag": "state:done" },
{ "op": "relation_create", "source": "SSO", "type": "blocks", "target": "Audit Log" },
{ "op": "ticket_delete", "title": "Old idea" }
] }
Operations: ticket_, ticket_, ticket_, tag_ and tag_ (with tag as prefix:value; tag_ creates a missing tag), relation_ and relation_, each with the parameters of the tool of that name. At most 1,000 per call. The result lists each operation's outcome (ticket_ with the fields it changed) and, under ranking, how the ranking of the open tickets changes, as simulate shows it: the new top tickets and every ticket created, updated, deleted, moved, or closed (done) or reopened (reopened) by a state:done tag.
Export / Import
| Tool | Description | Parameters |
|---|---|---|
export_ | Export tickets as CSV | project?, withCalculations? |
export_ | Export project data as JSON | project?, withHistory? |
import_ | Import tickets from CSV string | project?, csv |
import_ | Import project data from JSON (creates the project if needed) | project?, json |
export_ writes tickets (with their tags), the project's tags, relations and weights; import_ takes the same format:
{
"tickets": [
{ "title": "SSO Integration", "description": null, "benefit": 8, "penalty": 5, "estimate": 5, "risk": 3,
"tags": [{ "prefix": "state", "value": "backlog" }] },
{ "title": "Audit Log", "benefit": 3, "tags": [] }
],
"tags": [{ "prefix": "state", "value": "backlog" }],
"relations": [{ "source": "SSO Integration", "type": "blocks", "target": "Audit Log" }],
"weights": { "w1": 1.5, "w2": 1.5, "w3": 1.5, "w4": 1.5 }
}
Only tickets and each ticket's title are required; scores default to 1. Tags are {prefix, value} objects, not "prefix:value" strings. An import adds the relations and replaces the project's weights with the file's, and its result says so (relationsCreated, weights). A relation the others contradict (reversed, in the opposite order, or closing a cycle, as older versions could store) is left out and listed under relationsSkipped with the reason, so an older project's backup still restores.
With withHistory, export_ also writes each ticket's createdAt, updatedAt, revisions and tagChanges, and the project's deleted tickets as deletions (title, createdAt, deletedAt). import_ restores them, so lead and cycle times, the event log and project_ survive a backup and restore; pass them back as the export wrote them. Keys the format doesn't have are refused (Ticket 1: unknown key "benfit" (known: …)): a misspelt key isn't dropped silently.
Resources
Resources are context a user attaches to a conversation without a tool call; in Claude Code, type @rewelo: and pick one. Names in the URI are percent-encoded (My Project is My%20Project), and clients can autocomplete the project and the ticket title.
| Resource URI | Content | Type |
|---|---|---|
rewelo:/ | Open tickets (not state:done), ranked as calc_ ranks them, with scores, priorities, tags and the open tickets blocking them (blockedBy) | application/ |
rewelo:/ | One ticket with description, scores, priorities, tags and relations | application/ |
rewelo:/ | The HTML dashboard, as report_ renders it | text/ |
rewelo:/ | The dashboard with at most limit rows per table | text/ |
rewelo:/ | The export as export_ or export_ returns it; format is csv, csv-with-calculations, json or json-with-history | text/, application/ |
The resource list offers a backlog and a dashboard per project, and the server sends notifications/ when projects are created or deleted (by other processes too, while it watches for changes for a subscription or the channel); tickets and exports aren't listed, as a project can have thousands of tickets. Reading a resource counts against the same rate limit as a tool call. The backlog and a ticket, which are meant as context for the model, are limited to 5 MB like a tool result; dashboards and exports, which a client fetches on its own, to 10 MB. Both are measured as sent, with the text JSON-escaped: a message over 10 MiB makes the official TypeScript SDK's stdio client drop the connection.
The dashboard as an MCP App
Hosts that support MCP Apps (Claude Desktop, claude.ai, VS Code and others; not Claude Code) show report_'s result to the user as the dashboard itself, in a page the server provides at ui:/ (text/), instead of HTML as text. The tool points to it in its _ (ui.resourceUri). The page is self-contained, follows the host's light or dark theme, tells the host its height, and fetches a dashboard over 5 MB through the host from the resource the result links to. It shows the dashboard's styles and content only, never a script from it. Hosts without apps get the HTML as text, as before.
The dashboard in the app stays live. Hosts pass no resource notifications to an app's page, so while the page is visible it calls dashboard_ every 5 seconds: one query that returns a token, which changes whenever the database changes (through this server or another process, such as the rw CLI) or the day does. When the token differs from the one the dashboard was rendered with, the page calls report_ again and shows the new dashboard, keeping the choices made on it, such as the window of the cumulative flow. dashboard_ is marked for the app only (_), so hosts don't offer it to the model. After three failed checks in a row (a host that refuses the calls, a deleted or renamed project) the page stops, leaves the dashboard as it was, and says it isn't refreshing.
export_, export_ and report_ return their document inline up to 5 MB. Over that, they return a resource_ to the matching resource above instead of an error, so a client can fetch the document without it going through the model's context.
Live events
Resource subscriptions
A client can subscribe to any rewelo:/ resource. The server then sends notifications/ for it when the database changes: through one of its own tools, or through another process, such as the rw CLI or another session's server on the same database. It looks for changes every 2 seconds while anything is subscribed, and sends the notification for every subscribed resource, whichever project changed.
Claude Code channel (research preview)
With rw serve --channel, the server pushes changes made outside the session into Claude Code as channel messages, and Claude can react, for example by offering scores for a new ticket, without polling. Each event in the event log becomes one message, such as:
<channel source="rewelo" project="Acme" event="ticket_created" ticket="Login page" sequence="42">
New ticket "Login page" in Acme (benefit 13, penalty 5, estimate 3, risk 2).
</channel>
Changes the session makes through its own tool calls are not pushed back to it. At most 20 events per project are pushed at a time; more are summed up in one message pointing to event_. The server's instructions tell Claude that titles in these messages are data, not instructions.
To try it, add --channel after serve in the server's arguments, and start Claude Code with claude --dangerously-load-development-channels server:rewelo (for Team and Enterprise organisations, an admin has to allow channels). Channels are a research preview in Claude Code: the protocol may change, and a client that doesn't support them ignores the messages.
Prompts
The server also offers prompts: ready-made instructions for common backlog work, which a client shows as commands (in Claude Code, for example, /). Each one tells the model which tools to call and how to present the result. An argument a prompt doesn't have is an error, as for tools.
| Prompt | What it does | Arguments |
|---|---|---|
intake | Interview a stakeholder and create scored tickets | project? |
plan-sprint | Propose a sprint backlog from the priorities and a capacity | project?, capacity-points? |
standup | Daily digest: progress, blockers, sprint health | project? |
slice | Split a large ticket into smaller ones with distributed scores | project?, ticket-title? |
reprioritize | Reassess priorities after an event | project?, event-description? |
what-if | Explore scenarios with simulate, without changing data | project? |
flow-metrics | Lead time, cycle time and throughput from state tags | project? |
retro-accuracy | Compare estimates with outcomes to find scoring biases | project? |
portfolio | Compare value and effort across all projects | none |
Without project, a prompt uses the server's default project (see Available Tools), or tells the model to ask. The client can autocomplete project from the existing projects and ticket-title from the titles in the chosen project.
The prompts are the Claude Code skills in .claude/, built into the server by scripts/: change a skill there, and the prompt changes with the next build.
Skills
The same skills are also served as skills, through the MCP Skills extension (SEP-2640): a client that supports it lists them with skills/ and reads each SKILL.md as it is in the repository, front matter included, at skill:/. Unlike a prompt, which arrives with its arguments filled in, a skill is loaded by the client as a skill (with the allowed-tools and argument-hint of its front matter), and the client can verify each file against the size and digest the listing gives. The SKILL.md files also appear in the resource list. Clients that don't support the extension keep using the prompts. The SDK marks how the extension attaches to a server as experimental, so this may change with an SDK update.
Example Session
User: Create a project called "Q3 Roadmap" and add three tickets.
Assistant calls: project_create { name: "Q3 Roadmap" }
Assistant calls: ticket_create { project: "Q3 Roadmap", title: "SSO Integration", benefit: 13, penalty: 8, estimate: 8, risk: 5 }
Assistant calls: ticket_create { project: "Q3 Roadmap", title: "Dashboard Redesign", benefit: 8, penalty: 3, estimate: 5, risk: 3 }
Assistant calls: ticket_create { project: "Q3 Roadmap", title: "API Rate Limiting", benefit: 5, penalty: 5, estimate: 3, risk: 2 }
Assistant calls: calc_priority { project: "Q3 Roadmap" }
Result:
1. API Rate Limiting — weighted: 2.0
2. SSO Integration — weighted: 1.62
3. Dashboard Redesign — weighted: 1.38
Troubleshooting
| Message | What to do |
|---|---|
Tool … not found | The client talks to an older build. Call server_ (or run rw --version) and restart the MCP server after upgrading. |
No project specified and no .rewelo.json config found | Pass project, or add a .rewelo.json with {"project": "<name>"} in the server's working directory or a parent (not possible with the Docker image, whose working directory is /). |
Project "…" not found | Check the name with project_; names are matched exactly (after trimming). With (named in …/, the default project in that file doesn't exist (it may have been renamed: opening a database from an older rewelo renames project names today's rules reject). |
The database is locked by another process. Try again later | Another rw process has held the write lock for more than 30 seconds (for example a very large import). Retry when it has finished; reading is not blocked. |
The database uses schema version …, but this rewelo supports up to version … | The database was upgraded by a newer rewelo. Upgrade the server. |
The database file is not a rewelo database | --db / RW_ points at another application's SQLite file. |
Rate limit exceeded (100 calls per second). Try again in N s. | Tool calls start at most 100 per second; calls beyond that wait their turn, and a call that would wait more than 10 seconds is refused. |
Request payload too large | A tool call's text arguments may total at most 1 MB; split an import into several calls. |
arguments contain more than the maximum of 20000 elements | A tool call's arguments may hold at most 20,000 array elements and object members together (apply_ at its 1000 operations needs about 9,000). Split the call. |
Request too large: a message may be at most 4 MB | A JSON-RPC message over 4 MB is dropped unread (and noted on stderr); the server goes on serving. Split the call. |
The result is too large | Tool results are limited to 5 MB as sent: the data goes out twice, as JSON text and as structuredContent, so about 2.5 MB of it. Page through ticket_ with limit and offset (it returns 100 tickets by default); calc_, calc_ and relation_ take them too (all by default). For a backlog too large to read as a resource, use ticket_ with sort: "priority". Exports and dashboards over 5 MB come as a link to a resource, which may be up to 10 MB; beyond that, export or render with the rw CLI, which writes files. |
To check the server by hand, see Verifying the Server.
Validation and Security
All tool inputs pass through the same validation layer as the CLI:
- Project names: alphanumeric, hyphens, underscores, single spaces (max 100 chars)
- Ticket titles: max 500 chars, no null bytes
- Tag prefix/value: lowercase alphanumeric with hyphens only
- Fibonacci scores enforced on all ticket score fields
- Unknown parameters are rejected (a misspelt
benfitis an error, not ignored) - SQL injection payloads are harmless (all queries use parameterised statements)
- Error messages never expose SQL, file paths, or stack traces
- Container runs as non-root with a named volume for data isolation