# list_css_tokens

List all Triptease design token categories (color, space, font, border, etc.) with token counts. Returns category names to use with get_css_tokens.

Agent View of the PolicyLayer registry record for `list_css_tokens`. HTML page: https://policylayer.com/tools/design-system/list-css-tokens

## Facts

- Tool: `list_css_tokens`
- Server: Design System (`@triptease/design-system-mcp`) — https://policylayer.com/tools/design-system.md
- Install: `npx -y @triptease/design-system-mcp`
- Homepage: https://www.npmjs.com/package/@triptease/design-system-mcp
- Risk category: Read (Low risk)
- Registry record: grade A, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_css_tokens",
    "arguments": {}
  }
}
```

## Why list_css_tokens is rated Low

This tool retrieves and queries design token metadata without creating, modifying, deleting, or executing any operations. It is a simple enumeration/listing function that provides information for reference purposes only, making it a Read category risk with low severity.

From the tool's own definition: "Tool description states 'List all Triptease design token categories...Returns category names to use with get_css_tokens.' The verb 'list' and the action of returning information with no mention of modification, deletion, or execution indicates a read-only…"

## Use case

AI agents call list_css_tokens to retrieve information from Design System without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Design System:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "list_css_tokens": {}
  }
}
```

## Other tools on Design System (4)

- `get_component_docs` — Read — https://policylayer.com/tools/design-system/get-component-docs.md
- `get_css_tokens` — Read — https://policylayer.com/tools/design-system/get-css-tokens.md
- `get_setup_guide` — Read — https://policylayer.com/tools/design-system/get-setup-guide.md
- `list_components` — Read — https://policylayer.com/tools/design-system/list-components.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=design-system · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/design-system
