Context
The MCP server (archipulse mcp) currently exposes create_workspace but not delete_workspace. The other entities have full CRUD parity (create_element ↔ delete_element, create_relationship ↔ delete_relationship, create_diagram ↔ delete_diagram), so workspace deletion is the only asymmetry.
Surfaced 2026-06-27 during demo video pre-flight — after creating a test workspace via MCP, had to switch to the UI to delete it before recording. AI agents working autonomously on architecture modeling cannot clean up after themselves without leaving the conversation.
Acceptance criteria
Notes for first-time contributors
- Look at the
delete_element tool registration (around internal/mcpserver/server.go:385) — copy the structure
- The HTTP DELETE call to
/api/v1/workspaces/{id} already exists in the REST API; no backend work needed
- Add the tool to the list shown in the README's MCP section
Context
The MCP server (
archipulse mcp) currently exposescreate_workspacebut notdelete_workspace. The other entities have full CRUD parity (create_element↔delete_element,create_relationship↔delete_relationship,create_diagram↔delete_diagram), so workspace deletion is the only asymmetry.Surfaced 2026-06-27 during demo video pre-flight — after creating a test workspace via MCP, had to switch to the UI to delete it before recording. AI agents working autonomously on architecture modeling cannot clean up after themselves without leaving the conversation.
Acceptance criteria
delete_workspacein internal/mcpserver/server.go, following the same pattern asdelete_elementworkspace_idparameter (string)/api/v1/workspaces/{id}endpoint via the internal HTTP client"delete_workspace — Permanently remove a workspace and all its elements, relationships, and diagrams. Owner-only."Notes for first-time contributors
delete_elementtool registration (around internal/mcpserver/server.go:385) — copy the structure/api/v1/workspaces/{id}already exists in the REST API; no backend work needed