Skip to content

simon-archer/designsystemet-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DesignBot MCP

npm version

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; ).

Usage

With Windsurf or Cursor

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

With VSCode

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

Available Tool

The MCP server provides a single tool:

  • Ask-designbot: Forwards messages to the configured /chat endpoint at https://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).

API

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
});

How It Works

This MCP server:

  1. Receives messages through the MCP protocol
  2. Forwards them to the designbot.deno.dev/chat endpoint
  3. Processes the server-sent events (SSE) response
  4. Returns the formatted response back to the MCP client

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published