Skip to content

API Reference

Welcome to the Orchestre API Reference. This section provides comprehensive documentation for all tools, prompts, and configurations available in Orchestre.

Overview

Orchestre provides three main types of APIs:

  1. MCP Tools - Low-level tools that perform specific operations
  2. Commands - High-level dynamic prompts that orchestrate complex workflows
  3. Configuration - Settings and options for customizing behavior

MCP Tools

The 8 core MCP tools that power Orchestre:

Prompts

20 essential prompts across 6 categories:

Project Setup (3 prompts)

Development & Execution (4 prompts)

Enterprise & Production (3 prompts)

Knowledge Management (7 prompts)

Code Quality (1 prompt)

  • /review - Multi-LLM consensus code review

Additional Commands (2 prompts)

Configuration

Understanding the Reference

Tool vs Command

MCP Tools are the low-level building blocks:

  • Perform specific, focused operations
  • Return structured data
  • No orchestration logic
  • Called by commands

Commands are high-level orchestrators:

  • Analyze context and adapt
  • May use multiple tools
  • Contain intelligence and decision-making
  • Provide user-friendly interface

Example Flow

When you run /create my-app react-native-expo:

  1. The /create command is invoked
  2. It calls the initialize_project tool
  3. The tool copies template files and installs dependencies
  4. The command then suggests next steps based on the template

API Conventions

Tool Response Format

All MCP tools return responses in this format:

typescript
{
  content: [
    {
      type: 'text',
      text: string // JSON stringified result
    }
  ],
  isError?: boolean
}

Command Syntax

Commands follow consistent patterns:

bash
/command-name [required-param] [optional-param] --flag

Examples:

bash
/create my-app makerkit-nextjs
/orchestrate "Build a chat feature"
/review --security
/performance-check --comprehensive

Error Handling

Both tools and commands provide helpful error messages:

json
{
  "error": "Database connection failed",
  "details": "Unable to connect to PostgreSQL at localhost:5432",
  "suggestion": "Check your DATABASE_URL environment variable"
}

Getting Help

Contributing

Found an issue or want to add a feature?

  • Report issues on GitHub
  • Submit PRs for new commands or tools
  • Share your custom commands with the community

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