Skip to content
GitHub (opens in a new tab)

MCP

A local MCP server ships in the kit, version 0.31.0. Agents query the installed contracts, tokens, patterns, and rules over stdio. Answers come from that install, so they match the version you have.

Cursor

Save this as .cursor/mcp.json in the app. Run it from the app root so npx uses the installed copy.

{
  "mcpServers": {
    "agentic-ds-kit": {
      "command": "npx",
      "args": ["-y", "agentic-ds-kit", "mcp"]
    }
  }
}

The command is npx -y agentic-ds-kit mcp. The server is read-only. It does not edit files, and only inspect_ui calls the network, to fetch the page URL you give it.

Claude Code

From the app root, register the same command.

claude mcp add agentic-ds-kit -- npx -y agentic-ds-kit mcp

Claude Code starts npx -y agentic-ds-kit mcp on stdio. Upgrade the package and the next session reads the new contracts.

Tools

Ten read-only tools. questions takes the same options as the CLI: only, group, overlay, none, useWhen, notWhen, askStyle, and enums. Pass the overlay as an object, not a file path.

MCP tools
ToolArgumentsReturns
list_componentsdetail, kind, limit, offset; all optionalSummary rows (id, name, kind for blocks and screens, level, short purpose) by default; detail full adds category and the whole purpose
get_componentnameProps, variants, must and doNot rules, tokens used, an import line, and a usage example
search_componentsqueryComponents whose name, purpose, or contract keywords match
get_tokensgroup, detail, limit, offset; all optionalSemantic tokens with name and value (dark too for color); detail full adds the usage notes
list_patternsnonePattern id, description, and npx agentic-ds-kit add <id>
get_patternidDescription, the add command, and the pattern's must and defaults
get_rulesnoneAGENTS.md from this install, including the page-layout grid rule
questionsoptions, detail, limit, offset; all optionalThe same option list as npx agentic-ds-kit questions; detail summary keeps id, label and kind
review_uipath, or code and filenameThe same findings and counts as npx agentic-ds-kit review; code with filename checks a draft that is not saved
inspect_uiurl, or html and nameThe same result as npx agentic-ds-kit inspect: kit pieces on a rendered page by level, and landmark problems