@extension.dev/mcp 3.17.0-canary.1779905934.1151df3

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 (49) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +101 -0
  3. package/bin/extension-mcp.js +3 -0
  4. package/claude/ARCHITECTURE.md +161 -0
  5. package/claude/CLAUDE.md +264 -0
  6. package/claude/README.md +72 -0
  7. package/claude/commands/extension-add.md +63 -0
  8. package/claude/commands/extension-debug.md +43 -0
  9. package/claude/commands/extension-publish.md +62 -0
  10. package/claude/commands/extension.md +76 -0
  11. package/claude/examples/add-sidebar.md +56 -0
  12. package/claude/examples/create-extension.md +49 -0
  13. package/claude/rules/cross-browser.md +84 -0
  14. package/claude/rules/extension-dev.md +83 -0
  15. package/claude/rules/mcp-tools.md +889 -0
  16. package/dist/module.cjs +2979 -0
  17. package/dist/module.d.ts +1 -0
  18. package/dist/rslib.config.d.ts +2 -0
  19. package/dist/src/index.d.ts +1 -0
  20. package/dist/src/lib/act.d.ts +21 -0
  21. package/dist/src/lib/cdp.d.ts +48 -0
  22. package/dist/src/lib/exec.d.ts +13 -0
  23. package/dist/src/lib/process-manager.d.ts +5 -0
  24. package/dist/src/lib/templates-cache.d.ts +11 -0
  25. package/dist/src/lib/types.d.ts +68 -0
  26. package/dist/src/tools/add-feature.d.ts +29 -0
  27. package/dist/src/tools/build.d.ts +36 -0
  28. package/dist/src/tools/create.d.ts +29 -0
  29. package/dist/src/tools/detect-browsers.d.ts +20 -0
  30. package/dist/src/tools/dev.d.ts +34 -0
  31. package/dist/src/tools/dom-inspect.d.ts +56 -0
  32. package/dist/src/tools/eval.d.ts +44 -0
  33. package/dist/src/tools/get-template-source.d.ts +25 -0
  34. package/dist/src/tools/inspect.d.ts +29 -0
  35. package/dist/src/tools/install-browser.d.ts +18 -0
  36. package/dist/src/tools/list-browsers.d.ts +9 -0
  37. package/dist/src/tools/list-templates.d.ts +41 -0
  38. package/dist/src/tools/logs.d.ts +80 -0
  39. package/dist/src/tools/manifest-validate.d.ts +26 -0
  40. package/dist/src/tools/open.d.ts +31 -0
  41. package/dist/src/tools/preview.d.ts +23 -0
  42. package/dist/src/tools/publish.d.ts +32 -0
  43. package/dist/src/tools/reload.d.ts +33 -0
  44. package/dist/src/tools/source-inspect.d.ts +57 -0
  45. package/dist/src/tools/start.d.ts +29 -0
  46. package/dist/src/tools/storage.d.ts +51 -0
  47. package/dist/src/tools/wait.d.ts +29 -0
  48. package/dist/vitest.config.d.ts +3 -0
  49. package/package.json +84 -0
