# Codemode

Code-as-Orchestration: the model writes one JavaScript snippet that calls your MCP tools (plus web_search/web_extract) in a QuickJS sandbox, loops and filters there.

- Type: Plugin
- Version: 0.2.0
- Updated: 22 Nov 2026
- Publisher: junbo-hh
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Code-as-Orchestration: the model writes one JavaScript snippet that calls your MCP tools (plus web_search/web_extract) in a QuickJS sandbox, loops and filters there, and returns only the answer. Tool schemas are found on demand with BM25 searchTools.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `codemode`

## How to set it up

Disclosure — every run starts a short-lived local Python child process hosting QuickJS (minimal env, no API keys, no fs/network access, killed on finish or timeout); scripts can call every connected MCP tool plus web_search/web_extract (more via the setting) through ctx.dispatch_tool, which keeps per-tool approvals such as MCP trust prompts and spend limits but does not run other plugins' pre_tool_call hooks or tool middleware on those inner calls and does not apply per-platform toolset limits to them; no network calls of its own, no telemetry, no stored credentials.

```
extra_tools
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [coder](https://www.ulpi.io/en/marketplace/plugins/coder): Disclosure — runs terminal commands inside your Coder workspace at CODER_URL using CODER_API_KEY; starts a stopped workspace automatically.
- [colab](https://www.ulpi.io/en/marketplace/plugins/colab): Uploads the run's files (hidden files and folders, symlinks, hard links, virtualenvs and common credential files excluded; the home directory, ULPI_HOME and credential.
- [Coldstart](https://www.ulpi.io/en/marketplace/plugins/coldstart): Evidence-gated answering with a provenance hierarchy, for any local AI deployment.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
