Skip to Content
GuidesAdmin Guide

FrootAI Admin Guide

> Platform administration for FrootAI β€” installation, configuration, monitoring, and troubleshooting.


1. Platform Overview

FrootAI is a Build It Yourself (BIY) AI kit consisting of four main components:

ComponentDescriptionLocation
WebsiteDocusaurus-powered knowledge hub + landing pageswebsite/
MCP Server16 tools exposing AI knowledge to any MCP-compatible agentmcp-server/
VS Code Extension13 commands, sidebar panels, standalone offline enginevscode-extension/
Solution Plays20 pre-built scenario accelerators with DevKit + TuneKitsolution-plays/

All components share:

  • The docs/ folder (18 knowledge modules in the FROOT framework)
  • The config/ folder (guardrails, models, routing parameters)
  • The .github/ Agentic OS scaffolding (agent, copilot, CI files)

2. Installation

2.1 Website

# Prerequisites: Node.js 18+ cd website npm install npx docusaurus build # production build β†’ website/build/ npx docusaurus start # dev server on localhost:3000

Deploy to GitHub Pages:

GIT_USER=<github-username> npx docusaurus deploy

The site is configured with baseUrl: /frootai/ in docusaurus.config.ts.

2.2 MCP Server

# Option A: npm (recommended β€” zero clone) npm install -g frootai-mcp frootai-mcp # Option B: npx (no install) npx frootai-mcp # Option C: from source cd mcp-server npm install node src/index.js

The MCP server runs on stdio by default. Clients configure it via their MCP config (e.g., .vscode/mcp.json).

2.3 VS Code Extension

# From Marketplace code --install-extension frootai.frootai-vscode # From source (development) cd vscode-extension npm install npm run compile # Press F5 in VS Code to launch Extension Development Host

3. Configuration

3.1 MCP Client Config (.vscode/mcp.json)

{ "servers": { "frootai": { "command": "npx", "args": ["frootai-mcp"], "env": {} } } }

3.2 Config Files (config/)

FilePurpose
openai.jsonModel parameters β€” temperature, max_tokens, deployment names
guardrails.jsonContent safety limits, blocked topics, rate limits
routing.jsonAgent routing rules β€” which play for which scenario

All config files are read at startup. Changes require a restart of the relevant component.

3.3 Environment Variables

VariableDefaultDescription
FROOTAI_LOG_LEVELinfoLogging verbosity: debug, info, warn, error
FROOTAI_CACHE_TTL86400Cache TTL in seconds (24h) for downloaded knowledge
FROOTAI_CONFIG_DIR./configPath to config files

> Security: FrootAI uses Managed Identity by design. No API keys are stored in config. See Security.


4. Solution Play Management

4.1 Adding a New Play

  1. Create solution-plays/<NN>-<slug>/ with the required structure:

    solution-plays/21-new-play/ β”œβ”€β”€ .github/ β”‚ β”œβ”€β”€ agent.md # Agent behavior rules β”‚ β”œβ”€β”€ copilot-instructions.md β”‚ └── prompts/ β”‚ └── init.prompt.md β”œβ”€β”€ config/ β”‚ └── agents.json β”œβ”€β”€ evaluation/ β”‚ β”œβ”€β”€ evaluate.py β”‚ └── golden-set.jsonl └── README.md
  2. Populate agent.md (target: 1500–5000 bytes) with:

    • Play context and scope
    • Behavioral rules
    • Tool references
    • Error-handling instructions
  3. Run validation:

    # CI will catch issues, but you can validate locally: python scripts/validate-plays.py

4.2 Quality Standards

  • Every play must have: README.md, agent.md, copilot-instructions.md
  • agent.md must be 1500–5000 bytes
  • At least one config file in config/
  • Evaluation set with 5+ golden examples

5. MCP Server Administration

5.1 Health Check

# Verify the server starts and lists tools echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | npx frootai-mcp

5.2 Tool Inventory

The MCP server exposes 16 tools in four groups:

GroupToolsDescription
Staticget_module, list_modules, search_knowledge, lookup_termBundled knowledge queries
Livefetch_azure_docs, fetch_external_mcpReal-time documentation retrieval
Chainagent_build, agent_review, agent_tuneMulti-step agent workflows
AI Ecosystemget_architecture_pattern, get_froot_overview, get_github_agentic_os, list_community_playsEcosystem & pattern tools

5.3 Upgrading

# npm global install npm update -g frootai-mcp # Verify version npx frootai-mcp --version

6. Monitoring

6.1 CI Pipeline

The repository uses GitHub Actions for continuous validation:

WorkflowTriggerWhat it checks
validate-plays.ymlPush to solution-plays/Play structure, agent.md size, required files
build-website.ymlPush to website/ or docs/Docusaurus build success, broken links
test-mcp.ymlPush to mcp-server/Tool registration, response schema

6.2 Build Status

Monitor at: https://github.com/frootai/frootai/actions

6.3 Website Deploy Health

After deploy, verify:

  • Homepage loads: https://frootai.dev
  • Docs render: https://frootai.dev/docs/
  • No console errors in browser DevTools

7. Security

7.1 Managed Identity

FrootAI follows the no API keys principle:

  • All Azure service access uses Managed Identity or DefaultAzureCredential
  • Config files contain no secrets β€” only model names, limits, and routing rules
  • The MCP server is a local stdio process β€” no network ports exposed

7.2 Content Safety

  • guardrails.json defines blocked topics and content filters
  • Agent behaviors are bounded by agent.md rules in each play
  • Evaluation sets validate that responses stay within safety guidelines

7.3 RBAC

  • GitHub repository uses branch protection on main
  • CI must pass before merge
  • Solution plays require reviewer approval

Deployment Automation

One-Command Deployment

Deploy any solution play end-to-end:

./scripts/deploy-play.sh <play-number> --resource-group <rg-name>

Prerequisites: Azure CLI logged in, resource group created, Bicep installed.

Knowledge Management

Rebuild knowledge bundle after updating docs/:

./scripts/rebuild-knowledge.sh # rebuild only ./scripts/rebuild-knowledge.sh --publish # rebuild + npm publish

Skill Export

Export FROOT modules as GitHub Copilot skills:

./scripts/export-skills.sh --all

azd Integration

FrootAI supports Azure Developer CLI:

azd up # deploys using azure.yaml configuration

8. Troubleshooting

8.1 Common Issues

IssueCauseFix
MCP server not foundnpm not in PATHRun npm config get prefix and add to PATH
Extension commands missingExtension not activatedReload VS Code window (Cmd+Shift+P β†’ Reload)
Website build failsMissing deps or broken linksRun npm install then check onBrokenLinks in config
Play validation failsMissing required filesCheck README.md, agent.md, copilot-instructions.md exist
Stale knowledgeCached data expiredDelete globalStorage/frootai/ cache folder

8.2 Logs

# MCP server debug logging FROOTAI_LOG_LEVEL=debug npx frootai-mcp # VS Code extension logs # Output panel β†’ select "FrootAI" from dropdown # Website build verbose npx docusaurus build --verbose

8.3 Getting Help


> Next: User Guide Β· Contributor Guide Β· API Reference

Last updated on