Documents an example stdio MCP server named `may_i` that exposes two tools (`may_i` and `explain_rulebook`) so an agent can query a rulebook before acting, and explains the design rule that facts come from the server's own fact source rather than from the requesting agent.
Source: README.md — Neuroverseos-governance
Brought in: 2026-11-22
12 understandings read from it.
- The `may_i` example is a stdio MCP server that lets an agent ask a rulebook before it acts. — 2026-10-18
- The MCP SDK is a dependency of this example only, and the core package stays zero-dependency. — 2026-10-18
- The stub should be replaced with real sources, keeping the rule. — 2026-10-18
- The server validates the rulebook on start and never changes it, and it adds nothing to a decision. — 2026-10-18
- The example is run by going to examples/mcp, running npm install, and running npm start with a rules file such as ../../example-grocery-01.rules.json, taken from `npm run demo -- --json` at the repo root or from a switchboard export. — 2026-10-18
- A client config for Claude Desktop, Claude Code, Cursor or any MCP client registers the server as "robot-domain-rules" with command npx and args tsx, the server.ts path and a rules file path. — 2026-10-18
- The `may_i` tool takes a participant with id, kind and roleId plus an action, and returns the request the harness built and the decision exactly as `evaluateDomainAction` returns it. — 2026-10-18
- The agent reads `status`; on `PAUSE` it reads `approvalRequests` and asks a person; on `LIMIT` it reads `limits`. — 2026-10-18
- The `explain_rulebook` tool returns the rulebook as text, with the rules at odds. — 2026-10-18
- Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- The area the agent is in, the people count, the alarm, the time (`now`) and its recent history are all taken by the server from its own fact source, in this example a stub (`harnessFacts` in `server.ts`) standing in for the spatial system, sensors and clock. — 2026-10-18
- The tool has no `areaId` and no `facts` parameters, because an agent that could pass its own facts could talk the rulebook into anything. — 2026-10-18
## Who, where and what
Places: [[Bevia/World/Places/examples-mcp|examples/mcp]]
Things: [[Bevia/World/Things/..-..-example-grocery-01.rules.json|../../example-grocery-01.rules.json]], [[Bevia/World/Things/-path-to-examples-mcp-server.ts|/path/to/examples/mcp/server.ts]], [[Bevia/World/Things/-path-to-site.rules.json|/path/to/site.rules.json]], [[Bevia/World/Things/action|action]], [[Bevia/World/Things/approvalRequests|approvalRequests]], [[Bevia/World/Things/areaId|areaId]], [[Bevia/World/Things/evaluateDomainAction|evaluateDomainAction]], [[Bevia/World/Things/explain_rulebook|explain_rulebook]], [[Bevia/World/Things/facts|facts]], [[Bevia/World/Things/harnessFacts|harnessFacts]], [[Bevia/World/Things/id|id]], [[Bevia/World/Things/kind|kind]], [[Bevia/World/Things/LIMIT (9032047a)|LIMIT]], [[Bevia/World/Things/limits|limits]], [[Bevia/World/Things/may_i|may_i]], [[Bevia/World/Things/MCP (e7be9287)|MCP]], [[Bevia/World/Things/MCP SDK|MCP SDK]], [[Bevia/World/Things/now|now]], [[Bevia/World/Things/npm install|npm install]], [[Bevia/World/Things/npm run demo -- --json|npm run demo -- --json]], [[Bevia/World/Things/npm start|npm start]], [[Bevia/World/Things/npx|npx]], [[Bevia/World/Things/participant|participant]], [[Bevia/World/Things/PAUSE|PAUSE]], [[Bevia/World/Things/robot-domain-rules|robot-domain-rules]], [[Bevia/World/Things/roleId|roleId]], [[Bevia/World/Things/server.ts|server.ts]], [[Bevia/World/Things/status|status]], [[Bevia/World/Things/stdio|stdio]], [[Bevia/World/Things/tsx|tsx]]
## Connections to other sources
- **Same point** — Both hold that facts come from the harness and the requester only states identity and intent.
- Here: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- There: Facts, `now`, `history`, the scope, the delegation chain and the approvals come from the harness, never from the requester. — from [[Bevia/World/Sources/AGENTS.md — Neuroverseos-governance|AGENTS.md — Neuroverseos-governance]] — 2026-10-19
- **Same point** — Both say the harness supplies facts and the requester only says who it is and what it wants.
- Here: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- There: Everything else in the request — the scope or area, every fact, history, now, consumedApprovals, the delegation chain and the approvals — is assembled by the c… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Same point** — Both state the same rule that facts come from the harness, never the requester.
- Here: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- There: "Facts come from the harness, never from the requester" is integration rule #1. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18
- **Same point** — Both say the harness supplies facts while the agent only states identity and intent.
- Here: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- There: The harness that stands between the model's proposal and the tool is the fact source: the scope the call lands in, the derived facts, the projected spend, the… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- PRINCIPLES|NeuroverseOS/Neuroverseos-governance: PRINCIPLES]] — 2026-10-19
- **Same point** — Both say facts come from the harness, not the model.
- Here: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- There: The adapter stands between the model's tool call and the tool, and facts come from your harness, never from the model. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- README|NeuroverseOS/Neuroverseos-governance: README]] — 2026-10-19
- **Emerging** — One states the rule; the other explains the layer trusts the harness's facts.
- Here: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- There: The layer takes as true the facts in the request, including the scope the harness resolved, the derived facts it computed, the projected spend it reserved, and… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19
- **Emerging** — One states the rule; the other rules out layers that break it.
- Here: Facts come from the harness, never from the requester: the agent says only who it is and what it wants to do. — 2026-10-18
- There: A trusted layer that lets the requester supply facts, or verifies approvals against the wrong keys, is out of scope: the evaluator cannot tell where a fact cam… — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- BOUNDARY|NeuroverseOS/Neuroverseos-governance: BOUNDARY]] — 2026-10-19