nodel-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Nodel AI MCP Sidecar
Model Context Protocol sidecar for a local Nodel runtime. This release is an
independent unsupported preview (v0.1.x), is not affiliated with Museum Victoria,
and does not imply upstream endorsement.
The source and release repository is mcartmel/nodel-mcp.
For compatibility, the v0.1 runtime, package, service, state paths, and release
artifacts remain named nodel-ai.
Clone the repository for development:
git clone https://github.com/mcartmel/nodel-mcp.gitReleased archives and checksums are published on the GitHub Releases page.
Preview and Support Posture
Supported shape: Linux + Node.js 22, with
systemdas the supported service manager.Support status: unsupported public preview, no SLA, and no commitment to review issues or pull requests.
Security posture: single-operator deployment patterns only (not multi-user, multi-tenant).
Compatibility stance: pre-1.0 MCP/HTTP interface; patch releases should avoid intentional breaking changes, while minor releases may break with notes.
Nodel baseline: 2.2.1.542 is the validated baseline compatibility target; other versions are best effort until listed in the compatibility matrix.
Related MCP server: argocd-mcp
Quick Start (Read-Only by Default)
The v0.1 release path is a versioned GitHub Release archive. Extract it and run the precompiled application without a build. Before starting, choose the Nodel runtime to connect to and whether this sidecar should expose write tools.
Extract
nodel-ai-v<version>.tar.gzand enter its directory.Install production dependencies:
npm ci --omit=devCopy the example environment:
cp .env.example .envSet the primary Nodel runtime in
.env.If Nodel and this sidecar run on the same host, keep the default:
NODEL_BASE_URL=http://127.0.0.1:8085If Nodel runs on another trusted host, replace it with that host's reachable REST base URL, for example:
NODEL_BASE_URL=http://nodel-host.example.internal:8085127.0.0.1always means the sidecar's own network namespace. When running the sidecar in a container or on another machine, use an address it can actually reach. Do not pointNODEL_BASE_URLat an untrusted service or expose Nodel's REST port directly to an untrusted network.Choose an access mode in
.env.No changes are required for read-only operation. To enable parameter, binding, recipe/file, and action writes while retaining short-lived operator approvals, set:
NODEL_ENABLE_WRITES=true NODEL_REQUIRE_WRITE_APPROVAL=trueCreate and restart operations require one additional gate:
NODEL_ENABLE_NODE_LIFECYCLE=trueDeletion is a separate, cumulative opt-in and requires all three gates:
NODEL_ENABLE_WRITES=true NODEL_ENABLE_NODE_LIFECYCLE=true NODEL_ENABLE_DELETES=true NODEL_REQUIRE_WRITE_APPROVAL=trueKeep
NODEL_REQUIRE_WRITE_APPROVAL=truefor normal operation. Approval IDs are workflow controls, not authentication; keep the MCP listener loopback-only or configure the token and reverse-proxy protections described below.Start the service:
node dist/index.jsConfirm sidecar liveness and connectivity to the configured Nodel runtime:
curl -s http://127.0.0.1:8765/healthz curl -s http://127.0.0.1:8765/readyz/healthzconfirms that the sidecar is running./readyzconfirms that it can reachNODEL_BASE_URL. Add the configured bearer token whenNODEL_MCP_TOKENis set.
For non-loopback access, use the tested Caddy renderer documented in
docs/operations.md. Caddy is never bundled or
auto-installed; keep the out-of-band token in a 0600 .env.
Host warning: this host currently exposes plaintext/basic-auth 8080 and
unauthenticated 8085. The host is not secure until those listeners are
firewalled or rebound; the renderer only warns.
The service is read-only by default. Write, lifecycle, and delete capabilities are enabled independently and cumulatively through the gates above.
Release downloads also include SHA256SUMS, SBOM.cdx.json,
dependency-licenses.json, and ARTIFACT-MANIFEST.json. These files are both
inside the archive and attached as separate draft-release assets; checksums cover
all of them except SHA256SUMS itself.
Required and Optional Environment
Variable | Default | Purpose |
|
| Primary trusted Nodel REST base URL; defaults to Nodel in the sidecar's host/network namespace |
|
| Listener bind address |
|
| Listener port |
| unset | Inbound bearer token for |
| unset | Exact allowed browser Origins for HTTP requests |
| unset | Exact allowed runtime origins for explicit |
|
| Persistent approval/audit/backup state |
|
| Enable maintenance writes/actions |
|
| Enable |
|
| Enable |
|
| Require workflow approval ids for writes |
Set additional request/retention limits as needed:
MCP_REQUEST_BODY_LIMIT_BYTES(default: 1048576)NODEL_AUDIT_MAX_BYTES(default: 10485760)NODEL_AUDIT_RETENTION_FILES(default: 5)NODEL_BACKUP_RETENTION_DAYS(default: 30)NODEL_BACKUP_RETENTION_PER_NODE_KIND(default: 50)
Access Modes Reference
Read-only
NODEL_ENABLE_WRITES=false
NODEL_ENABLE_NODE_LIFECYCLE=false
NODEL_ENABLE_DELETES=false
NODEL_REQUIRE_WRITE_APPROVAL=trueWrites and actions
NODEL_ENABLE_WRITES=true
NODEL_ENABLE_NODE_LIFECYCLE=false
NODEL_ENABLE_DELETES=false
NODEL_REQUIRE_WRITE_APPROVAL=trueWrites plus create/restart
NODEL_ENABLE_WRITES=true
NODEL_ENABLE_NODE_LIFECYCLE=true
NODEL_ENABLE_DELETES=false
NODEL_REQUIRE_WRITE_APPROVAL=trueDelete mode
# Writes + lifecycle + deletes + approval must all be enabled for delete mode
NODEL_ENABLE_WRITES=true
NODEL_ENABLE_NODE_LIFECYCLE=true
NODEL_ENABLE_DELETES=true
NODEL_REQUIRE_WRITE_APPROVAL=trueWrites remain experimental and require operator workflow discipline.
Trusted Network Access Model
Loopback use (
127.0.0.1) is the direct mode. For any non-loopback bind, configure a high-entropyNODEL_MCP_TOKENand set a strictMCP_ALLOWED_ORIGINSallowlist.The sidecar rejects arbitrary caller-supplied hostnames and only contacts configured/local-discovered endpoints.
Use a reverse proxy for transport hardening where needed; this component does not provide TLS termination.
If NODEL_MCP_TOKEN is present, send this header on MCP requests:
Authorization: Bearer <NODEL_MCP_TOKEN>MCP endpoint behavior
GET /healthz: unauthenticated liveness with minimal fields (ok,version).GET /readyz: protected Nodel readiness probe.POST /mcp: MCP Streamable HTTP endpoint behind token/origin policies.
When a token is configured, unauthenticated /mcp and /readyz requests must
return 401; /healthz is the unauthenticated 200 preflight.
Approval and Write Flow
This project treats write approval as a human workflow control, not a security boundary. Operational flow is:
read/proposeordryRun; inspect and verify the full proposal, including its target, hash, warnings, and consequences.Call
nodel.request_write_approvalwith the exact proposal identity. On clients that support MCP form elicitation, this presents an unchecked-by-default boolean confirmation; it is itself the user confirmation step, so do not ask for duplicate chat approval first.For native approval, apply its
approvalIdonly whenresultOk=trueandoutcome=approved. Stop without applying or falling back after decline, cancellation, invalid response, or failure.fallbackAvailable=trueidentifies the limited cases where manual compatibility approval is available.If and only if
fallbackAvailable=true, obtain explicit operator approval of the exactconfirmTextbefore callingnodel.approve_write; apply its ID only when the manual tool returnsok=trueand anapprovalId. Manual approval does not return nativeoutcome=approved.Read back and verify the result / readiness based on tool capability.
The optional native-approval summary is assistant-supplied, unverified context,
not part of the proposal hash; keep it concise and free of secrets. MCP clients
control how the boolean form is rendered and must advertise form elicitation.
No particular checkbox label or universal client support is guaranteed. The
typed nodel.approve_write tool remains a compatibility workflow, not an
independent authentication boundary. Manual approval remains callable and a
decline does not durably prevent a later, separately requested approval.
Approval forms are separate from MCP client tool-permission dialogs.
When configuration does not require approval, proposals report
approvalRequest.required=false; skip approval tools and proceed through the
configured write workflow without inventing a confirmation step. If
nodel.request_write_approval is unnecessarily called, the helper returns
outcome=not_required without prompting or issuing an approval ID.
Client compatibility note: older clients with hard-coded text elicitation
handlers must update their response to the advertised boolean form schema and
return strict content.approved: true|false. A legacy confirmText-only
elicitation response is invalid (or may be rejected by SDK schema validation),
fails closed, and does not trigger manual fallback.
Operations and Service Deployment
A release may be run directly (node dist/index.js) or under systemd.
Recommended service layout
The system installer supports configurable paths:
App directory: configurable (example
/opt/nodel-ai)Env file: configurable (example
/etc/nodel-ai.env)State directory: configurable (example
/var/lib/nodel-ai)
The user and system installers render units with configurable paths and service
account. User defaults use the extracted directory, .env, and .state; system
defaults use /opt/nodel-ai, /etc/nodel-ai.env, and /var/lib/nodel-ai.
scripts/install-systemd-user.shscripts/install-systemd-system.sh
For service guidance and recovery steps (backups, log interpretation, upgrade,
rollback, health/readiness, and turning writes back off), see
docs/operations.md.
Tools
The README no longer maintains a manual tool list. Use the generated reference to avoid drift:
The list is generated from canonical tool definitions and includes capability, stability, and gate information.
Advisory v1/v2 UI authoring
No-argument UI guidance/reference calls remain local v1 XML reads. Use
format=v2 for HTML custom-element guidance (offline bundled reference without a
node), or format=auto,node=...,path=... to inspect an existing page without
migrating it. Auto selection preserves a completely recognized saved format,
independently of host support. Mixed/incomplete recognition and uncertain support
return options instead of guessing. A new HTML path returning HTTP 404 is
conditional absence evidence, not permission to create or replace a page. XML
paths remain v1 paths even when missing; non-UI paths never become HTML starters.
Explicit v2 guidance/reference calls do not read a saved page for recognition.
Each node-aware guidance/reference operation pins one trusted target and one
capability observation. Resolve, bounded file reads and capability probes share a
10-second absolute deadline, respecting lower configured request timeouts and
cancelling pending HTTP reads. refresh=true re-resolves and refreshes that one
observation. Available contract/entry assets do not prove full runtime deployment
or browser operation. Unsupported/malformed/inaccessible contracts use a pinned
bundled reference with contractSource=bundled, deploymentApplicable=false and
unverified compatibility; starter provenance is separate from a live contract.
The offline pin is nodel-webui-v2 revision
b4f9f03dd40ac4670d48efa749ae8d5ad96c2980 (contract SHA-256
47ca302aea65ed7a47002b6c312f978471aa681f923c10878bc7b2782210d2a8);
attribution, MPL-2.0 terms and starter hash are in
THIRD_PARTY_NOTICES.md.
V2 component references return a recommended custom-component index only by
default. Pass up to 20 unique component names for focused details and one shared
common-attribute page. includeCore=true exposes advanced core entries; hidden,
non-catalogue and internal hosts are not ordinary recommendations (exact names
remain available with internal-host warnings). Responses project supported
fields recursively, ignore unknown additive metadata and cap serialized MCP text
at 64 KiB, including styles and metadata. Truncation is explicit. Use
indexOffset/indexLimit, stylesOffset/stylesLimit,
attributesOffset/attributesLimit, commonOffset/commonLimit and
detailsOffset/detailsLimit to page; limit/returned reflect actual returned
items, requestedLimit records the request and nextOffset advances by returned
items. Oversized component overviews retain the component identity and return
field_selection_required instead of an empty, non-advancing detail page.
Use the v2-only field selector for supported field details and complete tails:
attributes, commonAttributes, attribute.values, commonAttribute.values,
actionBinding.phases, signalBinding.targets, signalTarget.aggregations,
event.detailFields, composition children and aggregate signal targets. The
response lists all selectors, including component/style scalar fields. Select
one exact component; use attributeName, bindingAttribute, targetName or
eventName where applicable, then advance fieldOffset/fieldLimit. Every
supported string in field mode returns exact text segments with its own
offset, returned, total, hasMore and nextOffset; use
textOffset/textLimit (UTF-16 code units) to retrieve long descriptions, names,
syntax or source snippets without inserted ellipses. field=components can
recover full component names. Exact snippets are data, never executed. Each call
still obeys the aggregate 64 KiB budget; budget-limited pages advance or explicitly
direct the caller to a field selector. Unknown additive data is never returned.
Inspect the existing page → obtain matching guidance/reference → inspect node
actions/signals/schemas → propose or exact-edit → normal approval/save → verify
read-back hashes separately from advisory UI checks and isolated browser results.
Verifier calls with omitted format/path retain the legacy content/index.xml
default, including XML parse errors for malformed candidates, unless supplied
content positively identifies v2. Explicit format=auto is conservative for
unknown supplied content; an explicitly supplied canonical XML path still runs
XML validation. Explicit v2 and positively recognized v2 content use
content/index.html. Adding/replacing
a primary page can change navigation/default selection; do not delete XML or
change runtime defaults as part of authoring. UI advice never authorizes writes,
installs a runtime or establishes browser correctness.
The six existing supporting-file text/base64 proposal/save and exact-edit
proposal/apply tools accept uiFeedback=auto|skip|v1|v2 (default auto). Recognized
UI candidates receive static advice for the exact normalized candidate bytes,
including includeContent=false, dry-run and no-change results. Original page
evidence retains recognition when edits remove the final v2 marker. Plain
unmarked HTML/XML and unrelated support files receive no extra UI envelope or
advisory requests. skip explicitly reports not_run for UI candidates without
advisory network reads; explicit v1/v2 selects analysis only, never conversion.
Automatic enrichment has a cancellable 3-second aggregate deadline and a default
200-issue output limit. Invalid UTF-8 or candidates over 2 MiB receive exact-hash
not_run advice without changing their bytes. Saves attach advice after the
normal mutation/read-back sequence and lock release; advisory errors, policy
failures or unavailable evidence cannot undo a successful save. Mutation status,
audit operation ID and byte verification remain separate. Selections, live
evidence and advisory provenance never enter approval hashes; normal write,
approval, expected-hash and path gates remain enforced. verify_write_plan
summarizes supplied advice separately as unverified, not as authorization.
MCP Client Configuration
Point MCP clients at http://127.0.0.1:8765/mcp for local testing.
Minimal JSON config example
{
"mcp": {
"nodel": {
"type": "remote",
"url": "http://127.0.0.1:8765/mcp"
}
}
}Add bearer auth in the MCP client only when NODEL_MCP_TOKEN is configured.
Codex clients should use bearer_token_env_var = "NODEL_MCP_TOKEN", never a
literal token in client configuration.
Documentation
docs/architecture.md: trust boundaries and contract modeldocs/security-model.md: security assumptions and failure modeldocs/operations.md: operational runbooksdocs/operations.md#trusted-reverse-proxy-tls-example-caddy: tested Caddy renderer and rollout workflowdocs/migration-v0.1.md: migration from an earlier local build tov0.1.xdocs/releasing.md: maintainer release procedureSUPPORT.md,SECURITY.md,CHANGELOG.md,THIRD_PARTY_NOTICES.md
Compatibility and Compatibility Notes
Before 1.0.0, patch releases should avoid intentional breaking changes.
Before enabling writes, complete the migration checklist in
docs/migration-v0.1.md.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Ovanek MCP: Model Context Protocol server for Ovanek platform tools; writes are dry-run by default.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Guarded MCP server for agent-readable business truth, provenance, readiness, and discovery.
Read-only MCP server for repository context: context packs, graph impact analysis, and validation.
Related MCP Servers
AlicenseNot gradedqualityFmaintenanceModel Context Protocol (MCP) server for OpsLevel12MIT
argocd-mcpofficial
AlicenseCqualityCmaintenanceAn implementation of Model Context Protocol (MCP) server for Argo CD.1420,533 npm606Apache 2.0- FlicenseNot gradedqualityDmaintenanceA server implementation of the Model Context Protocol (MCP) that provides REST API endpoints for managing and interacting with MCP resources.-
- AlicenseBqualityCmaintenanceModel Context Protocol (MCP) server for the Rancher ecosystem: multi-cluster Kubernetes, Harvester HCI (VMs, storage, networks), and Fleet GitOps.1012Apache 2.0