Privacy-friendly analytics only with consent. No ads, no cross-site tracking. Read the privacy policy.
Five minutes to give every agent in your toolchain the same component truth: install the MCP server, add a rules file so it knows to call the tools, and verify with one prompt.
# In your project (dev dependency: agents run it locally)pnpm add -D @slipstream-ui/mcp-server# Verify the binary answers on stdionpx -y @slipstream-ui/mcp-server </dev/null || true # starts and waits for MCP input
Project-scoped config lives in .mcp.json at the repo root (commit it: teammates and CI share it):
{"mcpServers": {"slipstream-ui": {"command": "npx","args": ["-y", "@slipstream-ui/mcp-server"]}}}
Verify inside Claude Code with /mcp: the server should list six tools (recommend_components, list_components, search_components, get_component_manifest, get_usage_examples, validate_usage).
// .cursor/mcp.json (project) or ~/.cursor/mcp.json (global){"mcpServers": {"slipstream-ui": {"command": "npx","args": ["-y", "@slipstream-ui/mcp-server"]}}}
Settings → MCP shows the server status. Green = the six tools are available to Cursor's agent.
// ~/.codeium/windsurf/mcp_config.json{"mcpServers": {"slipstream-ui": {"command": "npx","args": ["-y", "@slipstream-ui/mcp-server"]}}}
MCP availability is not a habit. Add two sentences to your rules file (CLAUDE.md, .cursorrules, or AGENTS.md):
# UI componentsThis project uses Slipstream UI. Before writing any component JSX:1. search_components / get_component_manifest for the component you need.2. Follow its props exactly: never invent prop names.3. Run validate_usage on the generated JSX before finishing.4. Respect anti-patterns and composition rules from the manifest.
Ask your agent: "Add a prompt input with stop-generation to our chat page,then validate the JSX before showing me the diff."Healthy run: search_components("chat input")get_component_manifest("prompt-input")validate_usage(...) -> okdiff shownUnhealthy run: props like onSubmitChat / isBusy appear: the agent skippedthe tools. Strengthen the rules file, then re-ask.
Server shows "failed to start"
Use the full local path to node_modules/@slipstream-ui/mcp-server/dist/index.js instead of npx if your sandbox blocks npx downloads.
Tools listed but always error
The server reads manifests from the installed packages: run pnpm install and confirm @slipstream-ui/core is present.
Agent never calls the tools
Rules file missing or too weak; name the tools explicitly (see step 4). Also check the agent has MCP permission enabled.
Global vs project scope
Project-scoped configs (committed) beat global ones: they version the tool access with the codebase.