Skip to content

Roo Code

Roo Code is a VS Code extension that introduces custom modes — specialized agent personalities with distinct instructions, model choices, and tool permissions. Create a "Code Architect" mode that can only read files and call design MCP tools. Create a "Deployer" mode with access to deployment MCP tools and terminal execution. Each mode is a focused agent role with guardrails you define.


Ro
Roo Code
Open-Source · roocode.com
TRANSPORT
stdio · Streamable HTTP ✓
PLATFORM
VS Code
MCP VIA
MCP Settings + Custom Modes

Role-Based Agent Modes with MCP Permissions

Custom modes are Roo Code's key innovation. Each mode defines:

  • System prompt — what the agent knows and how it behaves
  • Model — which LLM powers this mode
  • Tool permissions — which tools (file edit, terminal, browser, MCP) are enabled
  • File restrictions — which files or directories the agent can read/write

This means you can give your "Reviewer" mode read-only file access and MCP tools for checking code quality metrics, while your "Implementer" mode gets full file write access but limited MCP tool access. The separation of concerns prevents accidental changes.

Features:

  • Custom modes — specialized agents with distinct roles and permissions
  • Role-based MCP — per-mode MCP tool access control
  • Cline-compatible — fork of Cline with added mode system
  • Human-in-the-loop — approval workflow inherited from Cline
  • Boomerang orchestration — modes can delegate tasks to other modes
  • Multi-model — different models per mode
  • Community modes — share and import mode configurations
  • Open-source — Apache 2.0 license

Setup

1. Create a Token

In Vinkius Cloud, go to your server → Connection TokensCreate. Copy the URL.

2. Add MCP Server

In Roo Code → MCP ServersAdd → paste your Vinkius URL.

3. Create Custom Modes

Define modes with specific MCP tool access. A "DevOps" mode might get deployment MCP tools; a "Writer" mode gets documentation tools only.


FAQ

Can I restrict MCP tool access per mode? Yes. Each custom mode defines which MCP tools are available. Read-only modes can't access destructive tools.

What is Boomerang orchestration? A mode can delegate a subtask to another mode and get the result back. The "Architect" mode designs, then passes implementation to the "Coder" mode.

Is Roo Code a Cline fork? Yes. It adds the custom modes system on top of Cline's approval-based agent workflow.

Is Roo Code free? Open-source. Bring your own API keys.