Quick Setup
One-click setup for Cookest AI tools β MCP server, VS Code, and Claude Desktop
Quick Setup
Get the Cookest AI tools running in under a minute. No manual configuration needed.
One-Click Setup
Run this from the docs/ directory:
bun scripts/setup-ai.mjsThis interactive script will:
- Install MCP server dependencies automatically
- Configure VS Code / GitHub Copilot β adds the MCP server to your VS Code settings
- Configure Claude Desktop β adds the MCP server to your Claude config
- Verify AGENTS.md files β checks that each repo has agent instructions
Non-Interactive Modes
# Set up everything without prompts
bun scripts/setup-ai.mjs --all
# Set up only VS Code
bun scripts/setup-ai.mjs --vscode
# Set up only Claude Desktop
bun scripts/setup-ai.mjs --claude
# Only check AGENTS.md files
bun scripts/setup-ai.mjs --agentsWhat Gets Configured
VS Code / GitHub Copilot
The setup script adds this to your .vscode/settings.json:
{
"github.copilot.chat.mcpServers": {
"cookest-docs": {
"command": "npx",
"args": ["tsx", "docs/mcp/src/index.ts"],
"env": {
"DOCS_ROOT": "docs/content/docs",
"MESSAGES_ROOT": "docs/messages"
}
}
}
}After setup, GitHub Copilot can:
- Search the entire Cookest documentation
- Read any page in any language
- Check translation coverage
- Understand the repository structure
Claude Desktop
The setup script adds this to your Claude Desktop config:
| Platform | Config Location |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%/Claude/claude_desktop_config.json |
| Linux | ~/.config/claude/claude_desktop_config.json |
After setup, Claude can access all the same tools and resources.
AGENTS.md Files
Each repository has an AGENTS.md file that gives AI agents immediate context:
| Repo | What It Tells the Agent |
|---|---|
docs/AGENTS.md | Documentation site rules, i18n, docs parity, commit conventions |
api/AGENTS.md | Rust architecture, handlerβserviceβentity pattern, auth rules |
UI/AGENTS.md | Flutter architecture, Riverpod patterns, design system |
web/AGENTS.md | Next.js structure, i18n system, component conventions |
etl/AGENTS.md | Pipeline stages, idempotency rules, rate limiting |
These files are read automatically by GitHub Copilot and Claude when working in a repository.
What You Can Do After Setup
Once configured, ask your AI assistant things like:
Development:
"Search the docs for how authentication works" "Show me the database schema for recipes" "What's the commit convention for this project?"
Documentation:
"Check which pages are missing French translations" "What sections exist in the backend documentation?" "Read the meal planning endpoint docs"
Architecture:
"Show me the repository structure" "How do the API and Flutter app communicate?" "What subscription tiers exist?"
Troubleshooting
MCP server not responding
# Test the MCP server directly
cd docs/mcp
npx tsx src/index.tsIf dependencies are missing:
cd docs/mcp && npm installVS Code not detecting MCP
- Open Command Palette β "Developer: Reload Window"
- Check that
github.copilot.chat.mcpServersexists in your settings - Ensure
npxandtsxare available in your PATH
Claude Desktop not detecting MCP
- Fully quit and restart Claude Desktop (not just close the window)
- Check the config file at the path shown in the table above
- Verify the paths in the config point to your actual docs directory
Manual Setup
If you prefer to configure manually instead of using the script, see the full MCP Server documentation for step-by-step instructions.