@@ -0,0 +1,31 @@
1
+ import { type ActArgs } from "../lib/act";
2
+ export declare const schema: {
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ type: "object";
7
+ properties: {
8
+ projectPath: {
9
+ type: string;
10
+ description: string;
11
+ };
12
+ surface: {
13
+ type: string;
14
+ enum: string[];
15
+ description: string;
16
+ };
17
+ browser: {
18
+ type: string;
19
+ default: string;
20
+ };
21
+ timeout: {
22
+ type: string;
23
+ description: string;
24
+ };
25
+ };
26
+ required: string[];
27
+ };
28
+ };
29
+ export declare function handler(args: ActArgs & {
30
+ surface: string;
31
+ }): Promise<string>;
@@ -0,0 +1,23 @@
1
+ export declare const schema: {
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ projectPath: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ browser: {
12
+ type: string;
13
+ enum: string[];
14
+ default: string;
15
+ };
16
+ };
17
+ required: string[];
18
+ };
19
+ };
20
+ export declare function handler(args: {
21
+ projectPath: string;
22
+ browser?: string;
23
+ }): Promise<string>;
@@ -0,0 +1,32 @@
1
+ export declare const schema: {
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ projectPath: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ ttlHours: {
12
+ type: string;
13
+ description: string;
14
+ };
15
+ buildSha: {
16
+ type: string;
17
+ description: string;
18
+ };
19
+ api: {
20
+ type: string;
21
+ description: string;
22
+ };
23
+ };
24
+ required: string[];
25
+ };
26
+ };
27
+ export declare function handler(args: {
28
+ projectPath: string;
29
+ ttlHours?: number;
30
+ buildSha?: string;
31
+ api?: string;
32
+ }): Promise<string>;
@@ -0,0 +1,33 @@
1
+ import { type ActArgs } from "../lib/act";
2
+ export declare const schema: {
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ type: "object";
7
+ properties: {
8
+ projectPath: {
9
+ type: string;
10
+ description: string;
11
+ };
12
+ context: {
13
+ type: string;
14
+ enum: string[];
15
+ default: string;
16
+ };
17
+ tab: {
18
+ type: string;
19
+ description: string;
20
+ };
21
+ browser: {
22
+ type: string;
23
+ default: string;
24
+ };
25
+ timeout: {
26
+ type: string;
27
+ description: string;
28
+ };
29
+ };
30
+ required: string[];
31
+ };
32
+ };
33
+ export declare function handler(args: ActArgs): Promise<string>;
@@ -0,0 +1,57 @@
1
+ export declare const schema: {
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ projectPath: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ url: {
12
+ type: string;
13
+ description: string;
14
+ };
15
+ probe: {
16
+ type: string;
17
+ items: {
18
+ type: string;
19
+ };
20
+ description: string;
21
+ };
22
+ include: {
23
+ type: string;
24
+ items: {
25
+ type: string;
26
+ enum: string[];
27
+ };
28
+ default: string[];
29
+ description: string;
30
+ };
31
+ browser: {
32
+ type: string;
33
+ default: string;
34
+ };
35
+ maxBytes: {
36
+ type: string;
37
+ default: number;
38
+ description: string;
39
+ };
40
+ deepDom: {
41
+ type: string;
42
+ default: boolean;
43
+ description: string;
44
+ };
45
+ };
46
+ required: string[];
47
+ };
48
+ };
49
+ export declare function handler(args: {
50
+ projectPath: string;
51
+ url?: string;
52
+ probe?: string[];
53
+ include?: string[];
54
+ browser?: string;
55
+ maxBytes?: number;
56
+ deepDom?: boolean;
57
+ }): Promise<string>;
@@ -0,0 +1,29 @@
1
+ export declare const schema: {
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ projectPath: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ browser: {
12
+ type: string;
13
+ enum: string[];
14
+ default: string;
15
+ };
16
+ polyfill: {
17
+ type: string;
18
+ default: boolean;
19
+ description: string;
20
+ };
21
+ };
22
+ required: string[];
23
+ };
24
+ };
25
+ export declare function handler(args: {
26
+ projectPath: string;
27
+ browser?: string;
28
+ polyfill?: boolean;
29
+ }): Promise<string>;
@@ -0,0 +1,51 @@
1
+ import { type ActArgs } from "../lib/act";
2
+ export declare const schema: {
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ type: "object";
7
+ properties: {
8
+ projectPath: {
9
+ type: string;
10
+ description: string;
11
+ };
12
+ action: {
13
+ type: string;
14
+ enum: string[];
15
+ description: string;
16
+ };
17
+ area: {
18
+ type: string;
19
+ enum: string[];
20
+ default: string;
21
+ };
22
+ key: {
23
+ type: string;
24
+ description: string;
25
+ };
26
+ value: {
27
+ description: string;
28
+ };
29
+ context: {
30
+ type: string;
31
+ enum: string[];
32
+ default: string;
33
+ };
34
+ browser: {
35
+ type: string;
36
+ default: string;
37
+ };
38
+ timeout: {
39
+ type: string;
40
+ description: string;
41
+ };
42
+ };
43
+ required: string[];
44
+ };
45
+ };
46
+ export declare function handler(args: ActArgs & {
47
+ action: "get" | "set";
48
+ area?: string;
49
+ key?: string;
50
+ value?: unknown;
51
+ }): Promise<string>;
@@ -0,0 +1,29 @@
1
+ export declare const schema: {
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: "object";
6
+ properties: {
7
+ projectPath: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ browser: {
12
+ type: string;
13
+ default: string;
14
+ description: string;
15
+ };
16
+ timeout: {
17
+ type: string;
18
+ default: number;
19
+ description: string;
20
+ };
21
+ };
22
+ required: string[];
23
+ };
24
+ };
25
+ export declare function handler(args: {
26
+ projectPath: string;
27
+ browser?: string;
28
+ timeout?: number;
29
+ }): Promise<string>;
@@ -0,0 +1,3 @@
1
+ import type { UserConfig } from "vitest/config";
2
+ declare const config: UserConfig;
3
+ export default config;
package/package.json ADDED
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "@extension.dev/mcp",
3
+ "type": "module",
4
+ "version": "3.17.0-canary.1779905934.1151df3",
5
+ "description": "MCP server for building, debugging, and publishing cross-browser extensions. Gives AI assistants programmatic access to the extension.dev platform and template catalog.",
6
+ "license": "MIT",
7
+ "author": {
8
+ "name": "Cezar Augusto",
9
+ "email": "boss@cezaraugusto.net",
10
+ "url": "https://cezaraugusto.com"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/extensiondev/extension-dev.git"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/extensiondev/extension-dev/issues"
18
+ },
19
+ "homepage": "https://github.com/extensiondev/extension-dev#readme",
20
+ "engines": {
21
+ "node": ">=20.18"
22
+ },
23
+ "packageManager": "pnpm@10.19.0",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/module.d.ts",
27
+ "import": "./dist/module.cjs",
28
+ "require": "./dist/module.cjs"
29
+ }
30
+ },
31
+ "main": "./dist/module.cjs",
32
+ "types": "./dist/module.d.ts",
33
+ "bin": {
34
+ "extension-mcp": "./bin/extension-mcp.js"
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "bin",
39
+ "claude",
40
+ "README.md",
41
+ "CHANGELOG.md",
42
+ "LICENSE"
43
+ ],
44
+ "scripts": {
45
+ "clean": "rm -rf dist",
46
+ "watch": "rslib build --watch",
47
+ "compile": "rslib build",
48
+ "build": "pnpm run compile",
49
+ "start": "node bin/extension-mcp.js",
50
+ "test": "vitest run",
51
+ "prepublishOnly": "pnpm run test && pnpm run compile"
52
+ },
53
+ "publishConfig": {
54
+ "access": "public",
55
+ "registry": "https://registry.npmjs.org"
56
+ },
57
+ "keywords": [
58
+ "mcp",
59
+ "model-context-protocol",
60
+ "browser-extension",
61
+ "extension.dev",
62
+ "browser-extension-development",
63
+ "extension-dev",
64
+ "claude",
65
+ "claude-code",
66
+ "ai-tools",
67
+ "webextension",
68
+ "cross-browser"
69
+ ],
70
+ "dependencies": {
71
+ "@modelcontextprotocol/sdk": "^1.12.1",
72
+ "extension-create": "3.17.0-canary.1779905761.f88ef01",
73
+ "extension-develop": "3.17.0-canary.1779905761.f88ef01",
74
+ "extension-install": "3.17.0-canary.1779905761.f88ef01",
75
+ "ws": "^8.20.0"
76
+ },
77
+ "devDependencies": {
78
+ "@rslib/core": "^0.19.4",
79
+ "@types/node": "^25.2.0",
80
+ "@types/ws": "^8.18.1",
81
+ "typescript": "6.0.2",
82
+ "vitest": "catalog:"
83
+ }
84
+ }