package.json•1.93 kB
{
"name": "electron-mcp-server",
"version": "1.0.0",
"description": "Electron application with built-in MCP server using Streamable HTTP",
"main": "src/main.js",
"type": "module",
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"build": "electron-builder",
"build:win": "electron-builder --win",
"build:mac": "electron-builder --mac",
"build:linux": "electron-builder --linux",
"postinstall": "electron-builder install-app-deps"
},
"keywords": [
"electron",
"mcp",
"model-context-protocol",
"streamable-http",
"localhost"
],
"author": "Your Name",
"license": "MIT",
"devDependencies": {
"electron": "^28.0.0",
"electron-builder": "^24.9.1"
},
"dependencies": {
"express": "^4.18.2",
"@modelcontextprotocol/sdk": "^0.5.0",
"cors": "^2.8.5"
},
"build": {
"appId": "com.electron-mcp.server",
"productName": "Electron MCP Server",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"public/**/*",
"package.json"
],
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
},
{
"target": "portable",
"arch": ["x64"]
}
],
"requestedExecutionLevel": "asInvoker",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"publish": null,
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Electron MCP Server"
},
"portable": {
"artifactName": "${productName}-${version}-portable.exe"
},
"mac": {
"target": "dmg",
"icon": "build/icon.icns"
},
"linux": {
"target": "AppImage",
"icon": "build/icon.png"
},
"extraResources": [
"README.md"
]
}
}