Automate and extend
Extend xcsh only when a built-in command or tool cannot express the task.
Which extension mechanism fits?
Section titled “Which extension mechanism fits?”- Headless modes drive xcsh from a script over a process boundary.
- Software development kit (SDK) automation embeds sessions in a host application.
- Extensions and custom tools run TypeScript hooks or tools.
- Hooks and rules choose between lifecycle code and declarative guidance.
- Skills add discoverable instructions.
- Plugins and marketplaces package installable capabilities.
- Model Context Protocol (MCP) quickstart connects one out-of-process server.
- MCP configuration declares transports, variables, and disabled servers.
- MCP runtime and authoring traces connection lifecycle and server contracts.