Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.median.sh/llms.txt

Use this file to discover all available pages before exploring further.

Usage

mdn setup
Paste your API key when prompted. Find it in your Median dashboard under Settings > API Keys.

What it does

  1. Validates your API key against the Median backend
  2. Saves credentials to ~/.config/mdn/
  3. Optionally writes agent instructions to CLAUDE.md and AGENTS.md in your project

Reconfiguring

Run mdn setup again to switch workspaces or update your API key.

Stored config

All config lives in ~/.config/mdn/:
FieldDescription
apiKeyYour Median API key
convexUrlBackend URL (extracted from key)
workspaceIdWorkspace identifier
workspaceNameWorkspace name
workspacePrefixTask code prefix (e.g. MED)