Skip to main content
An MCP server’s tools become one CLI: each tool is a subcommand that takes the tool’s arguments as one JSON object.
workspace.yaml
mirage workspace create workspace.yaml builds it on the server. In code, read the server’s tools and register them on an existing ws:
A tool named search_issues becomes the subcommand search-issues:

SDK guides

Python

Server options and how tools become commands.

TypeScript

Server options and how tools become commands.