tailwindcss-docs-mcp 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # tailwindcss-docs-mcp
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/tailwindcss-docs-mcp)](https://www.npmjs.com/package/tailwindcss-docs-mcp)
4
+ [![Smithery](https://smithery.ai/badge/@vitalis/tailwindcss-docs-mcp)](https://smithery.ai/server/@vitalis/tailwindcss-docs-mcp)
4
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
5
6
 
6
7
  Local semantic search for Tailwind CSS documentation via [Model Context Protocol](https://modelcontextprotocol.io).
@@ -47,6 +48,15 @@ Add to your project's `.mcp.json`:
47
48
 
48
49
  </details>
49
50
 
51
+ <details>
52
+ <summary>Smithery</summary>
53
+
54
+ ```bash
55
+ npx -y @smithery/cli@latest install @vitalis/tailwindcss-docs-mcp --client claude
56
+ ```
57
+
58
+ </details>
59
+
50
60
  ### First run
51
61
 
52
62
  On first boot the embedding model (~27 MB) downloads in the background. The server is usable immediately — tools that need embeddings will return a status message until the model is ready.
package/dist/server.js CHANGED
@@ -52,7 +52,7 @@ export async function createServer(deps, transport) {
52
52
  });
53
53
  // Register fetch_docs
54
54
  server.tool(TOOL_NAMES.FETCH_DOCS, "Download and index Tailwind CSS documentation for local semantic search. Only needs to be run once per version. Re-run with force=true to refresh.", {
55
- version: z.enum(["v3", "v4"]).optional().describe("Tailwind CSS major version (default: v4)"),
55
+ version: z.enum(["v4", "v3"]).optional().describe("Tailwind CSS major version (default: v4)"),
56
56
  force: z
57
57
  .boolean()
58
58
  .optional()
@@ -97,7 +97,7 @@ export async function createServer(deps, transport) {
97
97
  .string()
98
98
  .optional()
99
99
  .describe("Filter by category (e.g., 'Layout', 'Spacing', 'Typography', 'Flexbox & Grid'). Omit to list all categories."),
100
- version: z.enum(["v3", "v4"]).optional().describe("Tailwind CSS major version (default: v4)"),
100
+ version: z.enum(["v4", "v3"]).optional().describe("Tailwind CSS major version (default: v4)"),
101
101
  }, (params) => {
102
102
  try {
103
103
  const result = handleListUtilities(params, db, config.defaultVersion);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss-docs-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Local semantic search for Tailwind CSS documentation via Model Context Protocol",
6
6
  "license": "MIT",