mcp-css-first
v0.2.0MCP server for CSS first search
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
suggest_css_solution
Suggests CSS-first solutions for UI implementation tasks by searching MDN documentation. Provides detailed CSS property information, browser support, and asks for user consent before recommending usage.
| Parameter | Type | Description |
|---|---|---|
task_description * | string | Description of the UI task or problem to solve |
preferred_approach | string | Preferred CSS approach - modern (latest features), compatible (wide browser support), or progressive (with fallbacks) |
target_browsers | array | Target browsers/versions (e.g., ["Chrome 90+", "Firefox 88+", "Safari 14+"]) |
check_css_browser_support
Checks browser support for specific CSS properties using MDN data and provides detailed compatibility information.
| Parameter | Type | Description |
|---|---|---|
css_property * | string | CSS property name to check browser support for |
include_experimental | boolean | Include experimental/draft features in results |
get_css_property_details
Retrieves comprehensive information about a CSS property from MDN documentation including syntax, examples, and use cases.
| Parameter | Type | Description |
|---|---|---|
css_property * | string | CSS property name to get details for |
include_examples | boolean | Include code examples in the response |
confirm_css_property_usage
Confirms user consent for using a specific CSS property and provides implementation guidance.
| Parameter | Type | Description |
|---|---|---|
css_property * | string | CSS property name user wants to use |
user_consent * | boolean | User consent to use this CSS property |
fallback_needed | boolean | Whether fallback solutions are needed |