Modes MCP Server
MCP server for managing Roo's custom operational modes
Overview
Modes MCP Server is a server application designed for managing custom operational modes for Roo, providing programmatic control over mode configuration and management.
To use Modes MCP Server, clone the repository, install the dependencies, and configure the environment variables and custom modes as per the provided examples.
- Full CRUD operations for custom modes - Schema validation with Zod - File system watching for configuration changes - Error handling with standard MCP error codes - Atomic file operations
- Managing different operational modes for a system
- Customizing mode configurations for specific tasks
- Automating workflows through mode transitions
Add to your AI client
Use these steps to connect Modes MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"modes-mcp-server-ccc0168": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modes-mcp-server-ccc0168"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"modes-mcp-server-ccc0168": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modes-mcp-server-ccc0168"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"modes-mcp-server-ccc0168": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modes-mcp-server-ccc0168"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"modes-mcp-server-ccc0168": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modes-mcp-server-ccc0168"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"modes-mcp-server-ccc0168": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modes-mcp-server-ccc0168"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"modes-mcp-server-ccc0168": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modes-mcp-server-ccc0168"
]
}
}
}FAQ
Can I create custom modes?
Yes! You can create and manage custom modes using the provided API.
How do I handle errors?
The server uses standard MCP error codes for error handling.
Is there documentation available?
Yes! Comprehensive documentation is provided in the repository.