Expose volume claim tools and VM attachment through MCP #125

Open
opened 2026-09-15 06:55:34 +00:00 by a73x · 0 comments
Owner

Part of #122. Agents using MCP cannot manage volume claims or name them during VM creation even though the HTTP API supports this workflow.

Acceptance criteria

  • Add tools to create, list, inspect and delete claims using existing tenant authorization.
  • Extend VM creation with an ordered list of claim names or IDs.
  • Return claim size, state, host, holder and nullable presence in tool results.
  • Describe create-time attachment, exclusive ownership, host pinning and destructive claim deletion in tool schemas/help.
  • Propagate API failures accurately, including claims still held by a VM awaiting reaping.
  • Update docs/mcp.md and verify tool schemas, request serialization and failure handling.

References: internal/mcpserver, internal/server/api/volumes.go, docs/volumes.md.

Part of #122. Agents using MCP cannot manage volume claims or name them during VM creation even though the HTTP API supports this workflow. ## Acceptance criteria - Add tools to create, list, inspect and delete claims using existing tenant authorization. - Extend VM creation with an ordered list of claim names or IDs. - Return claim size, state, host, holder and nullable presence in tool results. - Describe create-time attachment, exclusive ownership, host pinning and destructive claim deletion in tool schemas/help. - Propagate API failures accurately, including claims still held by a VM awaiting reaping. - Update docs/mcp.md and verify tool schemas, request serialization and failure handling. References: internal/mcpserver, internal/server/api/volumes.go, docs/volumes.md.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
a73x/eitri#125
No description provided.