Nogra MCP
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nogra MCP save a brief titled Q4 review"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nogra MCP
The MCP server behind Nogra — brief, GO, dispatch,
evidence, verify for AI-assisted work. This package is the protocol bridge:
32 public tools for briefs, dispatch transport, run events, registry and
redaction, served over MCP stdio against the current workspace's local
.nogra/ records.
Install
Usually nothing to install: the Nogra Claude Code plugin starts this server
automatically through its bundled launcher (npx first, uvx/pipx as
fallbacks). Standalone:
npx -y @nograai/mcp # npm path — standalone platform binaries, no Python needed
uvx nogra-mcp # PyPI path — needs uv on PATHRun it from a workspace folder; it reads and writes that workspace's
.nogra/ records.
Related MCP server: Memory MCP Server
What it serves
Public mode only: 32 tools covering brief save/validate/promote, dispatch handoffs, transport lifecycle (dispatch, status, events, return), run records, the contract registry and text redaction. Everything stays in local markdown/JSON files the user owns — the server does zero model inference, makes no network calls of its own, and never touches credentials.
Naming
The nogra MCP server name is reserved for the public plugin path. If you
develop against a local checkout, register it under a different name (for
example nogra-dev) so the two never collide.
Available Tools
32 toolsagent_exec_packetB
Build an Agent Exec dispatch packet without invoking execution.
Inputs: brief_path (required), project_dir (required), sandbox, intent_id, +3 more. Returns: object
brief_contractA
Read the public Nogra brief contract.
Returns the fields, markdown anchors, default return policy and public resources needed to draft a
`nogra.brief.v1` brief before calling validation or save tools.
When to use:
- Draft a Nogra brief from user intent without guessing field names or required sections.
- Check how markdown sections map into the structured brief object.
- Confirm that response length policy is a return policy, not a brief length cap.
When NOT to use:
- Do not use this as execution approval.
- Do not dispatch work from this contract alone; save/promote/dispatch gates still apply.
Examples:
>>> brief_contract(workspace_id="acme-app")
{"schema": "nogra.brief.contract.v1", "briefSchema": "nogra.brief.v1", "requiredFields": [...]}
Inputs: workspace_id. Returns: object
brief_promoteA
Promote a saved public Nogra brief draft.
Marks a draft ready, validates it, renders markdown, and returns localWrites for the promoted brief artifact.
Hosted/plugin mode should pass the inline brief payload because the customer's local `.nogra/` store is the
authority.
When to use:
- Convert a valid draft payload into a ready markdown brief artifact.
- Produce a stable promoted brief path while keeping draft JSON readable.
When NOT to use:
- In hosted/plugin mode, do not rely on server-side draft state; pass the local draft payload inline.
- Do not use this to edit a draft; use brief_save for updates.
Examples:
>>> brief_promote("brief-import-audit-2026-05-06-a1b2c3", payload={...})
{"draft": {...}, "brief": {...}, "path": ".nogra/briefs/BRIEF-import-audit-2026-05-06.md"}
Inputs: payload, brief_id. Returns: object
brief_readA
Read a public Nogra brief by id.
Reads draft JSON first and falls back to matching promoted markdown when no draft exists.
When to use:
- Retrieve a saved or promoted public brief through tools.
- Verify the current status and path for a known brief id.
When NOT to use:
- Do not use this to list recent briefs; use recent_briefs.
- Do not use this to validate arbitrary unsaved input; use brief_validate.
Examples:
>>> brief_read("brief-import-audit-2026-05-06-a1b2c3")
{"status": "ok", "brief": {...}, "path": ".nogra/briefs/BRIEF-import-audit-2026-05-06.md"}
Inputs: brief_id (required). Returns: object
brief_saveA
Save a public Nogra brief draft.
Parses markdown or structured input, normalizes it to the public brief schema, validates it, and returns
localWrites for the caller-owned `.nogra/` draft store. In hosted mode, this tool does not rely on persistent
server-side draft storage.
When to use:
- Create or update a caller-owned brief draft through the MCP tool interface.
- Convert a markdown brief into public structured brief JSON before promotion.
When NOT to use:
- Do not use this to mark a brief ready; use brief_promote for promotion.
- Do not use this for run updates or events; use the run/event tools for those substrates.
Examples:
>>> brief_save({"title": "Import audit", ...}, source="cli")
{"schema": "nogra.brief.v1", "releaseVersion": "v1.0.0", "briefId": "brief-...", "status": "draft", "path": ".nogra/briefs/drafts/brief-....json", ...}
Inputs: payload (required), source, brief_id. Returns: object
brief_validateA
Validate a public Nogra brief payload without persisting it.
Parses and normalizes the supplied payload, then runs the public brief schema checks. Invalid input is returned
as structured errors rather than raised to the caller.
When to use:
- Check whether a draft can be saved or promoted before writing it.
- Inspect the normalized public brief shape produced from markdown.
When NOT to use:
- Do not use this to persist a draft; use brief_save for writes.
- Do not use this to read stored briefs; use brief_read or recent_briefs.
Examples:
>>> brief_validate({"title": "Import audit", ...})
{"valid": true, "errors": [], "normalized": {...}}
Inputs: payload (required). Returns: object
chain_pm_then_agentC
Chain PM -> Agent under a single chain id with persistent chain-state.
Inputs: brief, brief_id, intent_id, brief_path, +4 more. Returns: object
dispatch_handoffA
Build a public dispatch handoff.
Bundles an existing public brief, caller-defined target, optional linkage, optional doctrine text, and metadata
into a self-contained handoff for a caller-owned runtime. In plugin mode, this handoff is material for
a customer-side ephemeral subagent; it is not permission for Manager to execute the scope inline.
When to use:
- Prepare a saved public brief for handoff to a runtime without requiring another MCP read.
- Include small workspace-local reference files beside the embedded brief content.
- Support a plugin-mode Manager -> ephemeral executor crossing when dispatch handoff material is useful.
When NOT to use:
- Do not use this to execute work; it only builds a handoff.
- Do not use this without a saved brief; use transport_register directly for brief-less tracking.
- Do not use this as a fallback after subagent spawning fails.
Examples:
>>> dispatch_handoff("brief-import-audit-2026-05-06-a1b2c3", "audit-job")
{"schema": "nogra.dispatch.handoff.v1", "target": "audit-job", "brief": {...}, ...}
Inputs: target (required), brief_id (required), metadata, intent_id, +2 more. Returns: object
handoff_contractA
Return an ephemeral Nogra handoff contract.
Nogra execution roles are not installed as persistent Claude Code project agents. The Manager fetches a
handoff contract at a dispatch or verification boundary, then spawns Claude Code's built-in general-purpose
subagent with the returned prompt plus the approved brief, run id, scope and evidence contract.
Manager must not implement the approved scope inline. If the client cannot spawn the subagent, stop and
surface the missing primitive instead of offering a fallback.
When to use:
- After a brief is approved and a dispatch receipt/run id exists, fetch kind=executor before spawning the run agent.
- Before independent evidence checks, fetch kind=verifier before spawning a disposable verifier agent.
When NOT to use:
- Do not call repeatedly during normal lifecycle logging.
- Do not persist the returned prompt as a .claude/agents file.
- Do not use this as execution approval; the user-approved brief and dispatch receipt remain the authority.
- Do not use this to justify inline Manager execution.
Examples:
>>> handoff_contract("executor")
{"schema": "nogra.handoff.contract.v1", "status": "ready", "kind": "executor", "targetSubagent": {"type": "general-purpose", ...}}
Inputs: kind, role. Returns: object
initA
Return the public Nogra init bundle for Claude Code to write locally.
This tool is the server-side source for Nogra workspace files. It does not write files and does not
execute commands. The caller's Claude Code client should write each returned file into the user's chosen
workspace path using the file writePolicy. Newer clients should use the returned installPlan
for phase-grouped writes and a quieter installation summary.
When to use:
- Initialize Nogra in a customer workspace after the hosted MCP server has been added.
- Respond to user requests such as "run Nogra init" or "/nogra init".
- Retrieve the current public-safe Nogra workspace methodology bundle.
- Use mode=plugin when the Nogra plugin is installed; plugin mode returns only workspace bootstrap files,
not plugin-owned commands or skills.
When NOT to use:
- Do not treat this as an installer that can write to the user's filesystem.
- Do not overwrite files marked ask_before_overwrite without asking the user.
- Do not expect this to configure provider auth, run local commands, or perform workspace execution.
Examples:
>>> init(workspace_name="Acme App")
{"schema": "nogra.init.bundle.v1", "releaseVersion": "v1.0.0", "status": "ready", "writeMode": "client_writes_files", "files": [...]}
>>> init(workspace_name="Acme App", mode="plugin")
{"schema": "nogra.init.bundle.v1", "releaseVersion": "v1.0.0", "initMode": "plugin", "files": [...]}
Inputs: mode, workspace_name. Returns: object
optional_feature_bundleA
Return an optional Nogra feature bundle for Claude Code to write locally after user opt-in.
This tool is download-on-demand. It does not write files, start local processes or change the workspace.
The caller's Claude Code client should write returned files only after the user explicitly asks for the
optional feature, preserving each returned writePolicy.
When to use:
- Install an optional Nogra feature advertised by init, such as the local pinboard renderer.
- Re-download an optional feature file after the user asks to repair or update it.
When NOT to use:
- Do not call during default /nogra init unless the user opted into that feature.
- Do not auto-start any local process after writing optional files.
Examples:
>>> optional_feature_bundle("local-pinboard-renderer")
{"schema": "nogra.optional_feature.bundle.v1", "status": "ready", "files": [...]}
Inputs: feature_id (required), workspace_name. Returns: object
post_eventA
Append a workspace activity event.
Writes one JSONL event into the configured workspace .nogra events log with schema, id, timestamp,
workspace id, event type, message, and optional brief/run links, then returns the event id and events
resource URI.
When to use:
- Record a visible workspace activity note for pinboard or workflow surfaces.
- Attach a lightweight event to a brief id, run id, or both.
When NOT to use:
- Do not use this for run status history; use update_run for run updates.
- Do not use this to store large reports or artifacts; it appends a compact event message.
Examples:
>>> post_event("dispatch", "Queued analytics audit", brief_id="brief-123", run_id="run-456")
{"status": "ok", "eventId": "event-...", "resourceUri": "nogra://workspace/local/pinboard/events"}
Inputs: message (required), event_type (required), run_id, brief_id. Returns: object
provider_handoffA
Create a dry-run provider handoff receipt.
Renders the configured provider handoff template, redacts secret-shaped text, stores the
hosted receipt, and returns the handoff id plus localWrites guidance for the caller-owned
`.nogra/` receipt copy.
This public V1 tool does not call a live provider.
When to use:
- Prepare a redacted provider handoff before handing work to another model or reviewer.
- Validate how a prompt, context, and mode will render without making an external model call.
When NOT to use:
- Do not use this when you need an actual provider response; providerCall.attempted is always false.
- Do not use this for run tracking or pinboard activity; use event/run tools for that.
Examples:
>>> provider_handoff(provider="codex", prompt="Review this brief", context="Scope: docs only", intent="review")
{"status": "dry_run", "handoffId": "provider-handoff-...", "provider": "codex", "intent": "review", ...}
Inputs: mode, model, intent, prompt, +3 more. Returns: object
provider_handoff_readA
Read the redacted rendered prompt for a stored provider handoff receipt.
Looks up a previously written provider handoff receipt by id, validates the id shape, reads the receipt JSON from the
workspace .nogra receipts directory, and returns the redacted rendered prompt plus any redaction labels.
When to use:
- Inspect the exact redacted prompt that was stored for a previous dry-run provider handoff.
- Recover prompt text by handoff id without re-rendering or creating a new receipt.
When NOT to use:
- Do not use this before creating a provider handoff receipt; missing ids return a missing status.
- Do not use this for unredacted secrets or raw provider prompts; the stored field is redacted.
Examples:
>>> provider_handoff_read("provider-handoff-20260504120000-abc123ef")
{"status": "ok", "handoffId": "provider-handoff-20260504120000-abc123ef", "renderedPromptRedacted": "...", "redactions": []}
Inputs: consult_id, handoff_id. Returns: object
recent_briefsA
List recent public Nogra briefs.
Returns recent draft JSON and promoted markdown briefs from the configured workspace brief substrate.
When to use:
- Build caller-driven brief lists through tools.
- Inspect recent draft and promoted brief activity without reading resource URIs.
When NOT to use:
- Do not use this to read a specific brief body; use brief_read.
- Do not use this to create or promote briefs; use the write lifecycle tools.
Examples:
>>> recent_briefs(limit=10)
{"workspaceId": "local", "briefs": [...]}
Inputs: limit. Returns: object
recent_eventsA
Read recent workspace activity events.
Returns recent JSONL event entries from the configured workspace .nogra events log.
When to use:
- Inspect recent public workspace activity recorded through post_event.
- Build caller-driven views over the local event substrate without reading resources directly.
When NOT to use:
- Do not use this for run status history; use recent_runs for run updates.
- Do not use this to append events; use post_event for writes.
Examples:
>>> recent_events(limit=20)
{"workspaceId": "local", "events": [...]}
Inputs: limit. Returns: object
recent_runsA
Read recent workspace run updates.
Returns the latest valid JSONL update from recent run files under the configured workspace .nogra runs
directory, including run id, status, timestamp, brief id, and notes.
When to use:
- Inspect recent run status updates recorded through update_run.
- Build caller-driven views over the local run substrate without reading resources directly.
When NOT to use:
- Do not use this to append run status; use update_run for writes.
- Do not use this for general activity events; use recent_events for event history.
Examples:
>>> recent_runs(limit=10)
{"workspaceId": "local", "runs": [...]}
Inputs: limit. Returns: object
redact_textA
Redact secret-shaped text without writing a record.
Applies the public Nogra secret-pattern filter to caller-provided text and returns the redacted text plus
category labels for every detected secret-shaped match.
When to use:
- Preview which secret-pattern labels Nogra would detect in text before writing it to workspace substrate.
- Build caller-side masking or display logic from the same labels used by write-time annotations.
When NOT to use:
- Do not use this as destructive storage; write-tools annotate records and keep original text.
- Do not use this for provider handoff receipts; provider_handoff already redacts rendered prompts.
Examples:
>>> redact_text("token=sk_test_abcdefghij1234567890")
{"redacted": "token=[REDACTED]", "redactions": ["api-key-shape"]}
Inputs: text (required). Returns: object
registryA
Read the public Nogra MCP V1 registry.
Returns the public registry payload for the configured workspace, including public tool names, resource
URIs, boundary flags, extension metadata, and the workspace substrate paths that a caller may inspect.
When to use:
- Discover what the public Nogra MCP exposes before choosing another tool.
- Check whether extensions are enabled and which tools/resources are visible in this workspace.
When NOT to use:
- Do not use this to read the contents of resources; fetch the resource URI directly instead.
- Do not use this to create provider handoff receipts, post events, or update runs.
Examples:
>>> registry()
{"name": "nogra-mcp", "version": "v1.0.0", "status": "v1-local-validation", "tools": [...], ...}
Inputs: no named parameters. Returns: object
transport_abortA
Abort or cancel a Transport run.
Use when the user stops an executor, cancels a run, or a dispatched run
must be marked cancelled without pretending verification completed.
In hosted/plugin mode the customer's `.nogra/` ledger is local. Pass
current_run when available so this tool can return exact localWrites for
the run record and cancellation event.
Inputs: run_id (required), reason, summary, current_run. Returns: object
transport_ackB
Acknowledge a non-hosted Transport run; hosted mode returns local-ledger guidance.
Inputs: note, run_id. Returns: object
transport_cleanupA
Clean non-hosted Transport state; hosted mode returns local-ledger guidance.
Inputs: dry_run, max_events, max_log_bytes, archive_after_hours, +1 more. Returns: object
transport_dispatchC
Dispatch a workflow target through Nogra Transport.
Inputs: wait, brief, target, dry_run, +11 more. Returns: object
transport_eventsC
Read non-hosted Transport events; hosted mode returns local-ledger guidance.
Inputs: limit, run_id. Returns: object
transport_registerA
Register a public transport run.
Creates a state-only run record, allocates report/output/log artifact paths under the workspace transport
substrate, persists state atomically, and appends a transport event.
When to use:
- Start tracking caller-owned work through public transport state.
- Allocate artifact paths before an external runtime begins work.
When NOT to use:
- Do not use this to execute work; public transport is state-only.
- Do not use this for lightweight event logging; use post_event for that.
Examples:
>>> transport_register("import-audit", brief_id="brief-123")
{"schema": "nogra.transport.run.v1", "runId": "transport-...", "status": "queued", ...}
Inputs: target (required), brief_id, metadata. Returns: object
transport_returnB
Return non-hosted report/output payload; hosted mode returns local-ledger guidance.
Inputs: run_id, include_text. Returns: object
transport_statusB
Read non-hosted Transport run state; hosted mode returns local-ledger guidance.
Inputs: limit, run_id, include_archive. Returns: object
transport_submit_reportA
Submit a Transport report in non-hosted mode; hosted mode returns local-ledger guidance.
Inputs: report, run_id, status, summary, +3 more. Returns: object
transport_updateA
Update a public transport run.
Applies partial status, phase, notes, error, or summary updates to an existing run and appends an event with
the changed fields.
When to use:
- Move a run from queued to running, returned, failed, or another public lifecycle state.
- Attach status notes from an external runtime.
When NOT to use:
- Do not use this to write report artifacts; use transport_submit_report.
- Do not use this for brief draft lifecycle changes.
Examples:
>>> transport_update("transport-20260506120000-a1b2c3d4", status="running")
{"runId": "transport-...", "status": "running", "phase": "running", ...}
Inputs: run_id (required), error, notes, phase, +2 more. Returns: object
transport_validate_completionC
Validate completion from inline hosted evidence or non-hosted runtime records.
Inputs: run_id (required), evidence. Returns: object
transport_watchB
Wait for a non-hosted Transport run; hosted mode returns local-ledger guidance.
Inputs: run_id (required), wait_seconds. Returns: object
update_runA
Append a workspace run status update.
Writes one JSONL status entry under the configured workspace .nogra runs directory for the sanitized run id,
including schema, timestamp, workspace id, status, notes, and optional brief id, then returns the run resource
URI.
When to use:
- Record that a run moved to a new status such as queued, running, complete, blocked, or failed.
- Attach notes to a run timeline without changing any external transport state.
When NOT to use:
- Do not use this for general activity notes; use post_event for non-run events.
- Do not use this to dispatch work or submit report artifacts; this only appends a public run update.
Examples:
>>> update_run("run-456", "running", notes="Audit started", brief_id="brief-123")
{"status": "ok", "runId": "run-456", "resourceUri": "nogra://workspace/local/runs/run-456"}
Inputs: run_id (required), status (required), notes, brief_id. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Many tools overlap in purpose, particularly the transport_* suite (register, update, status, return, watch, ack, cleanup, dispatch, etc.) and the run/event tools (update_run, recent_runs, post_event). Despite detailed descriptions, the boundaries between transport runs and regular runs are unclear, leading to likely misselection.
Names follow multiple patterns: brief_* is consistent, but there is a mix of verb_noun (post_event, update_run) and transport_verb (transport_register, transport_submit_report) plus outliers like chain_pm_then_agent. No single convention dominates.
32 tools is on the high side for a workflow management server. While many tools serve distinct lifecycle stages, the transport/run duplication inflates the count. A more streamlined set of 15-20 tools would be more appropriate.
Covers brief CRUD, event logging, run updates, and handoff construction. However, there are gaps: no tool to delete a brief, no single-run retrieval (only recent_runs and transport_status), and no direct run creation (transport_register is separate). Core workflows are present but not fully closed.
Related MCP Connectors
PDF and image tools for AI agents: compress, merge, split, OCR, sign. Runs locally, never uploads.
Deterministic AI agent microtools, no accounts/API keys. fetch_extract: 98% token cut. 47 tools.
Independent directory of agentic AI tools — search, compare & recommend via MCP. Read-only.
JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables secure local filesystem operations and interactive terminal sessions for AI assistants. Provides 12 tools for file management, directory operations, code searching, and running interactive REPLs with security protections.34 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides tools for AI agents to manage long-term memories, daily notes, and TODO lists through a structured markdown file system. It enables context awareness by allowing agents to read, write, and search entries for persistent information storage.17 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to manage a file-backed ticketing system directly within a local repository using a structured state machine and directory hierarchy. It enforces strict markdown schemas and provides specialized tools for claiming tasks, appending work logs, and validating ticket metadata.-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with local documents (PDF, Markdown, TXT) through tools for discovery, reading, extraction, summarization, comparison, keyword extraction, search, and analysis, ensuring privacy and offline capability.-