> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the Databox MCP server

The Databox MCP connector routes your AI agent's tool calls to Databox's own MCP server through Scalekit. Each user signs in to Databox once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 19 tools.

**Authentication:** OAuth 2.1/DCR
**Categories:** Analytics, Monitoring
**Tools:** 19: 14 read, 3 write, 2 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=DATABOXMCP)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Databox MCP connection

   In **AgentKit > Connections**, create a Databox MCP connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for Databox MCP server, so you don't need to register an OAuth app.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'databoxmcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Databox MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'databoxmcp_get_current_datetime',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "databoxmcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Databox MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="databoxmcp_get_current_datetime",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'databoxmcp_ask_genie',
  toolInput: {
    dataset_id: '<dataset_id>',
    question: '<question>',
  },
  connector: 'databoxmcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="databoxmcp_ask_genie",
    tool_input={
        "dataset_id": "<dataset_id>",
        "question": "<question>",
    },
    connection_name="databoxmcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `databoxmcp_ask_genie`

Ask Genie · Read-only

Ask Genie, the Databox AI data analyst, to explore and analyze a dataset using natural language. Genie can answer business questions, run SQL queries, surface trends, and provide summaries.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dataset_id` (`string`, required): No description.
- `question` (`string`, required): No description.
- `thread_id` (`string`, optional): No description.

Example input: `{"dataset_id":"<dataset_id>","question":"<question>"}`

### `databoxmcp_get_current_datetime`

Get Current Datetime · Read-only

Get the current date and time in ISO 8601 format for a given timezone. Useful for resolving relative date expressions such as "last month" or "yesterday" before passing absolute dates to other tools.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `timezone` (`string`, optional): No description.

Example input: `{}`

### `databoxmcp_get_databoard_by_id`

Get Databoard By Id · Read-only

Retrieve full details for a single Databox databoard (dashboard) by its numeric ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `board_id` (`integer`, required): No description.

Example input: `{"board_id":1}`

### `databoxmcp_get_dataset_ingestions`

Get Dataset Ingestions · Read-only

Retrieve the full ingestion history for a dataset, including job IDs, statuses, record counts, timestamps, and any error messages.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dataset_id` (`string`, required): No description.

Example input: `{"dataset_id":"<dataset_id>"}`

### `databoxmcp_get_date_ranges`

Get Date Ranges · Read-only

Resolve a JSON-encoded SimpleDateRange object (e.g. a preset range type such as "LastXDays") into concrete start and end dates.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `date_range` (`string`, required): No description.

Example input: `{"date_range":"<date_range>"}`

### `databoxmcp_get_ingestion`

Get Ingestion · Read-only

Get detailed information for a specific ingestion event, including status, timestamps, dataset metrics, and per-record ingestion outcomes.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `dataset_id` (`string`, required): No description.
- `ingestion_id` (`string`, required): No description.

Example input: `{"dataset_id":"<dataset_id>","ingestion_id":"<ingestion_id>"}`

### `databoxmcp_list_accounts`

List Accounts · Read-only

List all Databox accounts accessible to the authenticated user. Use this to discover account IDs needed for other operations.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `databoxmcp_list_data_source_datasets`

List Data Source Datasets · Read-only

List all datasets belonging to a specific Databox data source, including schema details, row counts, and metadata.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `data_source_id` (`string`, required): Unique identifier of the data source
- `account_id` (`string`, optional): Numeric id of the account the data source belongs to,
from list_accounts (optional, defaults to the organization the
user signed in to)

Example input: `{"data_source_id":"<data_source_id>"}`

### `databoxmcp_list_data_sources`

List Data Sources · Read-only

List all API-ingestible data sources for a specific Databox account, returning IDs, names, types, and creation timestamps.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): No description.

Example input: `{"account_id":"<account_id>"}`

### `databoxmcp_list_merged_datasets`

List Merged Datasets · Read-only

List all merged datasets for a specific Databox account. Merged datasets combine data from multiple sources into a single unified dataset.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `account_id` (`string`, required): No description.

Example input: `{"account_id":"<account_id>"}`

