Tooling
Nexus Tools
Everything you need to connect local agents to the Nexus platform and manage project memory from the command line.
nexus-mcp
Publishedv0.8.5npmThe mandatory mediation layer between local agent runtimes and the shared backend. All reads and writes to project memory, coordination, and governance workflows flow through the MCP server. The server communicates exclusively with the Nexus HTTP API — no direct database access.
npm: @gwdn/nexus-mcp | Repository: github.com/gwnexus/nexus-mcp (private)
Available tools (58)
Layer 1 — Knowledge Access
kb_searchSearch project knowledge using keyword, semantic, or hybrid mode with relevance rankingkb_memoryGet curated project context for agent bootstrapping (ADRs, tasks, sessions, letters)kb_getFetch a single knowledge object in structured, markdown, or summary formatkb_relatedNavigate entity relationships and graph-neighbor entitiesproject_listList accessible projects for the authenticated user or agentLayer 2 — Coordination: Vault Letters
vl_createCreate a new vault letter for agent-to-agent or agent-to-human coordinationvl_replyReply to an existing vault letter with append-only semanticsvl_inboxList vault letters addressed to the calling agent or uservl_outboxList vault letters sent by the calling agent or uservl_ackAcknowledge receipt of a vault letter, transitioning it to acknowledged statusLayer 2 — Coordination: Tasks
task_createCreate a new task within a project scopetask_updateUpdate task status, priority, or assignee with automatic audit trailtask_noteAppend a note to a task for progress, blockers, or decisionstask_listList tasks for a project with optional status filtering, ordered by creation dateLayer 2 — Coordination: Sessions
session_createCreate a new work session for a projectsession_listList open sessions for a project, ordered by creation datesession_closeClose an open session with optional summary and next entry pointsession_appendAppend an entry to an existing session with write isolationsession_deleteDelete empty closed sessions for cleanupLayer 2 — Coordination: Decisions & Documents
dc_addAdd a comment to an ADR decision (append-only, supports human and agent actors)dc_listList comments for an ADR decision in chronological orderdoc_ingestPush text or markdown content into a project knowledge basedoc_listList ingested documents for a project with optional source filteringdoc_updateUpdate title, body, or source URL of an ingest item with full or append modedoc_classifySet the classification of an ingest item (research_note, planning_item, decision_input, reference, archive)doc_deletePermanently delete an ingest item from the project knowledge baseLayer 2 — Coordination: Skills
sk_listList skills for the current tenant with status filteringsk_getGet full skill content by identifier or UUIDsk_createCreate a new skill in draft status with optional command auto-generationsk_updateUpdate skill content, metadata, or command settingssk_activateChange skill status (draft, active, archived)sk_assignAssign a skill to a specific project scopesk_unassignRemove a skill assignment from a projectsk_exportExport skill content for local agent bootstrapLayer 2 — Coordination: Agent Files
af_listList agent files for the current tenant with status filteringaf_getGet full agent file content by identifier or UUIDaf_createCreate a new agent file in draft status with license checkaf_updateUpdate agent file content with automatic versioningaf_activateChange agent file status (draft, active, archived)af_exportExport agent file content with template variable injection and directivesLayer 2 — Coordination: Project Directives
pd_createCreate a new project directive (rule/policy) that guides agent behaviorpd_getGet a specific project directive by UUID with full detailspd_listList project directives with optional enabled filter, ordered by prioritypd_updateUpdate directive title, body, category, priority, or enabled statepd_deleteDelete a project directive by UUID (irreversible)pd_toggleToggle a directive enabled/disabled — omit state to invert currentdirective_exportExport all enabled directives for a project in CLI-compatible formatUtility
identityResolve current user/agent identity (whoami)cost_summaryShow token usage and estimated cost for the current sessionshow_pluginsList all loaded Nexus plugins, their versions, and connection statusLayer 3 — Governance
adr_createCreate a new ADR in draft state with auto-assigned numberadr_submitSubmit an ADR for review (draft to under_review)adr_decideAccept or reject an ADR with optional rationale and supersession trackingLayer 4 — Reviews
rv_listList entity reviews filtered by status and entity typerv_getGet review details including comments and decision historyrv_createRequest a review for any governed entityrv_decideApprove or reject a pending review with rationalerv_commentAdd a comment to an active review threadQuick start
# Run via npx (recommended — no local install needed)
npx @gwdn/nexus-mcp
# Or add to your MCP client configuration:
# OpenCode (opencode.json)
{
"mcp": {
"nexus": {
"type": "local",
"command": ["npx", "@gwdn/nexus-mcp"],
"environment": {
"NEXUS_API_URL": "https://nexus.gatewarden.eu",
"NEXUS_PRIVATE_TOKEN": "nxs_pat_..."
}
}
}
}
# Claude Code (.claude/mcp.json)
{
"mcpServers": {
"nexus": {
"command": "npx",
"args": ["@gwdn/nexus-mcp"],
"env": {
"NEXUS_API_URL": "https://nexus.gatewarden.eu",
"NEXUS_PRIVATE_TOKEN": "nxs_pat_..."
}
}
}
}nexus-cli
Publishedv0.7.0RustA fast, native CLI client for the Nexus platform. nexus-cli scaffolds complete agentic workspaces — pulling skills, agent files, directives, MCP server configs, OpenCode plugins, and multi-agent support files (.cursorrules, .github/copilot-instructions.md, .rtk/filters.toml) from the Nexus backend into customer repositories. All Nexus-generated files are written exclusively to .nexus/ — existing .claude/ configurations are never modified. The CLI authenticates via the same API token model as the MCP server and communicates exclusively through the Nexus HTTP API.
Repository: github.com/gwnexus/nexus-cli (open source)
Commands
Project Setup
nexus initInitialize a Nexus project workspace (scaffold .nexus/, MCP configs, agent files)nexus importScan workspace for existing agentic files (CLAUDE.md, AGENTS.md, .cursorrules, copilot-instructions.md, .windsurf/rules/*.md, GEMINI.md), extract directives, resolve Markdown links, and import into the linked Nexus project. Supports --dry-run and -y/--yes flags.nexus linkBind the current directory to a Nexus projectnexus unlinkRemove project binding from the workspacenexus deinitRemove all Nexus/AI scaffold files from the workspacePlatform
nexus loginAuthenticate with the Nexus platform (PAT-based)nexus logoutRemove stored credentialsnexus statusShow auth, project, and workspace statusnexus preflightRun environment readiness checks (git, node, npm, auth, API)Sync
nexus pullPull skills, agent files, directives, and MCP configs from Nexus into the workspacenexus skills exportExport enabled skills for the linked project as JSONConfiguration
nexus config showDisplay current CLI configurationnexus config setUpdate a config value (api_url, default_output, no_color, mcp_source)nexus config pathShow the config file pathShadow Mode
nexus shadow onExclude workspace agentic files from Git tracking via .git/info/excludenexus shadow offRe-enable Git tracking for agentic scaffold filesnexus shadow statusShow current shadow mode statusMaintenance
nexus upgradeUpgrade the Nexus CLI to the latest release versionQuick start
# Install via oneliner
curl -fsSL https://nexus.gatewarden.eu/install.sh | bash
# Or install from source
cargo install --git https://github.com/gwnexus/nexus-cli.git nexusctl
# Authenticate
nexus login
# Initialize a customer project
nexus init --project-id <uuid>
# Pull skills and configuration
nexus pull
# Check environment readiness
nexus preflightNotable flags
--shadowed-ai[DEPRECATED in v0.6.4] Superseded by automatic .git/info/exclude management (ADR-0029)--yes / -yAccept all defaults without interactive prompts (non-interactive mode)--force / -fOverwrite existing scaffold files during initOpenCode Plugins
2 Free4 AlphaNexus provides open-source plugins for OpenCode that extend the editor runtime with platform-aware behavior. Plugins are distributed as TypeScript source files via nexus init and nexus pull — no npm install required. They load automatically from the .opencode/plugins/ directory at startup.
| Plugin | Version | Status | Description | Repo |
|---|---|---|---|---|
| nexus-compaction-plus | v1.8.0 | Published | Preserves Nexus session context across OpenCode compaction events and records each compaction as an auditable session entry. | GitHub |
| nexus-cost-control | v2.0.0 | Published | Token usage and cost tracking for Nexus sessions using native OpenCode message data. Zero external dependencies. | GitHub |
| nexus-vault-shield | v0.1.0 | Alpha | Classification-driven encryption for documents and project artifacts based on customer/project confidentiality levels. | — |
| nexus-knowledge-graph | v0.1.0 | Alpha | Transforms uploaded documents into a searchable knowledge graph with entity and relationship extraction. | — |
| nexus-llm-bridge | v0.1.0 | Alpha | Connect your own vLLM/LLM inference stack and auto-configure it as a dedicated provider in OpenCode workspaces. | — |
| nexus-ci-bridge | v0.1.0 | Alpha | CI/CD pipeline integration — validates PRs against ADRs, generates review comments, and reports results to Nexus sessions. | — |