@patine-ui/mcp 0.4.1 → 0.4.3

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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/package.json +3 -3
  3. package/src/pro.js +5 -3
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Patine
3
+ Copyright (c) 2026 Patine UI
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@patine-ui/mcp",
3
- "version": "0.4.1",
4
- "description": "MCP server for Patine UI: lets Claude Code, Cursor, Windsurf and other coding agents list, read and search the patine-ui docs and find icons, matched to the version installed in your project. Zero dependencies.",
3
+ "version": "0.4.3",
4
+ "description": "MCP server that lets Claude Code, Cursor and other coding agents search the patine-ui docs and icons for the version in your project.",
5
5
  "license": "MIT",
6
- "author": "Patine <support@patine.dev>",
6
+ "author": "Patine UI <support@patine.dev>",
7
7
  "homepage": "https://patine.dev/docs/resources/mcp",
8
8
  "repository": {
9
9
  "type": "git",
package/src/pro.js CHANGED
@@ -6,7 +6,7 @@ const PRO = require('./pro.json');
6
6
  const PRICING = 'https://patine.dev/pricing';
7
7
 
8
8
  /** How to get a Pro item, under every Pro result. */
9
- const PRO_NOTE = `Pro items need a Patine Pro license: ${PRICING}. Then import them from '@patine-ui/pro'.`;
9
+ const PRO_NOTE = `Pro items need a Patine Pro license: ${PRICING}. Install one with \`npx shadcn add @patine-pro/<item>\` (its docs page names the item), then import it from '@/components/patine/<item>' (for example '@/components/patine/kanban'). There is no @patine-ui/pro package.`;
10
10
 
11
11
  /** A docs search's Pro matches: charts, blocks, app templates and Pro components, with what they are and where to read more. */
12
12
  const searchProPages = (query, limit = 3, exclude = []) =>
@@ -18,10 +18,12 @@ const searchProPages = (query, limit = 3, exclude = []) =>
18
18
  /** An icon search's Pro matches: icons beyond the free set, and brand logos. */
19
19
  const searchProIcons = (query, limit = 10) => {
20
20
  const icons = searchIcons(query, limit, PRO.icons).map(
21
- (icon) => `- [Pro] ${icon.name} (${icon.category}): ${icon.tags}. <Icon name="${icon.name}" /> from '@patine-ui/pro'`
21
+ (icon) =>
22
+ `- [Pro] ${icon.name} (${icon.category}): ${icon.tags}. <Icon name="${icon.name}" /> from '@/components/patine/icons' (npx shadcn add @patine-pro/icons)`
22
23
  );
23
24
  const brands = searchIcons(query, limit, PRO.brands).map(
24
- (brand) => `- [Pro brand logo] ${brand.name} (${brand.category}). <BrandIcon name="${brand.name}" /> from '@patine-ui/pro'`
25
+ (brand) =>
26
+ `- [Pro brand logo] ${brand.name} (${brand.category}). <BrandIcon name="${brand.name}" /> from '@/components/patine/brands' (npx shadcn add @patine-pro/brands)`
25
27
  );
26
28
  return [...brands, ...icons].slice(0, limit);
27
29
  };