Skip to main content
Glama

Electron MCP Server

by halilural
webpack.config.tsโ€ข758 B
import path from 'path'; import { Configuration } from 'webpack'; import nodeExternals from 'webpack-node-externals'; const config: Configuration = { target: 'node', mode: 'production', entry: './src/index.ts', output: { path: path.resolve(process.cwd(), 'dist'), filename: 'index.js', clean: true, }, resolve: { extensions: ['.ts', '.js'], modules: ['node_modules', 'src'], }, externals: [nodeExternals({ allowlist: [/@modelcontextprotocol\/.*/] })], module: { rules: [ { test: /\.ts$/, use: 'ts-loader', exclude: /node_modules/, }, ], }, optimization: { minimize: false, // Keep readable for debugging }, devtool: 'source-map', }; export default config;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/halilural/electron-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server