@atlaskit/ads-mcp 1.0.0 → 1.2.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.
Files changed (91) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/index.js +27 -1
  3. package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
  4. package/dist/cjs/tools/get-all-components/types.js +5 -1
  5. package/dist/cjs/tools/get-atlaskit-components/atlaskit-components.codegen.js +35 -6
  6. package/dist/cjs/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +206 -0
  7. package/dist/cjs/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.js +40 -0
  8. package/dist/cjs/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.js +22 -0
  9. package/dist/cjs/tools/get-atlaskit-hooks/types.js +5 -0
  10. package/dist/cjs/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +836 -0
  11. package/dist/cjs/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.js +40 -0
  12. package/dist/cjs/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.js +22 -0
  13. package/dist/cjs/tools/get-atlaskit-utilities/types.js +5 -0
  14. package/dist/cjs/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -4
  15. package/dist/cjs/tools/get-lint-rules/lint-rules-structured-content.codegen.js +31 -11
  16. package/dist/cjs/tools/i18n-conversion/guide.js +7 -7
  17. package/dist/cjs/tools/i18n-conversion/list-i18n-conversion-tool.js +1 -1
  18. package/dist/cjs/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.js +22 -0
  19. package/dist/cjs/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.js +11 -0
  20. package/dist/cjs/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.js +109 -0
  21. package/dist/cjs/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.js +22 -0
  22. package/dist/cjs/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.js +11 -0
  23. package/dist/cjs/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.js +111 -0
  24. package/dist/cjs/tools/types.js +1 -0
  25. package/dist/es2019/index.js +30 -0
  26. package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
  27. package/dist/es2019/tools/get-all-components/types.js +1 -0
  28. package/dist/es2019/tools/get-atlaskit-components/atlaskit-components.codegen.js +35 -6
  29. package/dist/es2019/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +200 -0
  30. package/dist/es2019/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.js +14 -0
  31. package/dist/es2019/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.js +21 -0
  32. package/dist/es2019/tools/get-atlaskit-hooks/types.js +1 -0
  33. package/dist/es2019/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +830 -0
  34. package/dist/es2019/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.js +14 -0
  35. package/dist/es2019/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.js +21 -0
  36. package/dist/es2019/tools/get-atlaskit-utilities/types.js +1 -0
  37. package/dist/es2019/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -4
  38. package/dist/es2019/tools/get-lint-rules/lint-rules-structured-content.codegen.js +31 -11
  39. package/dist/es2019/tools/i18n-conversion/guide.js +7 -7
  40. package/dist/es2019/tools/i18n-conversion/list-i18n-conversion-tool.js +1 -1
  41. package/dist/es2019/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.js +19 -0
  42. package/dist/es2019/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.js +5 -0
  43. package/dist/es2019/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.js +79 -0
  44. package/dist/es2019/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.js +19 -0
  45. package/dist/es2019/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.js +5 -0
  46. package/dist/es2019/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.js +81 -0
  47. package/dist/es2019/tools/types.js +0 -0
  48. package/dist/esm/index.js +27 -1
  49. package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
  50. package/dist/esm/tools/get-all-components/types.js +1 -0
  51. package/dist/esm/tools/get-atlaskit-components/atlaskit-components.codegen.js +35 -6
  52. package/dist/esm/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +200 -0
  53. package/dist/esm/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.js +32 -0
  54. package/dist/esm/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.js +16 -0
  55. package/dist/esm/tools/get-atlaskit-hooks/types.js +1 -0
  56. package/dist/esm/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +830 -0
  57. package/dist/esm/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.js +32 -0
  58. package/dist/esm/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.js +16 -0
  59. package/dist/esm/tools/get-atlaskit-utilities/types.js +1 -0
  60. package/dist/esm/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -4
  61. package/dist/esm/tools/get-lint-rules/lint-rules-structured-content.codegen.js +31 -11
  62. package/dist/esm/tools/i18n-conversion/guide.js +7 -7
  63. package/dist/esm/tools/i18n-conversion/list-i18n-conversion-tool.js +1 -1
  64. package/dist/esm/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.js +16 -0
  65. package/dist/esm/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.js +5 -0
  66. package/dist/esm/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.js +102 -0
  67. package/dist/esm/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.js +16 -0
  68. package/dist/esm/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.js +5 -0
  69. package/dist/esm/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.js +106 -0
  70. package/dist/esm/tools/types.js +0 -0
  71. package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
  72. package/dist/types/tools/get-all-components/types.d.ts +2 -1
  73. package/dist/types/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +1 -1
  74. package/dist/types/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.d.ts +10 -0
  75. package/dist/types/tools/get-atlaskit-hooks/get-atlaskit-hooks-tool.d.ts +6 -0
  76. package/dist/types/tools/get-atlaskit-hooks/list-get-atlaskit-hooks-tool.d.ts +2 -0
  77. package/dist/types/tools/get-atlaskit-hooks/types.d.ts +14 -0
  78. package/dist/types/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.d.ts +10 -0
  79. package/dist/types/tools/get-atlaskit-utilities/get-atlaskit-utilities-tool.d.ts +6 -0
  80. package/dist/types/tools/get-atlaskit-utilities/list-get-atlaskit-utilities-tool.d.ts +2 -0
  81. package/dist/types/tools/get-atlaskit-utilities/types.d.ts +41 -0
  82. package/dist/types/tools/get-guidelines/guidelines-structured-content.codegen.d.ts +1 -1
  83. package/dist/types/tools/get-lint-rules/lint-rules-structured-content.codegen.d.ts +1 -1
  84. package/dist/types/tools/search-atlaskit-hooks/list-search-atlaskit-hooks-tool.d.ts +2 -0
  85. package/dist/types/tools/search-atlaskit-hooks/search-atlaskit-hooks-input-schema.d.ts +11 -0
  86. package/dist/types/tools/search-atlaskit-hooks/search-atlaskit-hooks-tool.d.ts +4 -0
  87. package/dist/types/tools/search-atlaskit-utilities/list-search-atlaskit-utilities-tool.d.ts +2 -0
  88. package/dist/types/tools/search-atlaskit-utilities/search-atlaskit-utilities-input-schema.d.ts +11 -0
  89. package/dist/types/tools/search-atlaskit-utilities/search-atlaskit-utilities-tool.d.ts +4 -0
  90. package/dist/types/tools/types.d.ts +12 -0
  91. package/package.json +3 -3
