Shared intelligence memory plane for AI agents — remote MCP + CLI + Claude Code / Codex plugins.
Project description
maestro-nerve
Shared, evidence-grounded memory for AI agents.
One workspace memory plane for Claude Code, Codex, ChatGPT, Claude Desktop, and custom MCP clients.
maestro-nerve is the public client distribution for Maestro Nerve. It ships:
mnerve, a production CLI for login, workspace inspection, and MCP config generation.- Claude Code and Codex plugin manifests.
- A portable agent skill that explains the hosted MCP tool contract.
- A thin HTTP client against
https://nerve-api.maestro.onl.
The backend is hosted by Maestro and remains closed source. This repository does not contain retrieval, ranking, extraction, normalization, storage schema, or reconciliation logic.
Quick Start
Use uv or pipx for the CLI. They install Python command-line applications in isolated tool environments and avoid modifying a project virtualenv.
uv tool install maestro-nerve
mnerve login
mnerve access --client claude-code --format mcp-json
Other good install paths:
# Run once without a persistent install.
uvx maestro-nerve login
# Persistent CLI install with pipx.
pipx install maestro-nerve
# Fallback when your environment already manages Python packages.
python -m pip install --user maestro-nerve
mnerve login opens the hosted Maestro login page and completes through a local loopback callback on 127.0.0.1. It does not use localhost:3000 in production. For SSH or browser-restricted sessions:
mnerve login --no-browser
mnerve login --manual
Development builds can explicitly target a local web app:
mnerve login --app-url http://localhost:3000
Agent Setup
Install the CLI once, then ask the backend for the exact MCP config shape your host expects:
mnerve access --client claude-code --format mcp-json
mnerve access --client codex --format mcp-json
mnerve access --client chatgpt --format envelope
Supported formats:
| Format | Use |
|---|---|
envelope |
Script-friendly response with client, transport, workspace, endpoint, config, and note. |
mcp-json |
Pasteable MCP server JSON. |
settings-json |
JSON shaped for settings files that merge under mcpServers. |
env |
KEY=value lines for shell launchers and automation. |
Human hints are written to stderr. Stdout remains parseable.
Claude Code Plugin
/plugin marketplace add maestro-ai-stack/maestro-nerve
/plugin install maestro-nerve@maestro-nerve
/reload-plugins
The plugin brings the skill and metadata. The hosted MCP connection still needs CLI auth:
uv tool install maestro-nerve
mnerve login
mnerve access --client claude-code --format mcp-json
Codex Plugin
codex plugin add maestro-ai-stack/maestro-nerve
uv tool install maestro-nerve
mnerve login
mnerve access --client codex --format mcp-json
If your agent/plugin tooling is installed with npm, pnpm, or Bun, keep using that tool for the host. mnerve itself is distributed as a Python CLI on PyPI, so uv or pipx is the cleaner install path for the command.
Skill Only
Use this when the host already has an MCP connection and only needs agent instructions:
npx skills add maestro-ai-stack/maestro-nerve -y -g
Equivalent package runners such as pnpm dlx or bunx are fine if your local skill manager supports them.
CLI Commands
mnerve login # browser login; stores local credentials
mnerve login --manual # paste an API key
mnerve logout # remove local credentials
mnerve whoami # print backend identity + primary workspace
mnerve workspace list # list reachable workspaces
mnerve status # one-line reachability probe
mnerve access --client <c> --format <f> # print MCP config for a host
mnerve serve-mcp # optional stdio MCP dev fallback
mnerve version # installed package version
Authentication
- Browser login uses a loopback callback on
http://127.0.0.1:<ephemeral-port>/callbackplus PKCE. - Credentials are stored in the platform user config directory, for example
~/Library/Application Support/maestro/auth.jsonon macOS or~/.config/maestro/auth.jsonon Linux. - The auth file is written with mode
0600where the OS allows it. - Override the auth path with
MAESTRO_AUTH_FILE=/path/to/auth.json. - Override the hosted API with
NERVE_API_BASE_URL=.... - Override the web login app with
NERVE_APP_URL=...ormnerve login --app-url .... mnerve logoutremoves only the local file. Revoke server-side keys from the Maestro web app.
MCP Surface
Hosted MCP endpoint:
POST https://nerve-api.maestro.onl/api/mcp?workspace=<workspace-slug>
Authorization: Bearer <maestro-api-key>
Content-Type: application/json
Tools:
| Tool | Purpose |
|---|---|
server_info |
Connectivity, workspace binding, server version, tool names. |
search_workspace |
Ranked search across entities, claims, and evidence. |
list_entities |
Browse or paginate workspace entities. |
inspect |
Aliases, claims, and evidence for one entity. |
profile |
Narrative briefing synthesized from grounded memory. |
ground |
Evidence records for a claim. |
discover |
Time-axis feed of recent workspace changes. |
act.draft |
Draft an action from memory; never executes externally. |
Development
uv sync --extra dev
uv run pytest
uv run ruff check .
Release notes:
- Version lives in
pyproject.toml. - Update
CHANGELOG.mdin the release PR. - Push
v<x.y.z>to trigger PyPI publishing through GitHub trusted publishing.
License
MIT. Built by Maestro.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maestro_nerve-0.1.1.tar.gz.
File metadata
- Download URL: maestro_nerve-0.1.1.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7db2b32c17c6fbf2a3dc6feb55f183256808c5e91998ef5a3f0e07fb92aec201
|
|
| MD5 |
0a0ad54dd634969e97bb18e976762cb1
|
|
| BLAKE2b-256 |
d7399d1c2c003e8daed7f2bbc79e32558473f3d620ddfdf59d1f3b93593e6ce2
|
Provenance
The following attestation bundles were made for maestro_nerve-0.1.1.tar.gz:
Publisher:
release.yml on maestro-ai-stack/maestro-nerve
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maestro_nerve-0.1.1.tar.gz -
Subject digest:
7db2b32c17c6fbf2a3dc6feb55f183256808c5e91998ef5a3f0e07fb92aec201 - Sigstore transparency entry: 1380005621
- Sigstore integration time:
-
Permalink:
maestro-ai-stack/maestro-nerve@aba80c50671001fca42f317dbeefa200e0591b83 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/maestro-ai-stack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aba80c50671001fca42f317dbeefa200e0591b83 -
Trigger Event:
push
-
Statement type:
File details
Details for the file maestro_nerve-0.1.1-py3-none-any.whl.
File metadata
- Download URL: maestro_nerve-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93656383b56dee6dcf1144a189fde553882eb80df04247cac0bd14225cc6c3f0
|
|
| MD5 |
4705286d4b04a965e40418894a7cc2b0
|
|
| BLAKE2b-256 |
30dbd89fa7fc628cdc92fecda6098e8e3fb11f8ddc96a8d10276f676394ed33e
|
Provenance
The following attestation bundles were made for maestro_nerve-0.1.1-py3-none-any.whl:
Publisher:
release.yml on maestro-ai-stack/maestro-nerve
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maestro_nerve-0.1.1-py3-none-any.whl -
Subject digest:
93656383b56dee6dcf1144a189fde553882eb80df04247cac0bd14225cc6c3f0 - Sigstore transparency entry: 1380005719
- Sigstore integration time:
-
Permalink:
maestro-ai-stack/maestro-nerve@aba80c50671001fca42f317dbeefa200e0591b83 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/maestro-ai-stack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aba80c50671001fca42f317dbeefa200e0591b83 -
Trigger Event:
push
-
Statement type: