opencode

Connect OpenCode to Code

Point an AI agent at a serverless function as a tool and it runs its own code instead of handing you a snippet to paste. It can execute a JavaScript or Python function on demand, calling it as a tool to transform data, run a calculation, or reshape a payload mid-task. Wire it into a hosted coding agent in NoClick and it can write a function, run it, and use the result without leaving the task.
Loading preview…
Opens a workflow with 2 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 Code

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

  3. Connect Code

    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. opencode mcp add only saves the config. OpenCode connects when it starts — run opencode, or restart a running one.

    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.

Code

2 tools
Run Javascript Function

JavaScript Runtime - Fast QuickJS execution.

Run Python Function

Python Runtime — isolated compute with GPU & packages.

Starting points

What you can build

Transform a messy API response into a clean object that downstream nodes can use directly.
Run a quick JavaScript calculation, such as scoring a lead or computing a date offset, between two other nodes.
Filter or reshape an array of records before passing it to a node that processes them one by one.
Use the Python runtime with pip packages to do heavier data processing that JavaScript cannot handle.
Implement custom branching logic that decides which path a workflow should take based on multiple fields.
Run a GPU-backed Python function for a compute-heavy task like model inference inside a larger workflow.

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 Code wired in as tools. Connect your account and run.