@@ -0,0 +1,102 @@
1
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
+ /* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
5
+
6
+ import Fuse from 'fuse.js';
7
+ import { cleanQuery, mergeMultiTermFuseResults } from '../../helpers';
8
+ import { atlaskitHooks } from '../get-atlaskit-hooks/atlaskit-hooks.codegen';
9
+ var buildHookResult = function buildHookResult(result) {
10
+ return {
11
+ name: result.name,
12
+ package: result.package,
13
+ description: result.description,
14
+ usageGuidelines: result.usageGuidelines,
15
+ keywords: result.keywords,
16
+ category: result.category,
17
+ parameters: result.parameters,
18
+ returns: result.returns
19
+ };
20
+ };
21
+ export var searchAtlaskitHooksTool = /*#__PURE__*/function () {
22
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
23
+ var terms, _ref$limit, limit, searchTerms, hooks, fuse, matchedItems;
24
+ return _regeneratorRuntime.wrap(function (_context) {
25
+ while (1) switch (_context.prev = _context.next) {
26
+ case 0:
27
+ terms = _ref.terms, _ref$limit = _ref.limit, limit = _ref$limit === void 0 ? 2 : _ref$limit;
28
+ searchTerms = _toConsumableArray(new Set(terms.filter(Boolean).map(cleanQuery)));
29
+ if (searchTerms.length) {
30
+ _context.next = 1;
31
+ break;
32
+ }
33
+ return _context.abrupt("return", {
34
+ content: [{
35
+ type: 'text',
36
+ text: '[]'
37
+ }]
38
+ });
39
+ case 1:
40
+ hooks = atlaskitHooks;
41
+ fuse = new Fuse(hooks, {
42
+ keys: [{
43
+ name: 'name',
44
+ weight: 5
45
+ }, {
46
+ name: 'package',
47
+ weight: 3
48
+ }, {
49
+ name: 'category',
50
+ weight: 2
51
+ }, {
52
+ name: 'description',
53
+ weight: 2
54
+ }, {
55
+ name: 'keywords',
56
+ weight: 2
57
+ }, {
58
+ name: 'usageGuidelines',
59
+ weight: 2
60
+ }],
61
+ threshold: 0.4,
62
+ distance: 80,
63
+ minMatchCharLength: 3,
64
+ ignoreFieldNorm: true,
65
+ includeScore: true
66
+ });
67
+ matchedItems = mergeMultiTermFuseResults({
68
+ searchTerms: searchTerms,
69
+ limit: limit,
70
+ search: function search(query) {
71
+ return fuse.search(query, {
72
+ limit: limit * searchTerms.length
73
+ });
74
+ }
75
+ });
76
+ if (matchedItems.length) {
77
+ _context.next = 2;
78
+ break;
79
+ }
80
+ return _context.abrupt("return", {
81
+ content: [{
82
+ type: 'text',
83
+ text: "Error: No Atlaskit hooks found for '".concat(terms.join(', '), "'.")
84
+ }]
85
+ });
86
+ case 2:
87
+ return _context.abrupt("return", {
88
+ content: [{
89
+ type: 'text',
90
+ text: JSON.stringify(matchedItems.map(buildHookResult))
91
+ }]
92
+ });
93
+ case 3:
94
+ case "end":
95
+ return _context.stop();
96
+ }
97
+ }, _callee);
98
+ }));
99
+ return function searchAtlaskitHooksTool(_x) {
100
+ return _ref2.apply(this, arguments);
101
+ };
102
+ }();
@@ -0,0 +1,16 @@
1
+ /* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
2
+
3
+ import { zodToJsonSchema } from '../../helpers';
4
+ import { searchAtlaskitUtilitiesInputSchema } from './search-atlaskit-utilities-input-schema';
5
+ export var listSearchAtlaskitUtilitiesTool = {
6
+ name: 'atlaskit_search_utilities',
7
+ description: "Search for atlaskit utilities (functions, constants, types) by name, package, category, description, or keywords.\n\nWHEN TO USE:\nUse this when you want to find a utility but don't know its exact name or package.",
8
+ annotations: {
9
+ title: 'Search Atlaskit utilities',
10
+ readOnlyHint: true,
11
+ destructiveHint: false,
12
+ idempotentHint: true,
13
+ openWorldHint: true
14
+ },
15
+ inputSchema: zodToJsonSchema(searchAtlaskitUtilitiesInputSchema)
16
+ };
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export var searchAtlaskitUtilitiesInputSchema = z.object({
3
+ terms: z.array(z.string()).describe('Required: one or more search terms (fuzzy over name, package, category, description, keywords, usageGuidelines). Example: `["debounce", "a11y", "storage"]`.'),
4
+ limit: z.number().default(2).describe('Max matches **per term** (default 2).').optional()
5
+ });
@@ -0,0 +1,106 @@
1
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ /* eslint-disable-next-line import/extensions -- MCP SDK requires .js extensions for ESM imports */
8
+
9
+ import Fuse from 'fuse.js';
10
+ import { cleanQuery, mergeMultiTermFuseResults } from '../../helpers';
11
+ import { atlaskitUtilities } from '../get-atlaskit-utilities/atlaskit-utilities.codegen';
12
+ var buildUtilityResult = function buildUtilityResult(result) {
13
+ return _objectSpread({
14
+ name: result.name,
15
+ package: result.package,
16
+ description: result.description,
17
+ usageGuidelines: result.usageGuidelines,
18
+ keywords: result.keywords,
19
+ category: result.category,
20
+ kind: result.kind
21
+ }, result.kind === 'function' ? {
22
+ signature: result.signature
23
+ } : {});
24
+ };
25
+ export var searchAtlaskitUtilitiesTool = /*#__PURE__*/function () {
26
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
27
+ var terms, _ref$limit, limit, searchTerms, utilities, fuse, matchedItems;
28
+ return _regeneratorRuntime.wrap(function (_context) {
29
+ while (1) switch (_context.prev = _context.next) {
30
+ case 0:
31
+ terms = _ref.terms, _ref$limit = _ref.limit, limit = _ref$limit === void 0 ? 2 : _ref$limit;
32
+ searchTerms = _toConsumableArray(new Set(terms.filter(Boolean).map(cleanQuery)));
33
+ if (searchTerms.length) {
34
+ _context.next = 1;
35
+ break;
36
+ }
37
+ return _context.abrupt("return", {
38
+ content: [{
39
+ type: 'text',
40
+ text: '[]'
41
+ }]
42
+ });
43
+ case 1:
44
+ utilities = atlaskitUtilities;
45
+ fuse = new Fuse(utilities, {
46
+ keys: [{
47
+ name: 'name',
48
+ weight: 5
49
+ }, {
50
+ name: 'package',
51
+ weight: 3
52
+ }, {
53
+ name: 'category',
54
+ weight: 2
55
+ }, {
56
+ name: 'description',
57
+ weight: 2
58
+ }, {
59
+ name: 'keywords',
60
+ weight: 2
61
+ }, {
62
+ name: 'usageGuidelines',
63
+ weight: 2
64
+ }],
65
+ threshold: 0.4,
66
+ distance: 80,
67
+ minMatchCharLength: 3,
68
+ ignoreFieldNorm: true,
69
+ includeScore: true
70
+ });
71
+ matchedItems = mergeMultiTermFuseResults({
72
+ searchTerms: searchTerms,
73
+ limit: limit,
74
+ search: function search(query) {
75
+ return fuse.search(query, {
76
+ limit: limit * searchTerms.length
77
+ });
78
+ }
79
+ });
80
+ if (matchedItems.length) {
81
+ _context.next = 2;
82
+ break;
83
+ }
84
+ return _context.abrupt("return", {
85
+ content: [{
86
+ type: 'text',
87
+ text: "Error: No Atlaskit utilities found for '".concat(terms.join(', '), "'.")
88
+ }]
89
+ });
90
+ case 2:
91
+ return _context.abrupt("return", {
92
+ content: [{
93
+ type: 'text',
94
+ text: JSON.stringify(matchedItems.map(buildUtilityResult))
95
+ }]
96
+ });
97
+ case 3:
98
+ case "end":
99
+ return _context.stop();
100
+ }
101
+ }, _callee);
102
+ }));
103
+ return function searchAtlaskitUtilitiesTool(_x) {
104
+ return _ref2.apply(this, arguments);
105
+ };
106
+ }();
File without changes
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content components from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::f011ef2e44bcfe53ddd263aceed05794>>
6
+ * @codegen <<SignedSource::5de3314ebec8c2ace33afef70122e6bd>>
7
7
  * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:ads-components
