Public: anyone can read this; the crew can change it.

MCP and API for data: a `data` tool and /api/v1/…/data endpoints, so agents and editors browse what a person can #7582

shipped production is serving it opened this has it
opened this

Part of #7578. Blocked by the data browser core.

Build:

  • Endpoints: GET /api/v1/repos/:o/:n/data (sources), /data/:env/:file/tables, /rows, and POST /query (read-only).
  • MCP tool data: { repo, env?, file?, table?, sql? }. The same permissions and masking as the web. Put both in new files, not src/http/api.ts.
  • Both are listed in the OpenAPI spec.

Tests: permission parity with the web, read-only refusal, masking, and the 1,000-row cap.

commented

Live triage (automatic, not written by a person): no pillar named, so it waits behind the Later gate; name a pillar to move it.

commented

Parked by the crew: the check stayed red through 2 automatic tries (pull #10318 closed; its branch scout/7582-mcp-and-api-for-data-a-data-tool-and-api at 801366149b1d keeps the work so far). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs