About
The Modes MCP Server manages and exposes CRUD operations for Roo's custom operational modes, enabling dynamic configuration, schema validation, and file system watching for real‑time updates.
Capabilities
Modes MCP Server Overview
The Modes MCP Server is a specialized Model Context Protocol (MCP) service that empowers AI assistants to manage and manipulate operational modes for the Roo platform. In complex development environments, an AI assistant must be able to switch between distinct behavioral contexts—such as planning, analytics, or troubleshooting—to align its responses with the current workflow. This server provides a programmatic interface for defining, querying, and updating those modes, eliminating the need for manual configuration edits and ensuring that mode changes propagate instantly across all connected assistants.
At its core, the server exposes a full CRUD API for custom modes. Each mode is represented by a JSON schema validated with Zod, guaranteeing that every configuration adheres to the required structure. The server watches the underlying configuration file for changes, applying updates atomically so that no partial state is ever exposed. Standard MCP error codes are used throughout, allowing client code to handle failures in a consistent manner. By abstracting mode management behind MCP, developers can integrate sophisticated context switching directly into their AI workflows without touching the underlying file system or worrying about race conditions.
Key capabilities include:
- Dynamic mode discovery: Tools such as and let clients enumerate available modes or retrieve detailed metadata at runtime.
- Custom role definitions: Each mode can specify a and , enabling the AI to adopt precise personas (e.g., “Strategic Planning Specialist”) tailored to a particular task.
- Fine‑grained permission groups: Modes can declare which actions (read, edit, command, mcp) they permit, optionally restricting edits to specific file patterns.
- Atomic configuration updates: New modes can be created or existing ones modified through and other tools, with changes written safely to disk.
Typical use cases involve large codebases or multi‑team projects where an AI assistant must operate in different contexts—planning a release, analyzing telemetry, or debugging a failing build. By declaring these modes once in the configuration file, developers can trigger context switches via MCP calls from their tooling or UI. For example, a CI pipeline could invoke the Quality Control Mode before deployment, ensuring that the assistant applies rigorous validation checks automatically.
The server’s integration model is straightforward: add a single entry to the MCP settings JSON, pointing to the compiled server binary and providing the path to the custom modes file. Once registered, any MCP‑enabled client (such as a VS Code extension or web service) can issue mode‑management commands. This decouples mode logic from application code, enabling rapid iteration on AI personas and permissions without redeploying the assistant itself. The result is a flexible, declarative system that keeps AI behavior tightly aligned with evolving development processes.
Related Servers
MindsDB MCP Server
Unified AI-driven data query across all sources
Homebrew Legacy Server
Legacy Homebrew repository split into core formulae and package manager
Daytona
Secure, elastic sandbox infrastructure for AI code execution
SafeLine WAF Server
Secure your web apps with a self‑hosted reverse‑proxy firewall
mediar-ai/screenpipe
MCP Server: mediar-ai/screenpipe
Skyvern
MCP Server: Skyvern
Weekly Views
Server Health
Information
Explore More Servers
DuckDuckGo MCP Server
Instant DuckDuckGo search via Model Context Protocol
Azure Native ISV MCP Server
MCP integration for Azure native services
MCPAdapt
Seamless integration of 650+ MCP servers into any agentic framework
YouTube Video Summarizer MCP Server
Summarize YouTube videos with AI via captions and metadata
MCP Web Cam Server
Control webcams via Model Context Protocol
Systemprompt Agent Server
Central hub for AI agent creation and prompt management