drio
Open app

Modes MCP Server

Source

Mirror of

Catalog onlyCatalog onlySTDIO

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 the 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
  1. Managing operational modes for software applications
  2. Customizing configurations for different user roles
  3. Automating mode transitions based on system requirements

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": {
    "ccc0168-modes-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ccc0168-modes-mcp-server-mcp-mirror"
      ]
    }
  }
}

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": {
    "ccc0168-modes-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ccc0168-modes-mcp-server-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "ccc0168-modes-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ccc0168-modes-mcp-server-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "ccc0168-modes-mcp-server-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ccc0168-modes-mcp-server-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "ccc0168-modes-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ccc0168-modes-mcp-server-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "ccc0168-modes-mcp-server-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ccc0168-modes-mcp-server-mcp-mirror"
      ]
    }
  }
}

FAQ

Can I create custom modes?

Yes! You can create, update, and delete custom modes using the provided API.

How do I configure the server?

Configuration is done through environment variables and JSON files as outlined in the documentation.

Is there support for error handling?

Yes! The server includes standard error handling for various scenarios.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1360,"uuid":"f78480da-fc25-4269-90f3-ce6b90ed7dcb","name":"ccc0168_modes-mcp-server","title":"Modes MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2025-02-20T15:30:46.833Z","updated_at":"2025-02-23T07:12:22.470Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp-server,mode-management,custom-configuration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/ccc0168_modes-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]