MCP Server

Give your coding agent tool calls for searching the catalogue and fetching block source.

Public beta

The manifest tells an agent what exists. The MCP server lets it act on that — searching the catalogue and pulling exact source without a web fetch.

It is a remote server, so there is nothing to install and no key to paste. Your client signs in to your Toro UI account with OAuth the first time it connects.

Setup

Add the URL to your MCP client configuration:

On first use your client opens a browser window to authorise. Access can be revoked per client from your account at any time.

Why not a licence key in the config?

Because config files get committed. OAuth keeps the credential out of your repository, scopes it to a single client, and lets you revoke it without rotating the key your CLI depends on.

Tools

ToolLicence neededPurpose
search_blocksNoFind blocks by description, section or category
list_sectionsNoEnumerate sections and their block counts
get_conventionNoRead a documented convention by topic
get_blockYesFetch a block's full source by id

Search works without a licence on purpose. An agent should be able to tell you exactly which block solves your problem before you decide to buy one.

A typical exchange

The agent never guessed a component name, and the result uses your accent colour because the block was already token-driven.

Without a licence that second call comes back as a prompt rather than a failure — the agent will describe the block and tell you where to buy it.

Keeping updates working

Source that an agent writes through MCP is not recorded in toro.lock.json, so toro update will not know about it. If you want a block to receive upstream improvements, install it with the CLI:

Beta caveats

The tool surface may still change. search_blocks and get_block are stable; the others may gain arguments.