Skip to main content
Glama

Elegant Agent MCP Server

Elegant 1.0 UIコンポーネントライブラリ用のMCPサーバーです。AIアシスタントがLog360 Cloudのページを構築するために必要なすべて(コンポーネントHTML、ページブループリント、シェルスケルトン、チャートスニペット、アイコン、Wikiドキュメント)を提供する14個のツールを備えています。

すべてのデータはクラウドから提供されます。ローカルファイルは不要です。

クイックセットアップ

Cursor (推奨)

任意のプロジェクトの .cursor/mcp.json に以下を追加します:

{
  "mcpServers": {
    "elegant-agent": {
      "url": "https://elegant-mcp.vercel.app/api/mcp"
    }
  }
}

Cursorをリロードしてください。14個のツールが表示されます。

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json に以下を追加します:

{
  "mcpServers": {
    "elegant-agent": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://elegant-mcp.vercel.app/api/mcp"]
    }
  }
}

Claude Desktopを再起動してください。

Related MCP server: ds-pilot

使用方法

AIにページ構築を依頼するだけです:

"Create Report Servers & Workstation - Windows - Windows Startup report page with all interactions"

AIは自動的にMCPツールを順番に呼び出します:

  1. setup_project — CDN URLとビルドルールを取得

  2. get_page_blueprint — 正確なレイアウト仕様を取得

  3. get_recipe / get_shell — シェルスケルトンを取得

  4. get_component — 各コンポーネントのHTMLを取得

  5. CDNからすべてのアセットを読み込んだ単一の index.html を出力

利用可能なツール (14)

ツール

説明

setup_project

CDN URL、ビルドルール、ワークフロー手順

get_component

UIコンポーネントの標準HTML

get_recipe

シェルA/B/C/Dのビルドレシピ

get_shell

CDNリンクを含む完全なHTMLスケルトン

get_chart_snippet

ElegantEChartのHTML+JSコード

get_checklist

コミット前のチェックリスト

get_anti_patterns

既知の問題と修正方法

list_components

利用可能なすべてのコンポーネント名

search_wiki

Wikiドキュメントの全文検索

get_icons

CDN URL付きの195個のSVGアイコン名

get_full_wiki_file

完全なWikiマークダウンファイル

get_topnavbar

完全なTopNavBar HTML

get_page_blueprint

詳細なページレイアウト仕様

get_screenshot

217個の製品スクリーンショットの検索

Available Tools

14 tools
get_anti_patternsA

Returns the full list of known bottlenecks, their root causes, and fixes. Read this when something looks wrong before patching inline.

Inputs: no named parameters.

get_chart_snippetA

Returns a ready-to-use ElegantEChart.* HTML+JS snippet for a chart type.

Inputs: chart_type (required).

get_checklistC

Returns the pre-commit checklist for a shell type. Run this before declaring a page done.

Inputs: shell (required).

get_componentA

Returns the canonical HTML snippet for an Elegant 1.0 component. Much cheaper than reading a full wiki .md file. Use this instead of Read on any component wiki file.

Inputs: name (required).

get_full_wiki_fileA

Returns the COMPLETE content of a wiki .md file. Use only when get_component / get_recipe aren't enough (e.g. reading CSS section for a specific variant). Prefer get_component for HTML snippets.

Inputs: filename (required).

get_iconsB

Returns the list of available icon SVG filenames. Optionally filter by a search term.

Inputs: filter.

get_page_blueprintA

Returns a detailed visual blueprint of a real Log360 Cloud page — exact layout, component hierarchy, column names, data patterns, chart config, and sidemenu structure. ALWAYS call this before building any page to understand the correct structure.

Inputs: page (required).

get_recipeA

Returns the full recipe for a Shell type (A/B/C/D): required wiki files, CSS load order, scroll model, and shell structure. Read this INSTEAD of LLM-WIKI.md or INDEX.md for page scaffolding.

Inputs: shell (required).

get_screenshotA

Searches 217 real Log360 Cloud product screenshots by keywords. Returns matching image URLs you can view to understand exact layout, colors, spacing, and data patterns. ALWAYS use this to see what a page really looks like before building it.

Inputs: query (required), max_results.

get_shellA

Returns a ready-to-fill HTML skeleton for Shell A/B/C/D with all required CSS/JS links and SLOT comments. Copy-paste this as the base, then fill the SLOTs.

Inputs: shell (required).

get_topnavbarA

Returns the COMPLETE TopNavBar HTML ready to paste. Includes both Row 1 (logo, subscription, icons, avatar) and Row 2 (navigation tabs). All icon paths pre-filled.

Inputs: no named parameters.

list_componentsA

Lists all available component names you can pass to get_component.

Inputs: no named parameters.

search_wikiA

Full-text search across all Components-Wiki .md files. Returns file name + matching line + 2 lines of context. Use this to find where a specific class, rule, or pattern is documented.

Inputs: query (required), max_results.

setup_projectA

⚠️ CALL THIS FIRST before building any page. Returns mandatory folder structure, copy commands, icon reference table, CSS/JS link patterns, and critical rules (NO CDN, NO inline CSS, NO inline SVG). Skipping this tool will produce broken output.

Inputs: feature_name (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 14 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: e.g., `get_component` returns HTML snippets, `get_full_wiki_file` returns full wiki content, `get_recipe` provides shell structure, and `get_shell` provides a skeleton. There is no overlap or ambiguity among the tools.

    Naming Consistency4/5

    Most tools follow a consistent `get_` prefix pattern (e.g., get_anti_patterns, get_chart_snippet). However, a few tools like `list_components`, `search_wiki`, and `setup_project` deviate, introducing minor inconsistency while still being readable.

    Tool Count5/5

    With 14 tools, the set is well-scoped for a domain focused on building pages with Elegant components. Each tool addresses a specific need without redundancy, and the count falls comfortably within the optimal 3-15 range.

    Completeness5/5

    The tool surface covers the full workflow for building pages: setup, anti-patterns, components, recipes, shells, charts, icons, screenshots, wiki search, and page blueprints. There are no obvious gaps; it provides everything needed to construct a page correctly.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI to interact with the private 'my-design' React component library and design tokens for UI generation and technical support. It provides tools for component searching, API documentation retrieval, and migration guidance based on specific internal design specifications.
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that exposes your design system components and tokens to AI agents, preventing duplicate component creation and hardcoded token values.
      6 npm
      9
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for the coss ui design system, enabling AI agents to fetch components, props, and design tokens on demand for accurate, low-cost code generation.
      6
      1
      MIT