# list_components

List all available Triptease design system components with their element names and descriptions. Call this first to discover component keys for get_component_docs.

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

## Facts

- Tool: `list_components`
- 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_components",
    "arguments": {}
  }
}
```

## Why list_components is rated Low

This tool performs a query operation that returns metadata about available design system components. It produces no modifications, deletions, or state changes. The API is read-only and returns documentation/reference information, making it the lowest-risk category. Blast radius of misuse is minimal—an agent could only enumerate available components, which is non-sensitive reference data.

From the tool's own definition: "Tool name 'list_components' and description 'List all available Triptease design system components' indicates a retrieval/enumeration operation with no side effects. Supports discovery for other Read operations (get_component_docs)."

## Use case

AI agents call list_components 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_components": {}
  }
}
```

## 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_css_tokens` — Read — https://policylayer.com/tools/design-system/list-css-tokens.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