### `databoxmcp_list_metrics`

List Metrics · Read-only

List all metrics available for a Databox data source, including metric keys, names, descriptions, and available dimensions. Pass the full metric_key value unchanged to load_metric_data.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `data_source_id` (`integer`, required): No description.

Example input: `{"data_source_id":1}`

### `databoxmcp_load_metric_data`

Load Metric Data · Read-only

Retrieve data points for a Databox metric over a date range with optional time-series granulation and dimension breakdown. The metric_key must be the exact value returned by list_metrics.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `data_source_id` (`integer`, required): No description.
- `end_date` (`string`, required): No description.
- `metric_key` (`string`, required): No description.
- `start_date` (`string`, required): No description.
- `dimension` (`string`, optional): No description.
- `granulation_time_unit` (`string`, optional): No description.
- `is_whole_range` (`boolean`, optional): No description. Default: `true`.
- `metric_name` (`string`, optional): No description.
- `multiplier` (`string`, optional): No description.
- `range_type_id` (`string`, optional): No description.
- `record_limit` (`string`, optional): No description.

Example input: `{"data_source_id":1,"end_date":"<end_date>","metric_key":"<metric_key>","start_date":"<start_date>"}`

### `databoxmcp_refresh_chart_data`

Refresh Chart Data · Read-only

Fetch chart-ready data for a Databox visualization given a metric setup, date range, and visualization type (line, bar, or table), with optional filters.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `date_range` (`string`, required): No description.
- `metric_setup` (`string`, required): No description.
- `visualization` (`integer`, required): No description.
- `filters` (`string`, optional): No description.

Example input: `{"date_range":"<date_range>","metric_setup":"<metric_setup>","visualization":1}`

### `databoxmcp_search_databoards`

Search Databoards · Read-only

Search Databox databoards (dashboards) by text query, optionally filtered by data source type or by connection/space access ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `data_source_filter` (`string`, optional): No description.
- `query` (`string`, optional): No description.
- `space_access_id_filter` (`string`, optional): No description.

Example input: `{}`

### `databoxmcp_create_data_source`

Create Data Source · Write

Create a new data source container in Databox for organizing datasets. Optionally scopes the data source to a specific account; defaults to the account of the authenticated API key.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `name` (`string`, required): No description.
- `account_id` (`string`, optional): No description.

Example input: `{"name":"<name>"}`

### `databoxmcp_create_dataset`

Create Dataset · Write

Create a structured dataset within a Databox data source, optionally defining a column schema and primary keys for tabular data storage.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `data_source_id` (`string`, required): No description.
- `name` (`string`, required): No description.
- `columns` (`string`, optional): No description.
- `primary_keys` (`string`, optional): No description.

Example input: `{"data_source_id":"<data_source_id>","name":"<name>"}`

### `databoxmcp_ingest_data`

Ingest Data · Write

Push data records into an existing Databox dataset. Each record must match the dataset schema; data is validated against column types and constraints before ingestion.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `data` (`string`, required): No description.
- `dataset_id` (`string`, required): No description.

Example input: `{"data":"<data>","dataset_id":"<dataset_id>"}`

### `databoxmcp_delete_data_source`

Delete Data Source · Destructive

Permanently delete a data source and all its associated datasets from Databox. This operation cannot be undone.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `data_source_id` (`string`, required): No description.

Example input: `{"data_source_id":"<data_source_id>"}`

### `databoxmcp_delete_dataset`

Delete Dataset · Destructive

Permanently delete a dataset and all its data from Databox. This operation cannot be undone.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `dataset_id` (`string`, required): No description.

Example input: `{"dataset_id":"<dataset_id>"}`

## Related

Other Analytics connectors ([all 127](/agentkit/connectors/?category=analytics)):

- [Microsoft 365](/agentkit/connectors/microsoft365/): Scalekit connector, OAuth, 317 tools
- [HubSpot](/agentkit/connectors/hubspot/): Scalekit connector, OAuth, 457 tools
- [Snowflake](/agentkit/connectors/snowflake/): Scalekit connector, OAuth, 42 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
