[!IMPORTANT]
This repository is archived and no longer maintained.
The Forge MCP server now lives as a package in the Forge monorepo. Head there, or to the Forge documentation website, for up-to-date installation instructions. The setup steps below may be out of date.
Tyler Forge™ MCP Server
Access Tyler Forge™ web component documentation directly in AI clients. Discover components, generate framework-specific code, validate APIs, and use design tokens correctly.
Features
- Version-aware: Detects your installed Tyler Forge version and provides matching documentation, falling back to the latest published version (fetched from npm) if Forge isn't installed yet, and to a bundled snapshot as a last resort
- Forge Blocks: Pre-built UI patterns showing components working together in context (forms, tables, layouts, dashboards)—the canonical source of Forge markup for both single components and larger patterns
- API Quick Reference: Component docs lead with exact events, properties, attributes, slots, and CSS custom properties
- UI Plans: Generate and validate a machine-checkable plan (scaffold, regions, typography roles, icons) before writing composition-scale markup
- Component Validation: Verify generated code against actual component APIs
- Design Tokens: Access colors, spacing, typography, and other design tokens
- Framework Guides: Setup instructions for Angular, React, Vue, Svelte, and Lit
- Guardrails (plugin only):
PreToolUse/Stop hooks block common anti-patterns (inline styles, hand-rolled layout, skipped validation) as code is written
Setup
Claude Code Plugin (Recommended)
The plugin bundles the MCP server with a /forge-design skill for expert UI guidance.
Install:
/plugin marketplace add tyler-technologies-oss/forge-mcp
/plugin install forge@tyler-forge
Verify installation:
/skills
You may need to restart Claude or run /reload-skills if the skill doesn't appear.
Update the plugin:
claude plugin marketplace update tyler-forge
For local development:
claude --plugin-dir /path/to/forge-mcp/plugin
Claude Code (MCP Only)
claude mcp add -t stdio -s [scope] forge -- npx -y @tylertech/forge-mcp@latest
[scope] must be user, project, or local. See Claude Code MCP docs.
Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.forge]
command = "npx"
args = ["-y", "@tylertech/forge-mcp@latest"]
Gemini CLI
gemini mcp add -t stdio -s [scope] forge npx -y @tylertech/forge-mcp@latest
VS Code
Add to .vscode/mcp.json:
{
"servers": {
"forge": {
"command": "npx",
"args": ["-y", "@tylertech/forge-mcp@latest"],
"type": "stdio"
}
}
}
Or use Command Palette → MCP: Add Server... → Command (stdio) → enter npx -y @tylertech/forge-mcp@latest.
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"forge": {
"command": "npx",
"args": ["-y", "@tylertech/forge-mcp@latest"]
}
}
}
Remote (Streamable HTTP)
For a centrally-hosted deployment that any MCP-compatible client (Claude.ai, third-party tools, etc.) can reach over a URL instead of spawning the server locally via npx, run the Streamable HTTP entrypoint:
pnpm run build
pnpm run start:http # listens on PORT (default 3000), serving POST /mcp
A Dockerfile is included for containerized hosting on any platform that runs a Docker image (Cloud Run, Fly.io, Render, ECS, etc.):
docker build -t forge-mcp-http .
docker run -p 3000:3000 forge-mcp-http
The server is stateless (no Mcp-Session-Id is issued; a fresh server/transport pair handles each request), so it scales horizontally with no session affinity required. GET /healthz returns 200 ok for platform health checks.
Once deployed, point any Streamable HTTP-capable client at https://<your-deployed-url>/mcp, e.g.:
{
"mcpServers": {
"forge": {
"type": "http",
"url": "https://<your-deployed-url>/mcp"
}
}
}
Note: Detection of your locally installed @tylertech/forge (see Features above) only works when the server runs on your own machine via stdio, since it inspects your project's node_modules. A remotely hosted instance has no access to your local filesystem, so it always falls through to the same latest-published-version fetch (from npm/unpkg) that stdio uses when Forge isn't installed locally yet. If that fetch fails too (e.g. npm/unpkg is unreachable), it falls back to the bundled documentation baked into the deployed build.
Core Concepts
Forge Blocks