Single entry (operators + agents): AGENT_INTEGRATION.md — base URL, headers, CLI, brain-map policy.
Purpose: Recommended stack for action parity without inventing parallel business layers. There is no first-party OpenGrimoire MCP server in this repo; parity is API-shaped first.
Normative contract: ARCHITECTURE_REST_CONTRACT.md.
- Alignment context: Full list/create/patch/delete via ALIGNMENT_CONTEXT_API.md and
scripts/alignment-context-cli.mjs(list,create,patch,delete). - Intent ledger read model:
GET /api/intent-ledgerandGET /api/intent-ledger/:attendeeIdfor merged Sync Session + clarification + alignment records (see INTENT_LEDGER_API.md). - Brain-map graph:
GET /api/brain-map/graphfor the JSON document consumed by the viewer. - Harness profiles: CRUD + selection surface under
/api/harness-profiles*plus OpenHarness bundle endpoint (/api/harness-profiles/openharness); behavior mapping guide in HARNESS_PROFILE_ALIGNMENT.md.
Set OPENGRIMOIRE_BASE_URL to your app origin (local dev defaults to port 3001 — see README). Set ALIGNMENT_CONTEXT_API_SECRET when the server enforces x-alignment-context-key.
Where there is no stable API for a user action, use Playwright (CI truth), Maestro (optional YAML smoke), or generic browser MCP — see e2e/maestro/README.md and sibling harness MiscRepos docs/Agent-Native-Testing.md (assumes OpenGrimoire and MiscRepos are sibling folders under the same parent, e.g. GitHub/).
A dedicated MCP server could expose only thin wrappers around existing endpoints — not a second orchestration or business layer. Workspace-wide MCP inventory: MiscRepos .cursor/docs/MCP_CAPABILITY_MAP.md (sibling clone; there is no mcp-server/ package in this repo — see AGENT_TOOL_MANIFEST.md).
Checklist (if you add an MCP server elsewhere): map tools 1:1 to existing HTTP methods — e.g. alignment_context_list → GET /api/alignment-context, alignment_context_create → POST /api/alignment-context, alignment_context_patch → PATCH /api/alignment-context/:id, alignment_context_delete → DELETE /api/alignment-context/:id, brain_map_graph_get → GET /api/brain-map/graph. Pass through the same headers (x-alignment-context-key, x-brain-map-key) and env-backed secrets; do not embed business rules beyond request shaping.
Stub / pointer (no server in-repo): scripts/mcp-opengrimoire/README.md.
Scoring note: product branding on a tool is optional; parity is measured by REST + CLI + E2E, not naming.