novyx-mcp

May 13, 2026 · View on GitHub

Governed actions, shared memory, audit, and rollback for MCP clients such as Claude Desktop, Cursor, and Claude Code. Works locally with zero config (SQLite) for memory and policy-evaluation workflows, or connects to Novyx Cloud for policy-as-code, approval workflows, governance dashboards, Runtime v2, threat intelligence, auto-defense, replay, and eval baselines. Every Novyx customer makes every other customer safer.

Install

pip install novyx-mcp

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "novyx-memory": {
      "command": "python",
      "args": ["-m", "novyx_mcp"],
      "env": {
        "NOVYX_API_KEY": "nram_your_key_here"
      }
    }
  }
}

Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "novyx-memory": {
      "command": "python",
      "args": ["-m", "novyx_mcp"],
      "env": {
        "NOVYX_API_KEY": "nram_your_key_here"
      }
    }
  }
}

Claude Code

claude mcp add novyx-memory -- python -m novyx_mcp

Set the NOVYX_API_KEY environment variable before starting Claude Code. Omit it to use local mode (SQLite, zero config).

CLAUDE.md Integration

After installing and configuring the MCP server above, add this to your project's CLAUDE.md so Claude Code uses Novyx automatically:

## Shared Memory (Novyx MCP)
You have access to novyx-mcp tools for shared memory, knowledge graph, audit,
rollback, replay, and context spaces. Use them when relevant. Store decisions
and status at the end of tasks. Check for context from other agents before
starting new work.

This turns isolated Claude Code sessions into a coordinated team — each session stores what it learned and checks what other sessions have done before starting work.

Canonical Workflow: Draft, Review, Merge

This is the highest-signal Novyx workflow for coding agents:

  1. The agent learns something important, but uses draft_memory(..., branch_id="feature-x") instead of writing directly.
  2. Review the whole branch with memory_branch("feature-x").
  3. Use draft_diff when one draft needs a closer look.
  4. Merge the whole branch with merge_branch("feature-x"), or reject it with reject_branch("feature-x").

Example:

draft_memory(
  observation="Deploys fail if REDIS_URL is unset in staging",
  tags=["ops", "staging"],
  importance=8,
  branch_id="staging-fixes"
)

memory_branch("staging-fixes")

draft_diff("drf_abc123")

merge_branch("staging-fixes")

This keeps agent memory reviewable instead of letting every session write directly into permanent state.

Available Tools

Memory-only tools work in local SQLite mode (zero config, no API key). Cloud-only governance and runtime tools require a Novyx API key.

Core Memory (20 tools)

Store, recall, supersede, and audit individual memories.

ToolDescription
rememberStore a memory observation with tags, importance, context, TTL
recallSemantic search using natural language
list_memoriesList stored memories with optional tag filtering
memory_statsTotal count, average importance, conflict count
memory_healthHealth score, stale memory count, contradiction count
forgetDelete a memory by UUID
supersedeReplace a memory with a new version, preserving history
link_memoriesCreate a directed link between two memories
unlinkRemove a link between memories
get_linksRetrieve all links for a memory
add_tripleAdd a knowledge graph triple (subject → predicate → object)
query_triplesQuery knowledge graph triples with filters
delete_tripleRemove a knowledge graph triple
get_entity / list_entities / delete_entityKnowledge graph entity CRUD
graph_edgesList edges between memories or entities
auditGet the cryptographic audit trail
audit_export / audit_verifyExport and verify the audit chain

Memory Drafts & Branches (8 tools)

Stage memory changes for review before committing.

ToolDescription
draft_memoryCreate a reviewable draft before writing to canonical memory
memory_draftsList open, merged, or rejected drafts
draft_diffShow field-level changes before merging a draft
merge_draft / reject_draftMerge or reject an individual draft
memory_branchReview a whole branch/session of drafts at once
merge_branch / reject_branchMerge or reject every open draft in a branch

Rollback (3 tools)

Time-travel restore — undo agent mistakes.

ToolDescription
rollbackRollback memory to a point in time (supports dry run)
rollback_previewPreview what a rollback would change
rollback_historyList all prior rollback operations

Context Spaces (10 tools)

Multi-agent collaboration — shared memory with fine-grained permissions.

ToolDescription
create_space / update_space / delete_spaceContext space CRUD
list_spacesList spaces you own or have access to
space_memoriesSearch or list memories within a space
share_spaceShare a space by email with permission level
shared_contextsList spaces shared with you
accept_shared_context / revoke_shared_contextAccept invites or revoke access
context_nowGet the current context state for a space

Novyx Control — Governance (10 tools)

Policy-as-code, approval workflows, and governed actions. New in Phase 1-5 (v2.5.0).

