@archway/valet-mcp
v0.34.1
Published
Model Context Protocol server exposing @archway/valet component metadata (props, css vars, examples).
Downloads
752
Readme
@archway/valet-mcp
MCP server for valet. It serves machine‑readable metadata for every valet component (props, types, CSS vars, examples, best practices) so agents and tools can search, inspect, and generate correct UI code.
- Bundled data by default. Override to use fresh local
mcp-data/.
Quick Start
npm i -g @archway/valet-mcp
MCP_SELFCHECK=1 valet-mcpUse with Codex (config.toml):
[mcp_servers.valet]
command = "valet-mcp"
args = []Data source (dev): set VALET_MCP_DATA_DIR to an absolute path to your mcp-data/; otherwise the server uses the bundled snapshot. See the docs for details.
Docs: MCP & Introspection guide lives in docs/src/pages/concepts/MCP.tsx and the live docs site. It covers tools, examples, best practices, and advanced flows.
Requirements: Node 18+ (20+ recommended). Communicates over stdio.
Troubleshooting: regenerate data (npm run mcp:build) and re‑run the selfcheck.
License: MIT © Off Court Creations
