> ## 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.

# Set Up Wherobots in Kiro

> Install the Wherobots VS Code Extension in Kiro and manually configure the MCP Server and Agent Skills for AI-assisted geospatial development.

<Badge color="purple">Public Preview</Badge>

[**Kiro**](https://kiro.dev/) by Amazon Web Services is a Code OSS-based editor with spec-driven AI development.

<Note>
  The Wherobots extension installs from the Open VSX Registry, but MCP support must be enabled in Kiro's
  settings before the server will connect, and the MCP config file must use Kiro's `mcpServers` schema.
</Note>

## Why use Wherobots' agentic tools?

Wherobots' agentic tools connect your AI assistant to Wherobots Cloud and your local development environment so you can interact with your spatial data, catalogs, and jobs in a more intuitive way.

<AccordionGroup>
  <Accordion title="Explore your spatial catalog conversationally" icon="book-open">
    The MCP Server connects your AI assistant to Wherobots Cloud so you can browse catalogs, databases, and table schemas (including Overture Maps and your own datasets) by asking questions in plain language instead of navigating the console.
  </Accordion>

  <Accordion title="Generate Spatial SQL without memorizing functions" icon="code">
    Describe a geospatial task (e.g. "find buildings within 500m of this point") and the MCP Server returns optimized Spatial SQL using WherobotsDB's ST functions, spatial joins, and indexing patterns.
  </Accordion>

  <Accordion title="Submit and monitor Wherobots jobs from your editor" icon="rocket">
    Use the CLI or the extension to submit Spark job runs, stream logs in real time, check resource metrics, and cancel jobs without leaving your editor or terminal.
  </Accordion>

  <Accordion title="Get Wherobots-aware AI assistance" icon="brain">
    Agent Skills teach your AI assistant Wherobots-specific APIs, query patterns, and workflow sequences so it produces correct `wherobots` CLI commands, valid MCP tool calls, and accurate notebook code on the first try.
  </Accordion>
</AccordionGroup>

## What you'll do

Here's a high-level overview of the steps to set up Wherobots in Kiro:

<AccordionGroup>
  <Accordion title="1. Install the extension">
    Install the Wherobots extension and set your API key. [Jump to section](#install-the-extension).
  </Accordion>

  <Accordion title="2. Enable MCP support">
    Turn on MCP in Kiro's settings so the server can connect. [Jump to section](#enable-mcp-support).
  </Accordion>

  <Accordion title="3. Configure the MCP Server">
    Add the Wherobots MCP server to `mcp.json`. [Jump to section](#configure-the-mcp-server).
  </Accordion>

  <Accordion title="4. Install Agent Skills">
    Give your AI assistant Wherobots-specific knowledge. [Jump to section](#install-agent-skills).
  </Accordion>

  <Accordion title="5. Verify your setup">
    Confirm the setup with a test query. [Jump to section](#verify-your-setup).
  </Accordion>
</AccordionGroup>

## Before you start

Prior to installing the Wherobots VS Code extension, make sure you have:

* [Kiro](https://kiro.dev/) installed.
  * For more information on Kiro Plans see [Kiro Pricing](https://kiro.dev/pricing/).
* A **Wherobots Account** within a Community, Professional, or Enterprise Organization.
  * For more information, see [Create a Wherobots Account](/get-started/wherobots-cloud/create-account).

    <Info>
      **Organization Availability:** Available to all Wherobots Organization Editions.<br />

      * **Community Edition Organizations** can create and run local notebooks against the [Tiny and Micro runtimes](/develop/runtimes).
      * **Professional or Enterprise Organizations** are required for job submission, the Wherobots MCP server, and additional compute tiers. For more information, see [Upgrade Organization](/get-started/upgrade-organization) or [Organization Editions](/get-started/organization-management/organization-editions).
    </Info>

## Install the extension

Run the following command in your terminal:

```bash theme={"system"}
kiro --install-extension Wherobots.wherobotsjobsubmit
```

Or install from the [Open VSX Registry](https://open-vsx.org/extension/Wherobots/wherobotsjobsubmit).

### Configure the extension

After installation, set your API key to connect to Wherobots Cloud.

<Tip>
  If Kiro prompts you to install a missing dependency extension (e.g., Jupyter), click **Install and Reload**.
</Tip>

<Steps>
  <Step title="Open the Command Palette">
    To open the **Command Palette**, click the search bar at the top of your editor and type `>wherobots`.

    <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-command-palette.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=cf5121ebdf78b54e652e7fa7f8e773da" alt="Command Palette" width="1224" height="784" data-path="develop/agentic-tools/images/kiro/kiro-command-palette.png" />

    <Tip>
      You can also press <kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Mac, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Windows/Linux.
    </Tip>
  </Step>

  <Step title="Set your API key">
    1. If you don't have an API key yet, click `Wherobots: Generate API Key on Wherobots Cloud` to create one.
    2. Click `Wherobots: Set API Key` and enter your existing or newly created [Wherobots API key](/get-started/wherobots-cloud/api-keys/) when prompted, then press <kbd>Enter</kbd>.

       You will also use this API key in the MCP Server configuration later in this guide.
  </Step>
</Steps>

### Verify the installation

To confirm the extension is installed and configured correctly:

<Steps>
  <Step title="Open the Command Palette">
    To open the **Command Palette**, click the search bar at the top of your editor and type `>wherobots`.

    <Tip>
      You can also press <kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Mac, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> on Windows/Linux.
    </Tip>
  </Step>

  <Step title="Confirm available commands">
    Type **Wherobots** to see the available extension commands.
    At this point, you should see commands including:

    * `Wherobots: Set API Key`
    * `Wherobots: Create Workspace`
    * `Wherobots: Submit Job`
    * `Wherobots: Refresh Workspaces`
    * `Wherobots: Open Settings`
    * `Wherobots: Install Jupyter Extension`
  </Step>
</Steps>

## Enable MCP support

Kiro requires MCP to be explicitly enabled before it will connect to any MCP server.

<Steps>
  <Step title="Open Kiro Settings">
    Press <kbd>⌘</kbd> + <kbd>,</kbd> on macOS or <kbd>Ctrl</kbd> + <kbd>,</kbd> on Windows/Linux to open **Settings**.

    Make sure the following are enabled:

    * `wherobotsjobsubmit.mcpServerEnabled`
    * `kiroAgent.configureMCP`

    <Frame caption="Kiro Settings showing `wherobotsjobsubmit.mcpServerEnabled` and `kiroAgent.configureMCP` both turned on.">
      <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-enabled-mcp-and-job.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=c1f3cddf2f4648bbf836370e9a78e401" alt="Kiro Settings panel with the Wherobots MCP server and job submission settings enabled" width="2210" height="1202" data-path="develop/agentic-tools/images/kiro/kiro-enabled-mcp-and-job.png" />
    </Frame>
  </Step>

  <Step title="Enable MCP">
    In Kiro's **Command Palette**, search for `kiro: open MCP Config`.

    <Frame>
      <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-mcp-config.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=6d196f276eee39071973a0de22de0b9a" alt="Kiro Settings with MCP enabled dropdown" width="1216" height="382" data-path="develop/agentic-tools/images/kiro/kiro-mcp-config.png" />
    </Frame>
  </Step>
</Steps>

## Configure the MCP Server

The [Wherobots MCP Server](/develop/mcp/mcp-server-setup) enables AI assistants to explore your spatial data catalogs, generate Spatial SQL, and execute queries.

Kiro stores MCP configuration in `mcp.json` using a `mcpServers` object. Choose the appropriate level for your use case:

| Config level         | File path & When to use                                                                                                                               |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **User Config**      | `~/.kiro/settings/mcp.json` — Applies to every Kiro workspace; use when you want the Wherobots MCP server available globally.                         |
| **Workspace Config** | `.kiro/settings/mcp.json` (project root) — Applies only to the current workspace; use when projects need different API keys or server configurations. |

<Note>
  The steps below use the **User Config** so the server is available in all workspaces.
  To use Workspace Config instead, create `.kiro/settings/mcp.json` in your project root with the same content.
</Note>

<Steps>
  <Step title="Open your MCP config file">
    In the same MCP Settings view, click **Open User MCP Config (JSON)**. Kiro opens `~/.kiro/settings/mcp.json`.

    <Tip>
      You can also open it via the **Command Palette** (<kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>) by typing **Kiro: Open User MCP Config (JSON)**.
    </Tip>

    <Frame caption="Choose between the User Config and Workspace Config tabs in the Kiro MCP config editor.">
      <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-mcp-json-workspace-user.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=b2a9e97a457751f15e43c09dfc759658" alt="Kiro MCP config editor showing User Config and Workspace Config tabs" width="854" height="157" data-path="develop/agentic-tools/images/kiro/kiro-mcp-json-workspace-user.png" />
    </Frame>
  </Step>

  <Step title="Add the Wherobots MCP server">
    1. Copy and paste the following snippet into your `mcp.json`, modifying the API key as described:

       If the file already contains other servers, add the new entry alongside them.

       ```json wrap theme={"system"}
           {
             "mcpServers": {
               "wherobots-mcp-server": {
                 "url": "https://api.cloud.wherobots.com/mcp/",
                 "headers": {
                   "x-api-key": "YOUR_WHEROBOTS_API_KEY"
                 }
               }
             }
           }
       ```

           <Warning>
             Kiro requires the top-level key `mcpServers` and **does not** accept the VS Code-style `servers` key or the `"type": "http"` field. Using either will produce an *"Error loading powers config: Unexpected token"* message in the Output panel.
           </Warning>

    2. Replace "YOUR\_WHEROBOTS\_API\_KEY" with your [Wherobots API key](/get-started/wherobots-cloud/api-keys/).

    3. Save the file.

       Kiro automatically detects the change and may add `disabled`, `autoApprove`, and `disabledTools` fields to the entry.
  </Step>

  <Step title="Confirm the server connected">
    1. Open the **Output** panel (<kbd>⌘</kbd> + <kbd>Shift</kbd> + <kbd>U</kbd>)

    2. Look for the following message in the **Kiro - MCP Logs** output stream:

       ```sh wrap theme={"system"}
       [info] [wherobots-mcp-server] Successfully connected and synced tools and resources for MCP server
       ```

       If you see this message, the server is connected and ready to use.
  </Step>
</Steps>

<Tip>
  The extension exposes optional settings for the MCP server — including query timeout, runtime size, and cloud region. See [Configure MCP server settings](/develop/mcp/mcp-server-setup#configure-mcp-server-settings).
</Tip>

## Agent Skills

The Wherobots [Agent Skills](/develop/agent-skills) give your AI assistant domain-specific knowledge about Wherobots workflows, APIs, and best practices.

Install all three Wherobots skills for comprehensive AI assistance across your Wherobots development workflow.

These Skills enable your AI assistant to provide accurate, Wherobots-specific guidance in chat and notebooks.

| Skill               | Purpose                                                            |
| ------------------- | ------------------------------------------------------------------ |
| `wherobots-develop` | Guidance for writing Wherobots jobs and using the SDK/CLI.         |
| `wherobots-explore` | Catalog discovery and spatial query generation via the MCP server. |
| `wherobots-usage`   | Interface decision matrix, auth setup, and scheduled-job patterns. |

### Import Agent Skills

Kiro can import skills directly from GitHub through the **Agent Steering & Skills** panel in the sidebar.

<Steps>
  <Step title="Open the skill import dialog">
    <ol>
      <li>
        Click the <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-icon.svg?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=ec7fa74cc69acab1240488f9a5f7ac7c" alt="Kiro logo" style={{ display: "inline", width: "1.25rem", height: "1.25rem", verticalAlign: "text-bottom", margin: "0 0.25rem" }} noZoom width="1200" height="1200" data-path="develop/agentic-tools/images/kiro/kiro-icon.svg" /> Kiro icon in the Activity Bar to open the sidebar.
      </li>

      <li>Open the <strong>AGENT STEERING & SKILLS</strong> section.</li>
      <li>Click the <strong>+</strong> button to add a new skill.</li>

      <Frame>
        <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-point-plus-skills.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=c11bf5fc0d006d6cebb3cccd683e2caa" alt="Kiro Agent Steering & Skills section with + button to add a new skill highlighted" width="782" height="778" data-path="develop/agentic-tools/images/kiro/kiro-point-plus-skills.png" />
      </Frame>
    </ol>
  </Step>

  <Step title="Select Import skill from GitHub">
    1. Type **Agent Skills** in the search bar that appears.
    2. Select either **Global agent skills** or Project-specific agent skills from the dropdown.
           <Frame>
             <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-agent-skills-global.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=9fc561f469b88f2ebd4f151e07b02fc7" alt="Kiro Agent Steering & Skills section with search bar for Agent Skills highlighted" width="1216" height="280" data-path="develop/agentic-tools/images/kiro/kiro-agent-skills-global.png" />
           </Frame>
    3. Click **Import skill from GitHub**.
           <Frame>
             <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-import-skill-method.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=12955c70ec46df870969d4bd9e479741" alt="Kiro import skill dialog with Import skill from GitHub option highlighted" width="1208" height="272" data-path="develop/agentic-tools/images/kiro/kiro-import-skill-method.png" />
           </Frame>
    4. This opens a dialog where you can paste the URL of the skill's GitHub repository.
           <Frame>
             <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-enter-gh-url.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=a339ee4671d60f00331777410b6c414a" alt="Kiro dialog prompting for a GitHub repository URL to import a skill" width="1212" height="142" data-path="develop/agentic-tools/images/kiro/kiro-enter-gh-url.png" />
           </Frame>
  </Step>

  <Step title="Import each Wherobots skill">
    1. For each URL below, hover over the URL and click <Icon icon="copy" /> on the right-hand side to copy the URL to your clipboard.

       ```sh wrap theme={"system"}
       https://github.com/wherobots/agent-skills/tree/main/.agents/skills/wherobots-develop
       ```

       ```sh wrap theme={"system"}
       https://github.com/wherobots/agent-skills/tree/main/.agents/skills/wherobots-explore
       ```

       ```sh wrap theme={"system"}
       https://github.com/wherobots/agent-skills/tree/main/.agents/skills/wherobots-usage
       ```

    2. Paste the URL into Kiro's import dialog and press <kbd>Enter</kbd>.

    After each import, Kiro downloads the `SKILL.md` file and adds the skill to the **AGENT STEERING & SKILLS** section in the sidebar.

    <Tip>
      We recommend installing **all three skills** to get the full benefits of AI-assisted development with Wherobots.
    </Tip>
  </Step>

  <Step title="Confirm the skills are installed">
    All three skills should appear under **AGENT STEERING & SKILLS** in the sidebar.

    <Frame caption="The Kiro sidebar showing wherobots-develop, wherobots-explore, and wherobots-usage installed under Agent Steering & Skills.">
      <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-agent-steering-skills.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=67234152e584c50e6ee78ea62b2c5cf7" alt="Kiro sidebar with all three Wherobots skills installed under Agent Steering & Skills" width="774" height="336" data-path="develop/agentic-tools/images/kiro/kiro-agent-steering-skills.png" />
    </Frame>
  </Step>
</Steps>

## Verify your setup

1. Check the **MCP SERVERS** section in Kiro's sidebar (left panel).

   You should see `wherobots` with **Connected (8 tools)** and a list of tools including `list_catalogs_tool`, `list_tables_tool`, `describe_table_tool`, `execute_query_tool`, and `search_documentation_tool`.

   <Frame caption="The <strong>MCP SERVERS</strong> section in Kiro's sidebar showing wherobots connected with 8 tools.">
     <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-mcp-servers-activity-bar.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=39c51d0df710f2d6487600b9a205679c" alt="Kiro sidebar showing wherobots MCP server connected with 8 tools" style={{ float: "none", marginLeft: "1rem", maxWidth: "350px" }} width="773" height="778" data-path="develop/agentic-tools/images/kiro/kiro-mcp-servers-activity-bar.png" />
   </Frame>

2. Open a **New Session** chat panel.

3. Ask a test question, for example:
   > List the catalogs I have access to in Wherobots

4. Kiro's agent calls `list_catalogs_tool` on the `wherobots` MCP server. You may be prompted to **Trust** or **Run** the tool call.

   <Frame caption="Kiro's agent calling <code>list_catalogs_tool</code> to list available Wherobots catalogs.">
     <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/verify-chat-tool-call-list.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=128e59a4dcfeaab2fa69178dfd82693a" alt="Kiro chat calling list_catalogs_tool via MCP" width="993" height="478" data-path="develop/agentic-tools/images/kiro/verify-chat-tool-call-list.png" />
   </Frame>

5. If successful, the agent returns your available catalogs, which includes `wherobots_open_data`, `wherobots_pro_data` (for Professional and Enterprise Organizations), and any private catalogs in your Organization.

## Pin the extension for easy access

If the Wherobots VS Code Extension is pinned to your sidebar, you can also create a new workspace by clicking the **Create Workspace** button.

To pin the Wherobots extension to the sidebar:

<Steps>
  <Step title="Pin the extension">
    Right-click the **Activity Bar** (the vertical icon bar on the left side of your editor).

    A menu will appear showing all available extensions.
  </Step>

  <Step title="Select the extension">
    To pin the extension, find **Wherobots** in the list and click on it to ensure it's checked.

    <Frame caption="The context menu for the Activity Bar with the Wherobots extension checked in Kiro.">
      <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/kiro-pin-extension.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=5c9c6d07b45aa9ad24629177ce7a9715" alt="Wherobots extension checked in the Kiro Activity Bar" style={{ float: "none", marginLeft: "1rem", maxWidth: "350px" }} width="596" height="802" data-path="develop/agentic-tools/images/kiro/kiro-pin-extension.png" />
    </Frame>
  </Step>
</Steps>

## Troubleshooting

### `MCP: Browse MCP Servers` results in an error

Kiro does not implement the VS Code `workbench.mcp.browseServers` command. Running **MCP: Browse MCP Servers** from the Command Palette will display *"command 'workbench.mcp.browseServers' not found"*.

<Frame caption="Kiro error dialog: 'command workbench.mcp.browseServers not found' after running MCP: Browse MCP Servers.">
  <img src="https://mintcdn.com/wherobots/1VPaQX-8_3pkVU6l/develop/agentic-tools/images/kiro/browse-mcp-error.png?fit=max&auto=format&n=1VPaQX-8_3pkVU6l&q=85&s=fcc28b2e29da59a50ff66c7b2c9decd8" alt="Kiro error dialog showing the workbench.mcp.browseServers command not found" style={{ float: "none", marginLeft: "1rem", maxWidth: "350px" }} width="581" height="536" data-path="develop/agentic-tools/images/kiro/browse-mcp-error.png" />
</Frame>

This does **not** mean the MCP server is broken.

To verify the server is working:

* Check the **MCP SERVERS** section in Kiro's sidebar for a green **Connected** status.
* Check the **Output** panel → **Kiro - MCP Logs** for the "Successfully connected" message.
* Test the server directly in chat by asking a question like *"Show me the catalogs in my Wherobots Organization"*.

### `Error loading powers config: Unexpected token`

This error appears in the Output panel and as a notification when `mcp.json` contains invalid JSON or uses the wrong schema.

Common causes:

* Using the VS Code key `"servers"` instead of Kiro's `"mcpServers"`.
* Including a `"type": "http"` field. Kiro does not use this field and it will cause an error.
* Missing the outer `{ ... }` wrapper or a trailing comma.

Re-paste the snippet from [Configure the MCP Server](#configure-the-mcp-server) exactly as shown, save the file, and check the Output panel for a successful connection.

### `MCP is currently disabled`

If you see a banner saying *"MCP is currently disabled. To start using MCP, please enable it in the settings."*, review
the [Enable MCP support](#enable-mcp-support) section above to ensure MCP is turned on in Kiro's settings.

## Next steps

<CardGroup cols={2}>
  <Card title="Browse Your Data" icon="database" href="/develop/vscode-extension/integrate-your-data">
    Browse catalogs, schemas, and tables in the Data Hub sidebar.
  </Card>

  <Card title="AI-Assisted Notebooks" icon="notebook" href="/develop/vscode-extension/notebooks">
    Create and connect local notebooks to remote Wherobots compute.
  </Card>

  <Card title="Submit Job Runs" icon="play" href="/develop/vscode-extension/jobs">
    Submit Python scripts as Wherobots job runs from your editor.
  </Card>

  <Card title="MCP Server Best Practices" icon="message-bot" href="/develop/mcp/mcp-server-usage">
    Common tasks, example prompts, and cost considerations for the MCP Server.
  </Card>
</CardGroup>
