Agent Integration

MoonDB generates project-specific context files so your coding agent knows the exact schema, endpoints, and auth flow.

Option 1: Dashboard prompt (recommended)

Dashboard → Overview → copy the Agent Prompt. Paste into your agent's context file. This is the fastest way.

Option 2: Download context files

Dashboard → Agent Files has downloadable files:

Option 3: Fetch at runtime

# Text format
GET /p/{id}/v1/llm-context

# JSON format
GET /p/{id}/v1/llm-context?format=json

# Agent-specific
GET /p/{id}/v1/cursor-rules
GET /p/{id}/v1/claude-md

Tips