CLI Reference
act serve
Section titled “act serve”Start an HTTP server for a component.
act serve <component.wasm> [options]| Option | Default | Description |
|---|---|---|
--port | 3000 | HTTP port |
--host | [::1] | Bind address |
act mcp
Section titled “act mcp”Start an MCP stdio server.
act mcp <component.wasm>Reads JSON-RPC from stdin, writes to stdout. Use with Claude Desktop, Cursor, or any MCP client.
act call
Section titled “act call”Call a tool directly.
act call <component.wasm> <tool-name> [options]| Option | Description |
|---|---|
--args <json> | Tool arguments as JSON |
--metadata <json> | Metadata key-value pairs as JSON |
act call my-tools.wasm search --args '{"query": "rust wasm"}'act tools
Section titled “act tools”List available tools in a component.
act tools <component.wasm>act info
Section titled “act info”Show component metadata. Reads the act:component custom section without instantiating the component.
act info <component.wasm>