Skip to content

MCP Tools Reference ​

Orchestre provides eight specialized MCP tools that power its intelligent development capabilities. Each tool serves a specific purpose in the development workflow.

Available Tools ​

πŸš€

initialize_project

Smart project initialization with template selection and setup

DeterministicLocal
View Documentation β†’
πŸ“Š

analyze_project

Deep requirements analysis using AI to understand complexity

AI: GeminiAnalysis
View Documentation β†’
πŸ“‹

generate_plan

Create intelligent, phased development plans

AI: GeminiPlanning
View Documentation β†’
πŸ”

multi_llm_review

Consensus-based code review using multiple AI models

AI: Multi-ModelReview
View Documentation β†’
πŸ“Έ

take_screenshot

Capture screenshots of screen or specific windows

LocalVisual
View Documentation β†’
πŸ–ΌοΈ

get_last_screenshot

Retrieve the most recent screenshot

LocalVisual
View Documentation β†’
πŸͺŸ

list_windows

List all visible windows for targeted capture

macOSSystem
View Documentation β†’
πŸ”¬

research

AI-powered research and information gathering

AI: GeminiResearch
View Documentation β†’

Tool Categories ​

Project Setup ​

  • initialize_project: Creates new projects from templates or adds Orchestre to existing projects

Analysis & Planning ​

  • analyze_project: Understands requirements and complexity
  • generate_plan: Creates actionable development plans
  • research: Conducts AI-powered research on technical topics

Code Quality ​

  • multi_llm_review: Performs comprehensive code review with consensus

Visual Tools ​

  • take_screenshot: Capture full screen or specific windows
  • get_last_screenshot: Retrieve recent screenshots
  • list_windows: List available windows (macOS only)

How Tools Work ​

Invocation ​

Tools are called by Claude Code through the MCP protocol:

typescript
// Claude invokes a tool
mcp__orchestre__analyze_project({
  requirements: "Build a real-time chat application",
  context: {
    template: "makerkit",
    constraints: ["Must scale to 10k users"]
  }
})

Response Format ​

All tools return structured JSON responses:

json
{
  "content": [
    {
      "type": "text",
      "text": "{\"success\": true, \"data\": {...}}"
    }
  ],
  "isError": false
}

Tool Composition ​

Tools work together in intelligent workflows:

Example workflow:

  1. Analyze requirements to understand complexity
  2. Generate a plan based on analysis
  3. Execute the plan with Claude's help

Error Handling ​

All tools implement consistent error handling:

json
{
  "error": "Template 'invalid' not found",
  "details": "Available templates: makerkit-nextjs, cloudflare-hono, react-native-expo",
  "suggestion": "Use one of the available templates or provide a custom repository URL"
}

Performance Considerations ​

ToolTypical DurationFactors
initialize_project< 1sFile I/O, template size
analyze_project2-5sAI processing, complexity
generate_plan3-7sRequirements complexity
multi_llm_review5-10sMultiple AI calls, consensus

Best Practices ​

1. Use Tools Appropriately ​

βœ… Do:

  • Use analyze_project before generate_plan
  • Call initialize_project to set up new or existing projects
  • Provide rich context for better results

❌ Don't:

  • Skip analysis for complex projects
  • Manually create .orchestre structure
  • Provide minimal context

2. Handle Tool Responses ​

Always check for errors:

javascript
const result = await analyze_project(requirements);
if (result.isError) {
  console.error(result.content[0].text);
  // Handle error appropriately
}

3. Provide Context ​

More context = better results:

javascript
// Minimal context
{ requirements: "Add auth" }

// Rich context
{
  requirements: "Add JWT-based authentication",
  context: {
    template: "makerkit-nextjs",
    constraints: ["Must support SSO", "Enterprise-grade security"]
  }
}

API Quotas ​

Tools that use external APIs have quotas:

ToolAPIFree TierRate Limits
initialize_projectNoneN/ANone
analyze_projectGemini60 QPM1M tokens/day
generate_planGemini60 QPM1M tokens/day
multi_llm_reviewMultiVariesProvider-specific

Troubleshooting ​

Common Issues ​

Tool Not Available

  • Check MCP server is running
  • Verify tool registration in server.ts
  • Restart Claude Code

API Errors

  • Verify GEMINI_API_KEY is set
  • Check API quotas
  • Review error messages

Timeout Issues

  • Complex operations may take time
  • Consider breaking into smaller tasks
  • Check network connectivity

Summary ​

Orchestre's MCP tools provide the foundation for intelligent development workflows. By understanding each tool's purpose and capabilities, you can build sophisticated applications with AI assistance.

Built with ❀️ for the AI Coding community, by Praney Behl