forge-mcp
v1.4.0MCP server for Tyler Forge™ web component library documentation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_component_docs
Get the API contract (properties, attributes, events, slots, CSS parts, CSS vars) for a Tyler Forge component. Call list_components first if you need to discover available components. For HTML usage code, call `get_forge_blocks` instead — blocks are the sole source of Forge markup.
| Parameter | Type | Description |
|---|---|---|
component * | string | Component tag name (e.g., "forge-button", "forge-card"). Required — call list_components first if you don't know the tag name. |
format | string | Documentation format: full (default) or summary (brief overview). For HTML usage code, call `get_forge_blocks` — this tool returns API contract only. |
sections | array | Optional: specific documentation sections to include. Only applies to full format. |
list_components
Browse all available Tyler Forge components with descriptions. Returns a comprehensive table of all components with their purpose and capabilities.
find_components
Search Tyler Forge components by name, description, or functionality with enhanced fuzzy matching. Supports multi-term queries like "app bar drawer". Returns all components when no query provided.
| Parameter | Type | Description |
|---|---|---|
includeRelated | boolean | Optional: include related components in results (default: false) |
limit | number | Optional: maximum number of results to return (default: 10 for search, unlimited for list all) |
matchAll | boolean | Optional: require all search terms to match (default: false - match any term) |
query | string | Search query to find components by name, description, or features. Leave empty to list all components. |
searchIn | array | Optional: specify what to search in (default: all) |
validate_component_api
Validate Tyler Forge component-specific API usage after code generation. Supports all components in @tylertech/forge. DO NOT use this tool to validate standard HTML attributes (id, class, style, etc.), ARIA attributes (aria-*), or data attributes (data-*) - these are valid on all elements. Only validate component-specific properties, attributes, events, methods, slots, CSS properties, parts, and classes.
| Parameter | Type | Description |
|---|---|---|
component * | string | Component tag name - e.g., "forge-button", "forge-card", "forge-user-profile", "forge-app-launcher" |
apis | object | APIs to validate for the component |
get_design_tokens
Get Tyler Forge design tokens for consistent styling. Access color palettes, spacing scales, typography, animation, and other design system values.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional: specific design token category (default: all categories overview) |
setup_typography
Access Tyler Forge typography setup instructions including font families, type scales, weights, and practical usage guidelines for consistent text styling.
setup_icons
Access Tyler Forge icons system including installation, registration, and usage patterns for the forge-icon component.
find_icons
Search Tyler Icons using semantic/fuzzy search with natural language queries. Finds the closest matching icons by name and keywords.
| Parameter | Type | Description |
|---|---|---|
query * | string | Space-separated search terms to find matching icons (e.g., "user profile", "arrow left", "check mark") |
limit | number | Maximum number of results to return (default: 10) |
get_usage_guide
Get comprehensive Tyler Forge guides including installation instructions, framework-specific integration, and general usage patterns
| Parameter | Type | Description |
|---|---|---|
framework | string | Framework for installation or framework guides. Required for type=framework. |
type | string | Type of guide: general (default - usage patterns), installation (setup instructions), or framework (framework-specific integration) |
setup_framework
Get complete framework-specific setup instructions for Tyler Forge components including installation, configuration, and best practices.
| Parameter | Type | Description |
|---|---|---|
framework * | string | Target framework for Tyler Forge setup and integration |
get_version_migration_guide
Get comprehensive migration guides for upgrading between Tyler Forge versions, including breaking changes, API mappings, and upgrade instructions
| Parameter | Type | Description |
|---|---|---|
from | string | Source version to migrate from (default: "v2") |
to | string | Target version to migrate to (default: "v3") |
get_forge_blocks
Get Forge UI code blocks - pre-built patterns and examples that demonstrate correct Forge component usage. Use this FIRST before generating any Forge UI code to ensure accurate patterns. Can list/search blocks or fetch specific block content.
| Parameter | Type | Description |
|---|---|---|
blockId | string | Specific block ID to fetch the full HTML content for (e.g., "src/blocks/forms/login"). |
category | string | Filter blocks by category (e.g., "forms", "tables", "application-layout"). |
component | string | Filter blocks by Forge component usage. Returns all blocks that use the specified component (e.g., "forge-card", "forge-table", "forge-button"). Use this to see how a component is used across differen… |
limit | number | Maximum number of blocks to return when listing (default: 20). |
query | string | Describe the UI functionality you need (e.g., "form with validation", "data table with sorting", "user profile card"). Searches block descriptions to find matching functionality. Results are ranked by… |
generate_ui_plan
Emit a machine-checkable UI plan (scaffold block, regions, typography roles, icons) before writing composition-scale Forge markup. Returns the empty plan template and the enums the plan must use. Call validate_ui_plan on the composed plan before writing any <forge-*> markup. See references/ui-plan.md.
| Parameter | Type | Description |
|---|---|---|
description * | string | What the user is asking you to build. A sentence or two is enough; the plan is composed from the description plus the current session context. |
framework | string | Framework in use (angular, react, vue, svelte, lit, or plain). Optional — only affects framework-specific plan hints. |
page_type_hint | string | Optional page type if the caller already knows it. Otherwise leave blank and pick during plan composition. |
validate_ui_plan
Validate a UI plan produced by generate_ui_plan. Checks: page_type enum, region components exist in the CEM, block IDs exist in the block catalogue, typography roles are legal, spacing_scale is tokens-only, icons exist in @tylertech/tyler-icons, and composition rules (no page_title inside card, no hand-rolled tables). Returns pass/fail with per-error hints. Markup must not be written until this returns valid=true.
| Parameter | Type | Description |
|---|---|---|
plan * | The plan object emitted by generate_ui_plan, either as an object or a JSON string. |