Skip to content

MCP write tools #19

@CuriouslyCory

Description

@CuriouslyCory

Parent

PRD #2

What to build

MCP tools let an agent build and maintain the architecture: create a Component, create a child Component, connect Components, update documentation, and move a Component. Each is a thin adapter over the existing services, so all invariants (legal shapes, cycle prevention, de-dupe, authorization) are reused. Tool errors return readable text so the agent can self-correct. No delete tools are exposed in this surface.

Acceptance criteria

  • Tools exist for create, create-child, connect, update-docs, and move, each calling the shared services
  • Tools enforce the same invariants and authorization as the web path (no bypass)
  • Service / validation errors surface to the agent as readable tool-error text, not stack traces
  • No delete / destructive tool is exposed
  • An MCP Inspector round-trip creates a Component via a tool and reads it back as markdown

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an agent to implement AFK

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions