MCP Server Connection
To connect Sora CLI’s Model Context Protocol (MCP) server:Available MCP Tools
When the server is active, you have access to:sora_search: Search components by name, keyword, or registry.sora_info: Fetch detailed component manifest, dependencies, registry files, and peer requirements.sora_add: Install components into the current workspace with optional flags (--yes,--dry-run,--cwd).sora_list: List all available components from the active registry.
Recommended Agent Workflow
- Check project environment: Verify if the project uses Next.js, Vite, Astro, or a monorepo. Sora CLI will automatically detect tsconfig paths, icon libraries, and Tailwind version (v3 or v4).
-
Search for components:
-
Install without blocking prompts:
Always pass
--yeswhen running from an autonomous agent terminal: -
Monorepo workspaces:
Use
--cwd <path>to target a specific package: