opencode

Connect OpenCode to Hex

Give an AI agent your Hex workspace as a tool and it can act on your analytics projects instead of only describing them. It can pull up a project, check a run's status and cancel it if it hangs, read the rendered image of a run's output cell, create embed URLs for results, and keep collections, data connections, and groups organized as it works. Wire it into a coding agent in NoClick and it can watch a run through to completion and route what comes out of it wherever it needs to go.
Loading preview…
Opens a workflow with 28 tools ready to use.

What happens next

Set up in minutes

The open button drops you into a guided setup. It asks exactly this, nothing else:
  1. Choose where it runs

    On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:

  2. Pick what it can do in Hex

    A preset of real Hex operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.

  3. Connect Hex

    One sign-in. The agent acts through your account, scoped to the operations you picked.

  4. Add your personal MCP link

    The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in.

    1. Run this in your terminal

    $opencode mcp add

    2. Choose Remote and paste your server URL

    https://mcp.noclick.app/s/<your-link>

    3. Choose No when asked about OAuth authentication — the link itself is the key

    <your-link> is your personal server URL — setup mints it for you.

Exact capabilities

Tools OpenCode gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

Hex

28 tools
Run Project

Trigger a run of a project's latest published version.

Get Run Status

Get the status of a single project run.

Get Project Runs

List recent runs for a project.

Cancel Run

Cancel an in-progress run.

Get Run Cell Image

Download a rendered PNG of a chart/cell output from a run.

List Projects

List all projects the caller can view.

Get Project

Fetch metadata for a single project.

Update Project

Update a project's status or endorsements.

Update Collection Sharing

Add or remove a project from collections.

Update Workspace/Public Sharing

Set workspace-wide or public access level for a project.

Update Group Sharing

Add groups or change their access level on a project.

Update User Sharing

Add users or change their access level on a project.

Create Embed URL

Create a signed embed URL for a project.

List Users

List workspace users (Admin API; Team/Enterprise).

Get Current User

Return the token owner's user info.

Deactivate User

Deactivate a workspace user.

List Groups

List all groups.

Create Group

Create a new group.

Get Group

Fetch a group's details.

Edit Group

Rename a group or add/remove members.

Delete Group

Delete a group.

List Collections

List all collections.

Create Collection

Create a collection.

Get Collection

Fetch a collection's details.

Edit Collection

Edit a collection; upsert user/group/workspace access.

List Data Connections

List configured data connections.

Edit Data Connection

Edit a data connection / rotate secrets.

Ingest Semantic Project

Ingest a semantic project from a zip (max 3 req/min).

Starting points

What you can build

When a Hex project run completes, grab the run's cell image and post the chart into a Slack channel automatically.
On a schedule, check the status of your key project runs and cancel any that have been running far too long.
When a run finishes, create an embed URL for the project and drop it into a report or email so stakeholders always see the latest view.
After a run completes, pull its full run history and log status and timing to a spreadsheet for reliability tracking.
When someone leaves the team, deactivate their Hex user and remove them from the relevant groups in one pass.
Audit workspace access weekly by listing every group and data connection, then flagging anything that should not be there.

Meet the runner

About OpenCode

OpenCode is an open, model-agnostic command-line coding agent. In NoClick it runs hosted and gains your apps as tools, so it can act on real systems rather than just edit files. Wire an integration into the agent and OpenCode can use that app’s operations directly while it works. It is a flexible choice when you want an open agent with broad model support and real tool access.
Open and model-agnostic
Flexible across many underlying models
Good general-purpose tool use
Lightweight to point at a focused task

Good to know

Frequently asked questions

Keep exploring

More ways to connect

Make it yours

Open your OpenCode agent in one click.

NoClick runs OpenCode for you with Hex wired in as tools. Connect your account and run.