dkitdkit

MCP server

Registry tools for coding agents — discover modules and draft install commands without scraping the site.

Setup

Package @dkit/mcp speaks MCP over stdio. It wraps the same registry the CLI uses. It does not apply schema — agents draft commands; you run dkit add with a static admin token locally or in CI.

Cursor .cursor/mcp.json:

{
  "mcpServers": {
    "dkit": {
      "command": "npx",
      "args": ["-y", "@dkit/mcp"]
    }
  }
}

Tools

  • list_modules — registry modules + descriptions
  • get_module — schema summary, slots, default blocks, install examples
  • list_blocks — blocks, uiKits, frameworks (optional moduleId filter)
  • suggest_add — build a safe dkit add … string (--dry-run friendly)

Directus MCP

Directus exposes an /mcp endpoint for content and query workflows. OAuth scoped to MCP does not authorize Admin API schema, policies, or flows — that is why dkit add still needs a static admin token (see Getting started).

Use Directus MCP alongside dkit for content; keep schema installs on the CLI. @dkit/mcp is registry discovery only.