A lightweight MCP (Model Context Protocol) server that forwards messages to the designbot.deno.dev/chat endpoint. This allows you to access the Designsystemet assistant through any MCP-compatible client like Windsurf, Cursor or Claude Code.
To pin to a specific MCP version, install with a version suffix (e.g., @simon-archer/designbot-mcp@latest
; ).
Add this to your mcp_config.json
file:
{
"mcpServers": {
"Designbot": {
"command": "npx",
"args": [
"@simon-archer/designbot-mcp@latest"
]
}
}
}
Then use it with Windsurf or Cursor (sometimes invocations requires custom prompting):
Ask the designbot how to use the Button from the design system
To use the DesignBot MCP server with VSCode, you'll typically need an extension that supports the Model Context Protocol (MCP). Configure the MCP server in your VSCode settings (.vscode/settings.json
or user settings).
Here's an example configuration, though the specific setting key (e.g., mcp.servers
) might vary depending on the extension you use:
{
"chat.mcp.discovery.enabled": true,
"mcp": {
"inputs": [],
"servers": {
"Designbot": {
"command": "npx",
"args": [
"@simon-archer/designbot-mcp@latest"
]
}
}
}
}
Once configured, you should be able to interact with the Designbot through your MCP-compatible VSCode extension, similar to the Windsurf/Cursor example:
Ask the designbot how to use the Accordion component
The MCP server provides a single tool:
Ask-designbot
: Forwards messages to the configured/chat
endpoint athttps://designbot.deno.dev/
. Supports sub-queries:- getComponentDoc: Component docs and usage examples
- getComponentCode: React/HTML code snippets
- getCssCode: CSS-only implementations
- getStarted: Onboarding and setup guides
- getChangelog: Version history
- getBasics: Core design concepts
- getGoodPractice: Implementation best practices
- getUxPatterns: Common UX patterns
- getDesignModification: Design tokens (colors, typography, spacing)
You can pin to a specific MCP version by specifying @simon-archer/designbot-mcp@<version>
in your mcp_config.json
(defaults to latest
).
You can also use this package programmatically in your Node.js applications:
import { startMcpServer } from '@simon-archer/designbot-mcp';
// Start an MCP server
await startMcpServer({
name: "DesignBot", // Optional
version: "1.0.0" // Optional
});
This MCP server:
- Receives messages through the MCP protocol
- Forwards them to the designbot.deno.dev/chat endpoint
- Processes the server-sent events (SSE) response
- Returns the formatted response back to the MCP client
MIT