Skip to main content

Installation

FrootAI is available through multiple distribution channels. Choose the one that fits your workflow.

Prerequisitesโ€‹

RequirementMinimum VersionCheck
Node.js18+ (22+ recommended)node --version
Python3.9+ (for Python SDK)python --version
Docker20+ (for container usage)docker --version
Git2.30+git --version
Azure CLI2.60+ (for deployment)az version
info

Only Node.js is required for the core tooling. Python, Docker, and Azure CLI are needed only for their respective channels.

npm โ€” MCP Serverโ€‹

The MCP Server exposes 45 tools to any AI agent that speaks the Model Context Protocol:

# Run directly (no install needed)
npx frootai-mcp@latest

# Or install globally
npm install -g frootai-mcp
frootai-mcp

Add to your editor's MCP configuration:

.vscode/mcp.json
{
"mcpServers": {
"frootai": {
"command": "npx",
"args": ["frootai-mcp@latest"]
}
}
}
tip

This configuration works with GitHub Copilot, Claude Desktop, Cursor, Windsurf, and any MCP client.

npm โ€” SDK & CLIโ€‹

The SDK provides a full programmatic API for Node.js and TypeScript:

npm install frootai
import { FrootAI } from 'frootai';

const fai = new FrootAI();
fai.search('RAG architecture'); // BM25-ranked results
fai.plays.get('01'); // Play details
fai.listModules(); // 16 FROOT modules

The CLI provides command-line access to all FrootAI features:

# Run via npx (no install)
npx frootai --help

# Or install globally
npm install -g frootai
frootai init-devkit 01
frootai primitives --type agents

Python โ€” SDKโ€‹

The Python SDK is offline-capable with zero external dependencies:

pip install frootai
from frootai import FrootAI

fai = FrootAI()
results = fai.search("RAG architecture")
play = fai.plays.get("01")

Python โ€” MCP Serverโ€‹

pip install frootai-mcp
claude_desktop_config.json
{
"mcpServers": {
"frootai": {
"command": "frootai-mcp"
}
}
}

VS Code Extensionโ€‹

Install from the Visual Studio Marketplace:

code --install-extension frootai.frootai-vscode

Or search "FrootAI" in the VS Code Extensions panel (Ctrl+Shift+X).

The extension provides:

  • Solution play browsing and scaffolding
  • Primitive validation and linting
  • Integrated MCP server management
  • DevKit initialization commands

Dockerโ€‹

Run the MCP server with zero local dependencies:

# Pull and run
docker pull ghcr.io/frootai/frootai-mcp
docker run -i ghcr.io/frootai/frootai-mcp

# Or use docker compose
docker-compose.yml
services:
frootai-mcp:
image: ghcr.io/frootai/frootai-mcp:latest
stdin_open: true

Clone the Repositoryโ€‹

For contributing or exploring the full source:

git clone https://github.com/frootai/frootai.git
cd frootai
npm install
npm run validate:primitives # Verify everything works
warning

The repository includes 100 solution plays, 238 agents, 322 skills, and 77 plugins. The initial clone is approximately 50 MB.

Distribution Channels Summaryโ€‹

ChannelInstall CommandUse Case
npm MCPnpx frootai-mcp@latestAdd FrootAI tools to any AI agent
npm SDKnpm install frootaiProgrammatic API in Node.js/TS
PyPI SDKpip install frootaiPython API, offline, zero deps
PyPI MCPpip install frootai-mcpPython MCP server
VS Codecode --install-extension frootai.frootai-vscodeIDE integration
Dockerdocker run -i ghcr.io/frootai/frootai-mcpZero-install MCP server
CLInpx frootaiCommand-line access
GitHubgit cloneFull source, contributions

Next Stepsโ€‹