Overview
This section documents every tool, resource, and resource template mcpd exposes over the Model Context Protocol - grouped in the sidebar as Tools, Resources, and Resource Templates. Every page has a runnable example, foldable between the linuxctl form and the raw curl JSON-RPC call it resolves to.
Protocol Methods
Before an AI agent calls a single tool, it asks the daemon what it offers: initialize, then tools/list, resources/list and resources/templates/list. Their answers are what the agent sees of mcpd - the tool names, what each does and which arguments it takes - so this page shows them in full, captured live on an Ubuntu 24.04 host. They are sent like any other request, over the SSE session described in the Overview; linuxctl reads them on every run (linuxctl get mcp-api tools|resources|info prints them).
Tools
13 items
Resources
11 items
Resource Templates
6 items