Ecosphere design system
Vue and React UI components of the Ecosphere design system: props, tokens, rules, setup
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"ecosphere": {
"command": "npx",
"args": [
"ecosphere-mcp"
]
}
}
}Paquetes ejecutables
1.0.3stdioPuntos de conexión remotos
https://mcp.ecosphere.dev/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (8)
🟢list_components(group)
List every UI component in the Ecosphere design system (vue-ecosphere for Vue 3, react-ecosphere for React) with a one-line summary, by group: actions, general, navigation, layout, display, data-display, charts, forms, feedback-and-overlays. Also lists the composables/hooks, guides and markup patterns. Use it to browse what exists before building a screen.
Esquema de entrada
{
"type": "object",
"properties": {
"group": {
"type": "string",
"description": "Only this group, e.g. \"forms\", \"charts\", \"feedback-and-overlays\". One of: actions, general, navigation, layout, display, data-display, charts, forms, feedback-and-overlays."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_components(query, limit)
Find the best Ecosphere UI component for a need described in plain words or in another library's vocabulary ("modal with a confirm button", "data grid with sorting and selection", "toggle", "snackbar", "date range", "sidebar navigation", "KPI card", "bar chart"). Returns ranked Vue/React components, composables and markup patterns with summaries and docs links.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "What the UI needs to do, or the component name you'd use in MUI, Ant Design, Vuetify, shadcn, etc."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Maximum results (default 8)."
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_component(name, framework)
Get the full API of one Ecosphere component for Vue or React: every prop with type, default and description, events, slots, v-model bindings (Vue) or controlled props and callbacks (React), the import line, and the ecosphere.dev docs URL plus its markdown version with Vue and React examples. Also answers composables/hooks (useToast, useConfirm, useEcoId), guides and markup patterns (loading-state, table-fixed). Accepts EcoDataTable, DataTable, data-table or "data table".
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Component, composable or page name, e.g. \"EcoDialog\", \"date-picker\", \"useToast\", \"loading-state\"."
},
"framework": {
"type": "string",
"enum": [
"vue",
"react",
"both"
],
"description": "vue (vue-ecosphere, default), react (react-ecosphere) or both."
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_tokens(category, query)
Get Ecosphere design tokens (CSS custom properties) with values and usage: colour, type (font families and type styles), spacing, radius, shadow, motion. Pass a category, or a query to filter ("accent", "danger", "gap"). Use these instead of raw hex, px, shadows or font-family.
Esquema de entrada
{
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "One of colour, type, spacing, radius, shadow, motion, other, or \"all\". Aliases like color, typography, elevation work."
},
"query": {
"type": "string",
"description": "Filter tokens whose name, value or usage contains these words."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_design_rules(topic)
Get the Ecosphere design rules and guidance an agent must follow when building UI: component rules (one primary button per region, Ecosphere only, tokens not raw values, RemixIcon), content and copy, colour, type, layout, states and focus, accessibility, class vocabulary for plain HTML, "which component for what", recipes (forms, data table, dialogs, toasts, empty/loading/error states, charts) and the review checklist. No topic returns the core rules and the topic list.
Esquema de entrada
{
"type": "object",
"properties": {
"topic": {
"type": "string",
"description": "e.g. \"rules\", \"which-component\", \"recipes\", \"recipe:forms\", \"colour\", \"content-fundamentals\", \"review-checklist\", \"all\"."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_setup(framework)
How to install and set up Ecosphere in a Vue 3 app (npm install vue-ecosphere, app.use, styles.css), a React 18/19 or Next.js app (react-ecosphere, EcoToaster, EcoConfirmHost), or a plain HTML page (the stylesheet from a CDN and the class markup); plus theming, and for React the mapping from the Vue-first docs to React props.
Esquema de entrada
{
"type": "object",
"properties": {
"framework": {
"type": "string",
"enum": [
"vue",
"react",
"html"
],
"description": "vue (default), react or html."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_migration_mapping(from, component)
Migrate a UI from another component library to Ecosphere: the curated Ant Design Vue → Ecosphere table (component and prop translations, code shapes) and Ant Design icons → RemixIcon names; for MUI, Vuetify, Element Plus, Chakra, shadcn/ui, PrimeVue, Bootstrap and others, the closest Ecosphere components by need plus the migration workflow. Pass a component to get just its row.
Esquema de entrada
{
"type": "object",
"properties": {
"from": {
"type": "string",
"minLength": 1,
"description": "Source library: \"ant-design-vue\", \"ant-design\", \"ant-design-icons\", \"mui\", \"vuetify\", \"element-plus\", …"
},
"component": {
"type": "string",
"description": "One source component, e.g. \"a-modal\", \"Modal\", \"Autocomplete\", \"PlusOutlined\"."
}
},
"required": [
"from"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_types(name)
Get the TypeScript definitions of Ecosphere's public types that component props use (EcoOption, EcoTableColumn, ChartSeries, NavTarget, …). No name lists them all; several names may be given separated by commas.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Type name(s), e.g. \"EcoTableColumn\" or \"EcoOption, StatusTone\"."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia