> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server vs CLI

> Understand when to use the Wherobots MCP Server and when to use the Wherobots CLI.

The [**Wherobots MCP Server**](/develop/mcp/mcp-server-setup) and [**Wherobots CLI**](/develop/cli) are complementary tools for working with Wherobots Cloud.

Each is optimized for different tasks. Use this guide to pick the right tool for your workflow.

## When to use the MCP Server

The MCP Server is designed for query generation and conversational data exploration. Use it when you want to interact with your data conversationally through an AI assistant.

<AccordionGroup>
  <Accordion title="Explore your catalog" icon="book-open">
    Browse catalogs, databases, and table schemas using natural language.
  </Accordion>

  <Accordion title="Generate spatial queries" icon="code">
    Describe what you want in plain language and get Spatial SQL back.
  </Accordion>

  <Accordion title="Understand your data" icon="magnifying-glass-chart">
    Assess data quality, inspect schemas, and run preliminary analysis.
  </Accordion>

  <Accordion title="Learn about Wherobots features" icon="graduation-cap">
    Ask about spatial functions, best practices, and documentation.
  </Accordion>

  <Accordion title="Notebook generation" icon="notebook">
    Generate Jupyter notebooks or other interactive documents based on your data queries and spatial analysis.
  </Accordion>
</AccordionGroup>

<Card title="Set up the MCP Server" icon="message-bot" href="/develop/mcp/mcp-server-setup">
  Configure the Wherobots MCP Server in your editor or agentic terminal.
</Card>

## When to use the CLI

The CLI is designed for **job management and automation**. Use it when you need to run jobs, monitor workloads, or script against the Wherobots API.

<AccordionGroup>
  <Accordion title="Submit and monitor jobs" icon="rocket">
    Create Spark job runs, stream logs, and check resource metrics.
  </Accordion>

  <Accordion title="Manage workloads" icon="list-check">
    List, filter, and inspect job runs by status, name, or timestamp.
  </Accordion>

  <Accordion title="Access the full API" icon="plug">
    Every Wherobots API endpoint is available as a CLI command.
  </Accordion>

  <Accordion title="Automate workflows" icon="gears">
    Integrate with CI/CD pipelines, shell scripts, and orchestration tools.
  </Accordion>
</AccordionGroup>

<Card title="Install the CLI" icon="terminal" href="/develop/cli">
  Install and configure the Wherobots CLI.
</Card>