ToolDescriptionTier
create_policyCreate a custom YAML policy with regex rules and severitiesStarter+
list_policiesList all active policies (built-in + custom)All
delete_policyDisable a custom policyStarter+
check_policyCheck the current Control policy profileAll
action_submitSubmit an action for policy evaluationAll
action_statusGet the status of a submitted actionAll
action_historyList recent governed actionsAll
explain_actionGet the full causal chain for an actionAll
list_pendingList actions awaiting human approvalAll
approve_actionApprove or deny a pending actionAll

Runtime v2 — Agent Orchestration (25 tools)

First-class agents, missions, capability packs, checkpoints, and human interventions.

CategoryTools
Agentscreate_agent, get_agent, list_agents, update_agent, delete_agent
Missionscreate_mission, get_mission, list_missions, update_mission, delete_mission, pause_mission, resume_mission, cancel_mission
Capabilitiescreate_capability, get_capability, list_capabilities, update_capability, delete_capability
Checkpointscreate_checkpoint, get_checkpoint, list_checkpoints, rollback_to_checkpoint
Interventionscreate_intervention, get_intervention, list_interventions

Capabilities require Starter+. Checkpoints require Pro+. Interventions require Enterprise.

Threat Intelligence (11 tools — Pro+)

Detect, signature, and correlate adversarial activity across agents.

ToolDescription
threat_feedSubscribe to the threat intelligence feed
threat_recordLog a threat observation
threat_matchMatch an event against known signatures
threat_signatureCreate or query a threat signature
threat_mitigateApply a mitigation for a known threat
threat_trendingTrending threats over time
threat_statsAggregate threat statistics
correlate_threatCorrelate a single event across the chain
coordinated_attack_checkDetect coordinated multi-agent attack patterns
detect_campaignDetect long-running threat campaigns
related_signaturesFind signatures related to a given threat

Auto-Defense (7 tools — Pro+)

Deploy and tune automated defensive rules.

ToolDescription
defense_deployDeploy a new defense rule
defense_listList all active defenses
defense_removeRemove a defense rule
defense_recommendGet AI-recommended defenses for current threats
defense_effectivenessMeasure how effective a defense has been
defense_record_blockLog a successful block by a defense
defense_statsAggregate defense performance stats

Replay (7 tools — Pro+)

Time-travel debugging — inspect how memory changed over time.

ToolDescription
replay_timelineChronological timeline of memory operations
replay_snapshotReconstruct memory state at a point in time
replay_lifecycleTrace the full lifecycle of a single memory
replay_diffCompare memory state between two points
replay_memoryReplay a single memory's history
replay_memory_driftShow how a memory drifted over time
replay_recallReplay a recall query as it would have answered then

Eval (7 tools)

Memory health evaluation and CI/CD gates.

ToolDescriptionTier
eval_runRun a full memory health evaluationAll
eval_historyGet historical eval scoresAll
eval_driftDetect drift since the last baselineAll
eval_gatePass/fail gate for CI/CD pipelinesPro+
eval_baseline_create / eval_baselines / eval_baseline_deleteBaseline CRUD

Cortex (5 tools — Pro+)

Autonomous memory intelligence — consolidation, reinforcement, and insights.

ToolDescription
cortex_statusCheck cortex configuration and last run stats
cortex_config / cortex_update_configGet/update cortex configuration
cortex_runTrigger a cortex cycle (consolidation + reinforcement)
cortex_insightsGet AI-generated insights from memory patterns (Enterprise)

Traces (4 tools)

Sentinel trace logging for full agent step audits.

ToolDescription
trace_createStart a new trace
trace_stepAppend a step to a trace
trace_completeFinalize a trace
trace_verifyCryptographically verify a trace

Operational (3 tools)

ToolDescription
dashboardAggregated stats — usage, pressure, governance counts
stream_statusStatus of any active streams
tool_healthIntrospect the MCP tool surface — status, category, description per tool (new in 2.7.0)

Available Resources

URIDescription
novyx://memoriesList all stored memories
novyx://memories/{memory_id}Get a specific memory by UUID
novyx://statsMemory statistics
novyx://usageUsage and plan information
novyx://spacesList all context spaces
novyx://spaces/{space_id}Get a specific context space

Available Prompts

PromptDescription
memory-contextRecall relevant memories and format them as context (takes a query argument)
session-summaryList all memories for a session (takes a session_id argument)
space-contextRecall memories from a specific context space (takes space_id and query arguments)

Get an API Key

Sign up at novyxlabs.com to get your API key. The free tier includes 5,000 memories and 5,000 API calls per month, including the draft-review-merge workflow.

License

MIT - Copyright 2026 Novyx Labs