pnpm mcp starts the MCP stdio server. It uses TINY_API_URL /
TINY_TOKEN or the current CLI profile. The server uses the official MCP SDK
for protocol negotiation, request validation, cancellation, and lifecycle
handling, and accepts both current and legacy MCP clients.
Connect a client
Point your MCP host at the repository’smcp script. Replace the path below
with your checkout path:
env to reuse the profile created by tiny login. Keep stdout reserved
for MCP messages; operational diagnostics are written to stderr.
The MCP server is a remote client of the same REST API the CLI uses. It never
starts a local runtime, and it cannot do anything a human with the same token
could not.
Read-only tools
Mutating tools
Organization tools
Errors are results, not transport failures
Tool errors are returned as structured tool results with stable codes, remediation, retryability, and next actions — rather than as transport failures an assistant has to interpret from prose.Recommended sequence
1
tiny_get_platform_capabilities
Generate a manifest the target can run, rather than discovering it mid-deploy.
2
tiny_validate_manifest
3
tiny_plan_deployment
4
tiny_deploy_app, then poll tiny_get_deployment
Deploy is asynchronous.
5
tiny_get_logs on failure