Ecosphere design system
Vue and React UI components of the Ecosphere design system: props, tokens, rules, setup
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"ecosphere": {
"command": "npx",
"args": [
"ecosphere-mcp"
]
}
}
}Ausführbare Pakete
1.0.3stdioRemote-Endpunkte
https://mcp.ecosphere.dev/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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".
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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#"
}Community
Nachweis