8
8
  */
9
9
  import type { ComponentMcpPayload } from './types';
@@ -1,4 +1,5 @@
1
- export type ComponentStatus = 'release-candidate' | 'early-access' | 'open-beta' | 'general-availability' | 'intent-to-deprecate' | 'deprecated' | 'unmaintained';
1
+ import { type Status } from '../types';
2
+ export type ComponentStatus = Status;
2
3
  export type ComponentProps = {
3
4
  name: string;
4
5
  type: string;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content components from design-system *.docs.tsx files
5
5
  *
6
- * @codegen <<SignedSource::bd5b86ae65b6b9e48b637d6a463db4f9>>
6
+ * @codegen <<SignedSource::c074026b3760583a882b411542329528>>
7
7
  * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-components
8
8
  */
9
9
  import type { ComponentMcpPayload } from '../get-all-components/types';
@@ -0,0 +1,10 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ *
4
+ * Structured content hooks from design-system *.docs.tsx files
5
+ *
6
+ * @codegen <<SignedSource::54db052ad53f695704ea4e9666a1ee4d>>
7
+ * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-hooks
8
+ */
9
+ import type { HookMcpPayload } from './types';
10
+ export declare const atlaskitHooks: HookMcpPayload[];
@@ -0,0 +1,6 @@
1
+ export declare const getAtlaskitHooksTool: () => Promise<{
2
+ content: {
3
+ type: string;
4
+ text: string;
5
+ }[];
6
+ }>;
@@ -0,0 +1,2 @@
1
+ import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ export declare const listGetAtlaskitHooksTool: Tool;
@@ -0,0 +1,14 @@
1
+ import { type DocsParameter, type DocsReturns, type Status } from '../types';
2
+ export type HookMcpPayload = {
3
+ name: string;
4
+ description: string;
5
+ status: Status;
6
+ usageGuidelines?: string[];
7
+ accessibilityGuidelines?: string[];
8
+ keywords: string[];
9
+ category?: string;
10
+ package: string;
11
+ examples: string[];
12
+ parameters?: DocsParameter[];
13
+ returns?: DocsReturns;
14
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ *
4
+ * Structured content utilities from design-system *.docs.tsx files
5
+ *
6
+ * @codegen <<SignedSource::5377d3666260be828ea690f4b3ef04b7>>
7
+ * @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-utilities
8
+ */
9
+ import type { UtilityMcpPayload } from './types';
10
+ export declare const atlaskitUtilities: UtilityMcpPayload[];
@@ -0,0 +1,6 @@
1
+ export declare const getAtlaskitUtilitiesTool: () => Promise<{
2
+ content: {
3
+ type: string;
4
+ text: string;
5
+ }[];
6
+ }>;
@@ -0,0 +1,2 @@
1
+ import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ export declare const listGetAtlaskitUtilitiesTool: Tool;
@@ -0,0 +1,41 @@
1
+ import { type DocsParameter, type DocsReturns, type Status } from '../types';
2
+ export type UtilityMcpPayload = {
3
+ kind: 'function';
4
+ name: string;
5
+ description: string;
6
+ status: Status;
7
+ usageGuidelines?: string[];
8
+ accessibilityGuidelines?: string[];
9
+ keywords: string[];
10
+ category?: string;
11
+ package: string;
12
+ examples: string[];
13
+ parameters?: DocsParameter[];
14
+ returns?: DocsReturns;
15
+ signature?: string;
16
+ } | {
17
+ kind: 'constant';
18
+ name: string;
19
+ description: string;
20
+ status: Status;
21
+ usageGuidelines?: string[];
22
+ accessibilityGuidelines?: string[];
23
+ keywords: string[];
24
+ category?: string;
25
+ package: string;
26
+ examples: string[];
27
+ type?: string;
28
+ value?: string;
29
+ } | {
30
+ kind: 'type';
31
+ name: string;
32
+ description: string;
33
+ status: Status;
34
+ usageGuidelines?: string[];
35
+ accessibilityGuidelines?: string[];
36
+ keywords: string[];
37
+ category?: string;
38
+ package: string;
39
+ examples: string[];
40
+ definition?: string;
41
+ };
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content for content guidelines from design-system-docs foundations content.
5
5
  *
6
- * @codegen <<SignedSource::172be2830ddae4adfd4b9c4a11d5b54a>>
6
+ * @codegen <<SignedSource::613be582db295e634b62c0f119c15494>>
7
7
  * @codegenCommand yarn build structured-docs
8
8
  */
9
9
  export interface GuidelineStructuredContent {
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Structured content for MCP (JSON) for ESLint rule docs from constellation.
5
5
  *
6
- * @codegen <<SignedSource::ec87e0b1e121242b7bd900e58c42ea14>>
6
+ * @codegen <<SignedSource::ef9c19eed4e720ce7570ee24935c3476>>
7
7
  * @codegenCommand yarn build structured-docs
8
8
  */
9
9
  export interface LintRuleStructuredContent {
@@ -0,0 +1,2 @@
1
+ import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ export declare const listSearchAtlaskitHooksTool: Tool;
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare const searchAtlaskitHooksInputSchema: z.ZodObject<{
3
+ terms: z.ZodArray<z.ZodString, 'many'>;
4
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
5
+ }, 'strip', z.ZodTypeAny, {
6
+ terms: string[];
7
+ limit?: number | undefined;
8
+ }, {
9
+ terms: string[];
10
+ limit?: number | undefined;
11
+ }>;
@@ -0,0 +1,4 @@
1
+ import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
2
+ import { type z } from 'zod';
3
+ import type { searchAtlaskitHooksInputSchema } from './search-atlaskit-hooks-input-schema';
4
+ export declare const searchAtlaskitHooksTool: ({ terms, limit, }: z.infer<typeof searchAtlaskitHooksInputSchema>) => Promise<CallToolResult>;
@@ -0,0 +1,2 @@
1
+ import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ export declare const listSearchAtlaskitUtilitiesTool: Tool;
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare const searchAtlaskitUtilitiesInputSchema: z.ZodObject<{
3
+ terms: z.ZodArray<z.ZodString, 'many'>;
4
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
5
+ }, 'strip', z.ZodTypeAny, {
6
+ terms: string[];
7
+ limit?: number | undefined;
8
+ }, {
9
+ terms: string[];
10
+ limit?: number | undefined;
11
+ }>;
@@ -0,0 +1,4 @@
1
+ import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
2
+ import { type z } from 'zod';
3
+ import type { searchAtlaskitUtilitiesInputSchema } from './search-atlaskit-utilities-input-schema';
4
+ export declare const searchAtlaskitUtilitiesTool: ({ terms, limit, }: z.infer<typeof searchAtlaskitUtilitiesInputSchema>) => Promise<CallToolResult>;
@@ -0,0 +1,12 @@
1
+ export type Status = 'release-candidate' | 'early-access' | 'open-beta' | 'general-availability' | 'intent-to-deprecate' | 'deprecated' | 'unmaintained';
2
+ export type DocsParameter = {
3
+ name: string;
4
+ type: string;
5
+ description?: string;
6
+ defaultValue?: string;
7
+ isOptional?: boolean;
8
+ };
9
+ export type DocsReturns = {
10
+ type: string;
11
+ description?: string;
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ads-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "The official Atlassian Design System MCP server to develop apps and user interfaces matching the Atlassian style.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,9 +22,9 @@
22
22
  "atlaskit:src": "src/index.tsx",
23
23
  "dependencies": {
24
24
  "@atlaskit/icon": "^36.0.0",
25
- "@atlaskit/icon-lab": "^7.0.0",
25
+ "@atlaskit/icon-lab": "^7.1.0",
26
26
  "@atlaskit/platform-feature-flags": "^2.0.0",
27
- "@atlaskit/tokens": "^14.0.0",
27
+ "@atlaskit/tokens": "^15.0.0",
28
28
  "@axe-core/playwright": "^4.11.1",
29
29
  "@axe-core/puppeteer": "^4.11.1",
30
30
  "@babel/runtime": "^7.0.0",