mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Add initial MCP server (#261898)
This commit is contained in:
committed by
GitHub
parent
e98a20f554
commit
4a653ec816
25
.vscode/tasks.json
vendored
25
.vscode/tasks.json
vendored
@@ -198,7 +198,13 @@
|
||||
"windows": {
|
||||
"command": ".\\scripts\\code-server.bat"
|
||||
},
|
||||
"args": ["--no-launch", "--connection-token", "dev-token", "--port", "8080"],
|
||||
"args": [
|
||||
"--no-launch",
|
||||
"--connection-token",
|
||||
"dev-token",
|
||||
"--port",
|
||||
"8080"
|
||||
],
|
||||
"label": "Run code server",
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
@@ -220,7 +226,12 @@
|
||||
"windows": {
|
||||
"command": ".\\scripts\\code-web.bat"
|
||||
},
|
||||
"args": ["--port", "8080", "--browser", "none"],
|
||||
"args": [
|
||||
"--port",
|
||||
"8080",
|
||||
"--browser",
|
||||
"none"
|
||||
],
|
||||
"label": "Run code web",
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
@@ -268,7 +279,6 @@
|
||||
"detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit"
|
||||
},
|
||||
{
|
||||
// Used for monaco editor playground launch config
|
||||
"label": "Launch Http Server",
|
||||
"type": "shell",
|
||||
"command": "node_modules/.bin/ts-node -T ./scripts/playground-server",
|
||||
@@ -286,6 +296,15 @@
|
||||
"dependsOn": [
|
||||
"Core - Build"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Launch MCP Server",
|
||||
"type": "shell",
|
||||
"command": "cd test/mcp && npm run compile && npm start",
|
||||
"isBackground": true,
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user