Ecosphere
MCP server for the Ecosphere design system: Vue 3 and React component APIs, design tokens, rules, setup and Ant Design migration.
Hosted MCP Server
npx add-mcp 'https://mcp.ecosphere.dev/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Ecosphere MCP server
A Model Context Protocol server for the Ecosphere design system, a UI component library for Vue 3 (vue-ecosphere) and React 18/19 (react-ecosphere). It gives Claude, ChatGPT, Cursor, Copilot, Codex, Gemini and any other MCP client the real API of every component (props, events, slots, v-model, React props), the design tokens, the design rules and recipes, setup for each framework, and component-by-component migration from Ant Design.
- Remote:
https://mcp.ecosphere.dev/mcp(Streamable HTTP, no sign-in) - Local:
npx -y ecosphere-mcp(stdio) - Read-only. No authentication, no data collection, no network calls at request time: every answer comes from the data bundled in the package.
The data is the generated reference of the Ecosphere skill, which is rebuilt from every vue-ecosphere and react-ecosphere release; this server is re-released from it automatically.
Tools
| Tool | What it answers |
|---|---|
list_components | Every component by group (Actions, Navigation, Layout, Display, Data display, Charts, Forms, Feedback & overlays), plus composables, guides and markup patterns. |
search_components | The best components for a need in plain words or another kit's vocabulary: "modal with a confirm button", "data grid", "snackbar", "stepper", "side panel". |
get_component | One component's full API for vue, react or both: props with types and defaults, events, slots, v-model, the import, the docs page and its markdown version with Vue and React examples. Also useToast / useConfirm / useEcoId and markup patterns. |
get_tokens | Design tokens (CSS custom properties) by category (colour, type, spacing, radius, shadow, motion) or filtered by a query. |
get_design_rules | The rules (Ecosphere only, tokens not raw values, one primary per region, RemixIcon…), content and visual foundations, "which component for what", recipes and the review checklist. |
get_setup | Install and setup for Vue, React/Next.js or plain HTML, theming, and the Vue → React prop mapping. |
get_migration_mapping | Ant Design Vue / Ant Design → Ecosphere (component and prop translations), Ant icons → RemixIcon, and need-based matches for MUI, Vuetify, Element Plus, shadcn/ui and others. |
get_types | TypeScript definitions of the public types props use (EcoOption, EcoTableColumn, ChartSeries…). |
Resources: ecosphere://components, ecosphere://tokens, ecosphere://design-guide, ecosphere://types, ecosphere://composables, ecosphere://component/{name}. Prompt: build-with-ecosphere.
Install
Use the hosted endpoint where the client supports remote servers; use npx -y ecosphere-mcp everywhere else (Node.js 20.10 or later).
Claude Code
claude mcp add --transport http ecosphere https://mcp.ecosphere.dev/mcp
or locally:
claude mcp add --transport stdio ecosphere -- npx -y ecosphere-mcp
For the full Ecosphere workflow in Claude Code, also install the Ecosphere skill.
Claude Desktop and claude.ai
Remote: Settings → Connectors → Add custom connector, name Ecosphere, URL https://mcp.ecosphere.dev/mcp, no authentication.
Local: add to claude_desktop_config.json (macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\):
{
"mcpServers": {
"ecosphere": { "command": "npx", "args": ["-y", "ecosphere-mcp"] }
}
}
ChatGPT
In developer mode: Plugins → + → Add custom MCP server, URL https://mcp.ecosphere.dev/mcp, authentication None.
Cursor
Add to Cursor, or add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"ecosphere": { "url": "https://mcp.ecosphere.dev/mcp" }
}
}
Local: "ecosphere": { "command": "npx", "args": ["-y", "ecosphere-mcp"] }.
VS Code (GitHub Copilot)
code --add-mcp '{"name":"ecosphere","type":"http","url":"https://mcp.ecosphere.dev/mcp"}'
or .vscode/mcp.json:
{
"servers": {
"ecosphere": { "type": "http", "url": "https://mcp.ecosphere.dev/mcp" }
}
}
Local: "ecosphere": { "type": "stdio", "command": "npx", "args": ["-y", "ecosphere-mcp"] }.
OpenAI Codex
codex mcp add ecosphere -- npx -y ecosphere-mcp
or in ~/.codex/config.toml:
[mcp_servers.ecosphere]
url = "https://mcp.ecosphere.dev/mcp"
Gemini CLI
gemini mcp add --transport http ecosphere https://mcp.ecosphere.dev/mcp
or in settings.json:
{
"mcpServers": {
"ecosphere": { "httpUrl": "https://mcp.ecosphere.dev/mcp" }
}
}
Any other client
Remote: Streamable HTTP at https://mcp.ecosphere.dev/mcp, stateless, no auth. Local: run npx -y ecosphere-mcp over stdio.
Example prompts
- "Build a students table with search, filter chips, pagination and a delete confirmation using Ecosphere in React."
- "Which Ecosphere component should I use for a side panel with a form? Show its Vue props."
- "Migrate this Ant Design Vue form to Ecosphere."
- "What spacing and radius tokens does Ecosphere have?"
Run it yourself
npx -y ecosphere-mcp --http --port 3333 # http://127.0.0.1:3333/mcp
npx -y @modelcontextprotocol/inspector npx -y ecosphere-mcp # try the tools in the MCP Inspector
ecosphere-mcp/http exports handleMcpRequest(req, res), a stateless Node handler you can mount in your own server.
Development
npm ci
npm run build # data/source → data/index.json, then TypeScript → dist/
npm test
npm run fetch-data # pull the latest ecosphere-skill release into data/source (never edit it by hand)
data/source/ is copied verbatim from the ecosphere-skill.zip and ecosphere-migrate-skill.zip assets of an ecosphere-skill release (recorded in data/source.json); CI checks it still matches. api/mcp.js is the Vercel Function behind mcp.ecosphere.dev.
Releases run from .github/workflows/release.yml, never on a schedule. When the skill releases new references, its sync workflow sends a repository_dispatch here; the workflow pulls the data, bumps the patch version, tags, publishes to npm (trusted publishing) and to the MCP Registry as io.github.bacon-delight/ecosphere, and the push to main redeploys the hosted endpoint. "Run workflow" does the same by hand.
Privacy
The server answers from bundled, public documentation. It has no accounts, stores nothing about requests, sets no cookies and calls no other service.
Links
- Docs: ecosphere.dev (also llms.txt)
- Vue: bacon-delight/vue-ecosphere · React: bacon-delight/react-ecosphere
- Agent skill and plugin: bacon-delight/ecosphere-skill
MIT © Dipanjan De