Skip to main content
Glama
Siya Dashboard Menu MCP

Siya Dashboard Menu MCP

Official
by syia-ai

Siya Dashboard Menu MCP

A Model Context Protocol (MCP) server for managing dashboard menu sections via GitHub API. This server provides focused section management operations for existing client dashboard configurations.

Features

  • Section Management Only: Add, update, and remove individual menu sections

  • GitHub Integration: Direct integration with GitHub API for configuration management

  • Automatic Commits: All changes are automatically committed to the repository

  • Validation: Built-in validation for section structure and uniqueness

  • Error Handling: Comprehensive error messages with helpful suggestions

Related MCP server: GitHub MCP Server Plus

Installation

npm install siya-dashboard-menu-mcp

Or install globally:

npm install -g siya-dashboard-menu-mcp

Configuration

  1. Create a .env file (or copy from .env.example):

# GitHub Configuration
GITHUB_TOKEN=your_github_personal_access_token
GITHUB_OWNER=syia-ai
GITHUB_REPO=app-insights-v2
GITHUB_CONFIG_PATH=dashboard-config.json

# Logging Configuration
LOG_LEVEL=info
  1. Ensure your GitHub token has repository access to the target repository.

Usage

As MCP Server

Add to your MCP client configuration:

{
  "mcpServers": {
    "siya-dashboard-menu": {
      "command": "siya-dashboard-menu-mcp",
      "args": [],
      "env": {
        "GITHUB_TOKEN": "your_token_here"
      }
    }
  }
}

Direct Usage

# Start the server
npm start

# Development mode
npm run dev

# Build the project
npm run build

# Test the server
npm test

Available Tools

🔹 Add Menu Section

Tool: add_menu_section

Add a new section to an existing client's dashboard menu.

await callTool("add_menu_section", {
  clientName: "onesea",
  section: {
    name: "Performance Analytics",
    link: "https://onesea.siya.com/analytics",
    identifier: "performance-analytics",
    tag: "object"
  }
});

🔹 Update Menu Section

Tool: update_menu_section

Update specific properties of an existing menu section.

await callTool("update_menu_section", {
  clientName: "onesea",
  identifier: "home",
  updates: {
    name: "Dashboard Home",
    link: "https://onesea.siya.com/dashboard"
  }
});

🔹 Remove Menu Section

Tool: remove_menu_section

Remove a section from a client's dashboard menu.

await callTool("remove_menu_section", {
  clientName: "onesea",
  identifier: "old-feature"
});

Section Structure

Each menu section requires these properties:

{
  "name": "Display Name",           // Required: Shown in menu
  "link": "https://example.com",    // Required: Full URL
  "identifier": "unique-id",        // Required: Unique identifier (kebab-case)
  "tag": "object"                   // Required: Section tag (usually "object")
}

Examples

Adding a New Analytics Section

await callTool("add_menu_section", {
  clientName: "onesea",
  section: {
    name: "Fuel Consumption Analytics",
    link: "https://onesea.siya.com/analytics/fuel-consumption",
    identifier: "fuel-consumption-analytics",
    tag: "object"
  }
});

Updating a Section URL

await callTool("update_menu_section", {
  clientName: "onesea",
  identifier: "emissions",
  updates: {
    link: "https://onesea.siya.com/environmental/emissions-tracking"
  }
});

Removing a Deprecated Section

await callTool("remove_menu_section", {
  clientName: "onesea",
  identifier: "legacy-reports"
});

Resources

The server provides helpful resources:

  • dashboard://section/schema: JSON schema for section validation

  • dashboard://examples/section: Example section configurations and usage

Prompts

Interactive guides are available:

  • section_management_guide: Comprehensive guide for section operations

  • section_best_practices: Best practices for section management

Error Handling

The MCP provides detailed error messages:

  • Client not found: Lists available clients

  • Section not found: Shows available section identifiers

  • Duplicate identifier: Prevents conflicts

  • Invalid format: Validates section structure

Best Practices

Naming Conventions

  • Section Names: Clear, descriptive, Title Case

  • Identifiers: kebab-case, descriptive, unique

  • URLs: HTTPS, complete paths, tested for accessibility

Operations

  • Before adding: Verify client exists, plan unique identifier

  • Before updating: Use exact identifier, test new URLs

  • Before removing: Confirm section is obsolete, consider dependencies

Development

# Clone the repository
git clone https://github.com/syia-ai/siya-dashboard-menu-mcp.git
cd siya-dashboard-menu-mcp

# Install dependencies
npm install

# Set up environment
cp .env.example .env
# Edit .env with your GitHub token

# Build the project
npm run build

# Run in development mode
npm run dev

# Test the server
npm test

Requirements

  • Node.js >= 18.0.0

  • GitHub personal access token with repository permissions

  • Access to the target GitHub repository

  • Existing client configurations (this MCP only manages sections, not clients)

License

MIT

Contributing

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes

  4. Add tests if applicable

  5. Submit a pull request

Support

For issues and questions, please use the GitHub Issues page.

Available Tools

11 tools
add_menu_sectionB

Add a new section to a client's dashboard menu

Inputs: section (required), clientName (required).

aggregate_eta_dataA

Execute MongoDB aggregation pipeline on eta data (read-only)

Inputs: pipeline (required), collection (required).

count_eta_documentsA

Count documents in a collection with optional query filter

Inputs: collection (required), query.

get_dashboard_configA

Get the current complete dashboard configuration from GitHub

Inputs: no named parameters.

get_eta_collection_statsA

Get statistics about a collection (document count, size, indexes, etc.)

Inputs: collection (required).

get_eta_distinct_valuesC

Get distinct values for a field in a collection

Inputs: field (required), collection (required), query.

list_eta_collectionsA

List all collections in the eta_raw_data_db MongoDB database

Inputs: no named parameters.

query_eta_dataB

Query data from a collection in the eta_raw_data_db MongoDB database (read-only)

Inputs: collection (required), skip, sort, limit, +2 more.

remove_menu_sectionB

Remove a section from a client's dashboard menu

Inputs: clientName (required), identifier (required).

update_menu_sectionB

Update a specific section in a client's dashboard menu

Inputs: updates (required), clientName (required), identifier (required).

upload_dashboard_fileB

Upload an HTML dashboard file to S3 and add it as a menu section

Inputs: fileName (required), clientName (required), fileContent (required), menuSection (required), +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 11 tools

    Disambiguation3/5

    The tool set splits into two distinct domains—dashboard menu management and ETA data queries—with clear boundaries between them. However, upload_dashboard_file overlaps with add_menu_section because both add a menu section, and query_eta_data vs aggregate_eta_data could be confused by agents not deeply reading descriptions.

    Naming Consistency3/5

    The dashboard tools follow an inconsistent verb_noun pattern (get_dashboard_config, add_menu_section, upload_dashboard_file), while the ETA tools consistently use verb_eta_noun. This cross-group inconsistency makes naming less predictable, though each group internally is fairly regular.

    Tool Count3/5

    At 11 tools, the count is within a reasonable range, but the server packages two unrelated feature sets (dashboard menu editing and MongoDB data exploration) under one name. This makes the tool count feel over-scoped for the apparent core purpose of dashboard menu management.

    Completeness4/5

    The dashboard menu side covers CRUD plus file upload, and the ETA side covers common read-only query operations including count, distinct, aggregate, and stats. Missing menu reordering and direct menu section retrieval are minor gaps that agents can work around.

    Related MCP Connectors

    Related MCP Servers