dev-docs

Restore all synced files to this device. Fetches every dev doc that has a local_path set and writes the content to that path on disk.

Restore all synced files to this device. Fetches every dev doc that has a local_path set and writes the content to that path on disk.

WHEN TO USE:

  • First time setup on a new machine (desktop, laptop, etc.)
  • After reinstalling macOS or setting up a fresh environment
  • To restore Claude memory files, CLAUDE.md configs, and other local-only files

WHAT IT DOES:

  1. Fetches all your dev docs that have local_path set
  2. Creates any missing parent directories automatically
  3. Writes the file content to each local_path on THIS machine
  4. Reports success/failure for each file

TYPICAL FILES RESTORED:

  • ~/.claude/projects/.../memory/MEMORY.md (AI context memory)
  • ~/projects/*/CLAUDE.md (project-specific AI instructions)
  • .cursorrules, .windsurfrules (editor AI configs)

Run this once after setting up ainote MCP on a new device.

post/api/mcp/tools/pull_dev_docs

Request

  • Base URL: https://api.ainote.dev
  • URL: https://api.ainote.dev/api/mcp/tools/pull_dev_docs
  • Auth: API key in header Authorization

Request body

categorystring

Subcategory filter. Omit to pull all docs with local_path.

Response

Tool executed successfully

Changes

No recorded changes to this operation across all 1 revision of this API.