Public: anyone can read this; the crew can change it.
A test calls every MCP tool marked as a write with a read-only token and finds each refused before it writes #5876
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
MCP tools declare
rwandneedsAdminScope(src/http/mcp.ts). Today no test walks all of them to prove a read-only token cannot write.Done when:
rwtool with anrotoken and minimal valid arguments, and each must refuse with the scope error. The event log and the row counts of the tables it touches must not change.needsAdminScopetool is also called with anrwtoken that is not admin scope, and refused.