To turn MCP servers into a Coral agent, we now recommend asking a coding agent such as Codex or Claude Code to build one, using the Koog agent template as a reference. You get a Koog agent you can extend, instead of a generated LangChain or coral-rs project. See Converting an MCP Server for an example prompt. Coralizer’s
link command is still a quick way to make a local agent available to your server.coralizer CLI is a powerful tool designed to simplify the process of creating, configuring, and registering agents for the Coral OS. It provides several commands to help you manage your agents and their dependencies.
Installation
Coralizer is published on npm as@coral-protocol/coralizer. Run it without installing, which needs Node.js:
coralizer command directly:
cargo install --git https://github.com/Coral-Protocol/coralizer.
Core Commands
mcp
Scaffold a Coral agent project from one or more MCP servers. Generates the project structure and a coral-agent.toml with discovered options.
Usage:
link
Create a versioned symlink for the current agent (directory containing coral-agent.toml) into ~/.coral/agents/<name>/<version>. This makes the agent discoverable by Coral Server’s local registry.
unlink
Safely remove the versioned symlink for the current agent.
updeletelink
Remove all version links for an agent except the latest.
Using Templates
Coralizer supports multiple frameworks via templates. These include the basic structure for an agent and itscoral-agent.toml file.
- Python:
langchain - Rust:
coral-rs
Common Workflows
Converting an MCP Server
If you have an existing MCP server, you can quickly scaffold a Coral agent using themcp command.
- Prepare an MCP servers JSON (see the Coralizer repo for format) describing your MCP server(s).
- Generate the agent project:
- Configure the agent: Edit the generated
coral-agent.tomlto set your agent’s name, version, runtimes, and options. - Make it discoverable by the local server:
Building a New Agent
To build a new agent from scratch:- Use
mcpto scaffold a project for your target framework using your MCP description JSON. - Develop your agent logic and tools following Coral’s conventions.
- Link the agent locally with
coralizer link ., then create a session on your Coral Server to run it.
For more details on the
coralizer CLI, see the Coralizer GitHub repository.