next2d-development-mcp 0.0.3 → 1.0.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,7 +1,7 @@
1
1
  # next2d-development-mcp
2
2
 
3
3
  <div align="center">
4
- <img src="https://next2d.app/assets/img/logo.svg" width="180" alt="Next2D">
4
+ <img src="https://github.com/Next2D/next2d-development-mcp/raw/main/icon.png" width="180" alt="Next2D">
5
5
  </div>
6
6
 
7
7
  [![UnitTest](https://github.com/Next2D/next2d-development-mcp/actions/workflows/integration.yml/badge.svg?branch=main)](https://github.com/Next2D/next2d-development-mcp/actions/workflows/integration.yml)
@@ -62,6 +62,18 @@ This MCP server provides the following capabilities to AI agents:
62
62
 
63
63
  ## AI エージェントへの追加方法 / AI Agent Setup
64
64
 
65
+ ### VS Code Marketplace(推奨 / Recommended)
66
+
67
+ VS Code Marketplace からワンクリックでインストールできます。
68
+ Install with one click from the VS Code Marketplace:
69
+
70
+ **[![Install in VS Code](https://img.shields.io/badge/Install%20in-VS%20Code-007ACC?logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=next2d.next2d-development-mcp)**
71
+
72
+ インストール後、GitHub Copilot Chat で `@next2d` を入力すると MCP ツールが利用可能になります。
73
+ After installation, MCP tools are available by typing `@next2d` in GitHub Copilot Chat.
74
+
75
+ ---
76
+
65
77
  ### GitHub Copilot (VS Code / VS Code Insiders)
66
78
 
67
79
  プロジェクトルートに `.vscode/mcp.json` を作成します。
@@ -343,8 +355,6 @@ ViewModel.constructor
343
355
  - [Next2D Animation Tool](https://tool.next2d.app/) — アニメーション作成ツール
344
356
  - [MCP Specification](https://modelcontextprotocol.io/) — Model Context Protocol 仕様
345
357
 
346
- ---
347
-
348
358
  ## License
349
359
 
350
360
  MIT
@@ -0,0 +1,4 @@
1
+ import * as vscode from "vscode";
2
+ export declare function activate(context: vscode.ExtensionContext): void;
3
+ export declare function deactivate(): void;
4
+ //# sourceMappingURL=extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,gBAAgB,GAAG,IAAI,CAoB/D;AAED,wBAAgB,UAAU,IAAI,IAAI,CAAgB"}
@@ -0,0 +1,16 @@
1
+ import * as vscode from "vscode";
2
+ export function activate(context) {
3
+ context.subscriptions.push(vscode.lm.registerMcpServerDefinitionProvider("next2d-development-mcp", {
4
+ provideMcpServerDefinitions() {
5
+ const serverPath = context.asAbsolutePath("dist/index.js");
6
+ return [
7
+ new vscode.McpStdioServerDefinition("Next2D Development MCP", process.execPath, [serverPath])
8
+ ];
9
+ },
10
+ resolveMcpServerDefinition(server) {
11
+ return server;
12
+ }
13
+ }));
14
+ }
15
+ export function deactivate() { }
16
+ //# sourceMappingURL=extension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,UAAU,QAAQ,CAAC,OAAgC;IACrD,OAAO,CAAC,aAAa,CAAC,IAAI,CACtB,MAAM,CAAC,EAAE,CAAC,mCAAmC,CAAC,wBAAwB,EAAE;QACpE,2BAA2B;YACvB,MAAM,UAAU,GAAG,OAAO,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;YAC3D,OAAO;gBACH,IAAI,MAAM,CAAC,wBAAwB,CAC/B,wBAAwB,EACxB,OAAO,CAAC,QAAQ,EAChB,CAAC,UAAU,CAAC,CACf;aACJ,CAAC;QACN,CAAC;QACD,0BAA0B,CACtB,MAAkC;YAElC,OAAO,MAAM,CAAC;QAClB,CAAC;KACJ,CAAC,CACL,CAAC;AACN,CAAC;AAED,MAAM,UAAU,UAAU,KAAuB,CAAC"}
package/icon.png ADDED
Binary file
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "next2d-development-mcp",
3
- "version": "0.0.3",
3
+ "displayName": "Next2D Development MCP",
4
+ "version": "1.0.0",
4
5
  "description": "MCP server for Next2D application development assistance",
5
6
  "type": "module",
6
7
  "author": "Toshiyuki Ienaga <ienaga@next2d.app>",
8
+ "publisher": "next2d",
7
9
  "license": "MIT",
8
10
  "homepage": "https://next2d.app",
9
11
  "bugs": "https://github.com/Next2D/next2d-development-mcp/issues",
12
+ "icon": "icon.png",
10
13
  "bin": {
11
14
  "next2d-development-mcp": "./dist/index.js"
12
15
  },
13
- "main": "./dist/index.js",
16
+ "main": "./dist/extension.js",
14
17
  "scripts": {
18
+ "vscode:prepublish": "npm run build",
15
19
  "build": "tsc && npm run copy-refs",
16
20
  "copy-refs": "node -e \"const fs=require('fs');const p=require('path');const roots=[p.join('next2d-development-assistant','skills','next2d-development-assistant','references'),p.join('next2d-development-assistant','.github','skills','references'),p.join('.github','skills','references')];const src=roots.find((dir)=>fs.existsSync(dir));if(!src){throw new Error('Reference directory not found. Expected next2d-development-assistant/skills/next2d-development-assistant/references');}const dst=p.join('dist','references');fs.mkdirSync(dst,{recursive:true});fs.readdirSync(src).filter((f)=>f.endsWith('.md')).forEach((f)=>fs.copyFileSync(p.join(src,f),p.join(dst,f)));console.log('Copied references from '+src+' to dist/references/');\"",
17
21
  "start": "node dist/index.js",
@@ -30,14 +34,29 @@
30
34
  "development-tools",
31
35
  "code-generation"
32
36
  ],
37
+ "categories": [
38
+ "AI",
39
+ "Other"
40
+ ],
41
+ "activationEvents": [],
42
+ "contributes": {
43
+ "mcpServerDefinitionProviders": [
44
+ {
45
+ "id": "next2d-development-mcp",
46
+ "label": "Next2D Development MCP"
47
+ }
48
+ ]
49
+ },
33
50
  "dependencies": {
34
51
  "@modelcontextprotocol/sdk": "^1.26.0"
35
52
  },
36
53
  "devDependencies": {
37
54
  "@eslint/js": "^10.0.1",
38
55
  "@types/node": "^25.3.0",
56
+ "@types/vscode": "^1.99.0",
39
57
  "@typescript-eslint/eslint-plugin": "^8.56.0",
40
58
  "@typescript-eslint/parser": "^8.56.0",
59
+ "@vscode/vsce": "^3.0.0",
41
60
  "eslint": "^10.0.1",
42
61
  "eslint-plugin-unused-imports": "^4.4.1",
43
62
  "globals": "^17.3.0",
@@ -45,10 +64,7 @@
45
64
  "vitest": "^4.0.18"
46
65
  },
47
66
  "engines": {
48
- "node": ">=22.0.0"
49
- },
50
- "files": [
51
- "dist",
52
- "README.md"
53
- ]
67
+ "node": ">=22.0.0",
68
+ "vscode": "^1.99.0"
69
+ }
54
70
  }