forked from juehang/vscode-mcp-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.5 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "vscode-mcp-server",
"icon": "media/logo.png",
"displayName": "vscode-mcp-server",
"description": "VS Code as a MCP server",
"version": "0.4.0",
"repository": "https://github.com/juehang/vscode-mcp-server",
"publisher": "JuehangQin",
"license": "MIT",
"engines": {
"vscode": "^1.99.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "MCP Server",
"properties": {
"vscode-mcp-server.port": {
"type": "number",
"default": 3000,
"minimum": 1024,
"maximum": 65535,
"description": "The port number for the MCP server"
},
"vscode-mcp-server.host": {
"type": "string",
"default": "127.0.0.1",
"description": "Host address for the MCP server"
},
"vscode-mcp-server.defaultEnabled": {
"type": "boolean",
"default": false,
"description": "Whether the MCP server should be enabled by default on VS Code startup"
},
"vscode-mcp-server.enabledTools": {
"type": "object",
"default": {
"file": true,
"edit": true,
"shell": true,
"diagnostics": true,
"symbol": true
},
"properties": {
"file": {
"type": "boolean",
"description": "Enable file operations tools (read, write, list files)"
},
"edit": {
"type": "boolean",
"description": "Enable file editing tools (create, edit, delete files)"
},
"shell": {
"type": "boolean",
"description": "Enable shell command execution tools"
},
"diagnostics": {
"type": "boolean",
"description": "Enable VS Code diagnostics tools"
},
"symbol": {
"type": "boolean",
"description": "Enable code symbol and structure analysis tools"
}
},
"description": "Configure which MCP tools are enabled"
}
}
},
"commands": [
{
"command": "vscode-mcp-server.helloWorld",
"title": "Hello World"
},
{
"command": "vscode-mcp-server.showServerInfo",
"title": "Show MCP Server Information"
},
{
"command": "vscode-mcp-server.toggleServer",
"title": "Toggle MCP Server"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"package": "vsce package"
},
"devDependencies": {
"@modelcontextprotocol/inspector": "github:modelcontextprotocol/inspector",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.13",
"@types/vscode": "^1.99.0",
"@typescript-eslint/eslint-plugin": "^8.28.0",
"@typescript-eslint/parser": "^8.28.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.6.0",
"eslint": "^9.23.0",
"proxyquire": "^2.1.3",
"sinon": "^16.1.1",
"typescript": "^5.8.2"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.10.1",
"@types/express": "^4.17.21",
"express": "^4.18.3",
"zod": "^3.22.4"
}
}