{
  "$comment": "The Slant MCP server card. slant/mcp/test/card.test.mjs keeps its tools equal to the server's tools/list and its version equal to the bundled registry's.",
  "name": "slant",
  "title": "Slant",
  "version": "0.19.1",
  "description": "Slant, TUTTN's slanted-pixel React UI kit, for coding agents: components with their props, usage, accessibility and source, the conventions, tokens, themes, and Lab recipes with their SwiftUI twins.",
  "websiteUrl": "https://tuttn.io/lab/slant/docs",
  "documentationUrl": "https://tuttn.io/lab/slant/docs/mcp",
  "repository": {
    "url": "https://github.com/nirtuttnauer/tuttn-portfolio",
    "source": "github",
    "subfolder": "slant/mcp"
  },
  "transport": {
    "type": "stdio",
    "command": "node",
    "args": ["/path/to/tuttn-portfolio/slant/mcp/bin/slant-mcp.mjs"]
  },
  "arguments": [
    {
      "name": "--registry",
      "description": "Where to read the registry: a path or URL of registry.json. Defaults to the SLANT_REGISTRY environment variable, then to the copy bundled with the server.",
      "example": "https://tuttn.io/kit/registry.json"
    }
  ],
  "environmentVariables": [
    {
      "name": "SLANT_REGISTRY",
      "description": "A path or URL of registry.json, used when --registry is not given."
    }
  ],
  "install": {
    "claudeCode": "claude mcp add slant -- node /path/to/tuttn-portfolio/slant/mcp/bin/slant-mcp.mjs",
    "claudeCodeHosted": "claude mcp add slant -- node /path/to/tuttn-portfolio/slant/mcp/bin/slant-mcp.mjs --registry https://tuttn.io/kit/registry.json",
    "claudeCodePublished": "claude mcp add slant -- npx -y @tuttn/slant-mcp",
    "cursor": {
      "file": ".cursor/mcp.json",
      "config": { "mcpServers": { "slant": { "command": "node", "args": ["…/bin/slant-mcp.mjs"] } } }
    },
    "vscode": {
      "file": ".vscode/mcp.json",
      "config": { "servers": { "slant": { "type": "stdio", "command": "node", "args": ["…/bin/slant-mcp.mjs"] } } }
    }
  },
  "data": {
    "registry": "https://tuttn.io/kit/registry.json",
    "item": "https://tuttn.io/kit/r/{name}.json",
    "recipe": "https://tuttn.io/kit/r/recipes/{slug}.json"
  },
  "capabilities": {
    "tools": { "listChanged": true }
  },
  "tools": [
    {
      "name": "list_components",
      "title": "List components",
      "description": "Every Slant component with its group, exports, one-line description and docs page. Pass `group` to narrow the list."
    },
    {
      "name": "get_component",
      "title": "Get a component",
      "description": "One Slant component in full: the import, description, docs notes, props tables, usage example, keyboard and accessibility notes, related components, CSS classes and tokens, and its source code. `name` takes any export in any case (`useToast` finds Toast); `include` limits the sections."
    },
    {
      "name": "search",
      "title": "Search Slant",
      "description": "Search Slant's components, props, docs pages, Lab recipes and tokens by keyword. Returns the best matches, each with the tool call that reads it in full."
    },
    {
      "name": "get_conventions",
      "title": "Get the conventions",
      "description": "The rules every Slant component follows: refs and attributes, the value/onValueChange state pairs, tone, variant and size, data arrays and compound parts, asChild, forms, and styles in @layer slant. Read it before writing Slant code."
    },
    {
      "name": "get_tokens",
      "title": "Get the tokens",
      "description": "Slant's --sl-* CSS variables: colours and radii per theme, shadows, spacing, type sizes, control heights per density, motion, layers and the focus ring. Pass `theme` or `category` to narrow them."
    },
    {
      "name": "get_themes",
      "title": "Get the themes",
      "description": "The built-in themes with every colour, radius and shadow, how to add your own as a `.slant[data-theme=\"<id>\"]` CSS block, and a link to the theme builder."
    },
    {
      "name": "get_recipe",
      "title": "Get a recipe",
      "description": "A Lab recipe: a working composition of Slant components with its SwiftUI twin, usage, keyboard and accessibility notes, and source. `name` matches the slug, id, title or Swift name; leave it out to list every recipe."
    }
  ],
  "authentication": { "type": "none" }
}
