Aerith Admin (RBAC Dashboard) MCP server

Implements a structured 5-step development workflow for building RBAC dashboard applications using FastAPI, Git integration, and browser automation capabilities
Back to servers
Provider
Alberto Orlandini
Release date
Mar 25, 2025
Language
Python

This lightweight MCP server implements a MANUS-inspired workflow for RBAC dashboard applications with browser automation capabilities. It's designed to run locally and integrate with Cursor IDE to provide a structured development approach through a 5-step workflow.

Installation

Setting up the MCP server is straightforward:

# Clone the repository
git clone https://github.com/your-org/aerith-admin.git
cd aerith-admin/mcp

# Run the installation script (creates virtual environment and installs dependencies)
./bin/install.sh

# Activate the virtual environment
source bin/activate_venv.sh

Server Operation Modes

HTTP Mode (Default)

The standard mode starts the server with a REST API and Server-Sent Events (SSE):

python server.py --port 8090

STDIO Mode

This mode enables integration with other tools using JSON-RPC protocol:

python server.py --stdio

Resilient Mode

For extended operation, resilient mode provides automatic health monitoring and restart capabilities:

# Using the convenient script
./bin/start_cursor_server.sh --resilient

# Or directly using the resilient server script
./bin/run_resilient_server.sh --mode http --port 8090

Server Monitoring

Check server health or force a restart:

# Check if the server is running and healthy
./bin/monitor_server.py --check-only

# Force restart the server
./bin/monitor_server.py --force-restart

Cursor IDE Integration

Setup Instructions

  1. Start the MCP server in HTTP mode:

    python server.py --port 8090
    
  2. Ensure your project contains a proper .cursor/mcp.json configuration:

    {
      "mcpServers": {
        "aerith-admin-mcp": {
          "url": "http://localhost:8090/sse"
        }
      }
    }
    
  3. Open the Aerith Admin project in Cursor IDE

  4. Access the MCP integration through Cursor's UI

Available API Tools

Instruction Management

  • Create and manage development instructions
  • Build complete features with high-level orchestration

Workflow Steps

The server implements a 5-step workflow:

  1. Define development tasks (USER_INSTRUCTION)
  2. Break down tasks into subtasks (TASK_PLANNING)
  3. Collect relevant information (INFORMATION_GATHERING)
  4. Analyze and create execution plans (ANALYSIS_AND_ORCHESTRATION)
  5. Generate comprehensive reports (RESULT_SYNTHESIS)

Browser Automation

Execute browser-based operations:

# Example of running a browser agent
run_browser_agent(goal="Log into the admin dashboard and verify user permissions")

Filesystem Tools

Access project files and directories:

# Generate a directory tree structure
tree_directory(directory_path="./src", max_depth=3, show_files=True)

Git Integration

Manage your git repository directly:

# Show git status
git_status(detailed=True)

# View commit history
git_log(count=5, show_stats=True)

# Add and commit changes
git_add(paths=["modified_file.js"])
git_commit(message="Update feature implementation", all_changes=False)

Environment Variables

Configure server behavior with environment variables:

  • MCP_DEBUG=true - Enable detailed debug logging (set automatically by activate_venv.sh)

Data Storage

The server stores all instructions and related data in JSON files within the .aerith/instructions directory, with logs available in .aerith/logs/mcp_server.log.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later