dialtone-mcp-server 1.1.0
Install from the command line:
Learn more about npm packages
$ npm install @dialpad/dialtone-mcp-server@1.1.0
Install via package.json:
"@dialpad/dialtone-mcp-server": "1.1.0"
About this version
A Model Context Protocol (MCP) server that provides AI assistants with search access to Dialtone's design system: utility classes, design tokens, and Vue components.
From the monorepo root:
pnpm install
pnpm nx run dialtone-mcp-server:buildTry out search queries (must be run from the package directory):
# Navigate to the package directory first!
cd packages/dialtone-mcp-server
# Then run the interactive tool
pnpm run interactiveOr use tsx directly from anywhere:
npx tsx packages/dialtone-mcp-server/interactive-search.tsQuery Format: Use keywords only, not questions.
- β Good:
padding 8px,color primary,button - β Bad:
how do I add padding?,what button component exists?
Example session:
Select a search tool:
1. Utility Classes
2. Design Tokens
3. Components
Enter 1, 2, or 3: 1
> padding 8px
Found 8 results:
1. d-p8
2. d-pt8
3. d-pr8
4. d-pb8
...
Type help for more examples, switch to change tools, quit to exit.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (MacOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"dialtone": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/dialtone/packages/dialtone-mcp-server/build/index.js"
]
}
}
}Important:
- Use the absolute path to your dialtone repo
- Restart Claude Desktop completely after updating the config
- Look for the π icon to confirm connection
Finding your absolute path:
cd /path/to/dialtone
pwd
# Use the output + /packages/dialtone-mcp-server/build/index.jsFind CSS utility classes for styling HTML elements.
Example queries:
-
padding 8pxβ d-p8, d-pt8, d-pr8, d-pb8, d-pl8, d-px8, d-py8 -
display flexβ d-d-flex, d-d-inline-flex -
width 100%β d-w100p -
margin top autoβ d-mt-auto -
text align centerβ d-ta-center
Search for design tokens (CSS variables).
Example queries:
-
color foreground primaryβ --dt-color-foreground-primary -
space 400β --dt-space-400, --dt-space-400-negative -
font familyβ --dt-font-family-body, --dt-font-family-expressive -
font weight boldβ --dt-font-weight-bold
Discover Vue components with props, events, and slots.
Example queries:
-
buttonβ DtButton, DtButtonGroup, DtBanner (29 results) -
modalβ DtModal, DtBanner, DtDropdown (6 results) -
checkboxβ DtCheckbox, DtCheckboxGroup, DtRadio
packages/dialtone-mcp-server/
βββ src/
β βββ index.ts # MCP server setup
β βββ types.ts # TypeScript interfaces
β βββ data.ts # Data imports
β βββ utils/filters.ts # Smart filtering
β βββ tools/ # Search implementations
β βββ utility-classes.ts
β βββ tokens.ts
β βββ components.ts
βββ build/ # Compiled output
βββ test-search.js # Automated tests
βββ interactive-search.js # Interactive CLI tool
βββ README.md
From the package directory:
cd packages/dialtone-mcp-server
pnpm run testOr from monorepo root:
node packages/dialtone-mcp-server/test-search.jsExpected: Overall Success Rate: 100% (77/77 tests)
pnpm nx run dialtone-mcp-server:buildMCP server not connecting:
- Verify
build/index.jsexists - Check the path in config is absolute (not relative)
- Restart Claude Desktop completely
- Check Claude Desktop logs for errors
Test the server manually:
node build/index.js
# Should print: "Dialtone MCP Server running on stdio"
# Press Ctrl+C to exitDetails
- dialtone-mcp-server
-
dialpad
- 6 months ago
- MIT
- 13 dependencies
Assets
- dialtone-mcp-server-1.1.0.tgz
Download activity
- Total downloads 66
- Last 30 days 0
- Last week 0
- Today 0