Documentation

WYD Code docs for the product layer.

WYD Code is the developer-facing product built on top of MumpixDB. Use it to link projects, inspect runtime health, expose MCP tools to Codex, Claude, and Cursor, and carry shared memory across repos and sessions.

Install

Install the CLI globally:

bash
npm install -g wydcode

Or run it one-off with npx if you do not want a global install.

Hello World

This is the fastest end-to-end check: initialize WYD Code, write one memory key, read it back, then verify the same flow from Codex through MCP.

bash
npm install -g wydcode wydcode-mcp
wydcode init --cloud
wydcode status --cloud

Step 1: link the current repo

bash
cd /path/to/your-repo
wydcode link
wydcode projects

Step 2: write and read one key from Codex

With wydcode-mcp configured in Codex, ask:

Prompt
Store "hello from codex" at memory^project^yourrepo^hello.
Read memory^project^yourrepo^hello.

Expected result

  • wydcode status --cloud returns an ok ping
  • Your repo appears in wydcode projects
  • Codex can write memory^project^yourrepo^hello
  • Codex can read the same value back through MCP

First Run

Initialize WYD Code in cloud mode:

bash
wydcode init --cloud
wydcode status --cloud

This creates your local config in ~/.wydcode/config.json and points the CLI at the hosted runtime.

What this does

It does not change your code. It bootstraps the WYD Code runtime config and project registration so your tools can share the same memory base.

Link Projects

Run this once in each repo you want attached to the same memory ledger:

bash
cd /path/to/project
wydcode link

Useful checks:

bash
wydcode projects
wydcode projects --json
wydcode where

Core Commands

bash
wydcode init --cloud
wydcode link
wydcode doctor --cloud
wydcode status --cloud --json
wydcode projects --json
wydcode version
wydcode where

What they are for

  • init bootstraps runtime config
  • link registers a repo with the ledger
  • doctor and status check health
  • projects lists linked repos
  • where shows config location

MCP Setup

Install the MCP bridge:

bash
npm install -g wydcode-mcp

Then register it in your MCP-capable tools.

Codex

~/.codex/config.toml
[mcp_servers.wydcode]
command = "wydcode-mcp"

Claude Desktop / Cursor

json
{
  "mcpServers": {
    "wydcode": {
      "command": "wydcode-mcp"
    }
  }
}

MCP Memory Tools

Once the MCP server is loaded, AI tools can call these WYD Code tools:

  • wydcode_status
  • wydcode_projects
  • wydcode_memory_set
  • wydcode_memory_get
  • wydcode_memory_scan
  • wydcode_memory_delete
  • wydcode_memory_replay
Prompt examples
Check WYD Code status in cloud mode.
List my linked WYD Code projects.
Store "from codex" at memory^project^myrepo^hello.
Read memory^project^myrepo^hello.