@softeria/ms-365-mcp-server
Version:
A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API
31 lines (29 loc) • 598 B
text/typescript
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/**/*.ts', 'src/endpoints.json'],
format: ['esm'],
target: 'es2020',
outDir: 'dist',
clean: true,
bundle: false,
splitting: false,
sourcemap: false,
dts: false,
publicDir: false,
onSuccess: process.platform === 'win32' ? undefined : 'chmod +x dist/index.js',
loader: {
'.json': 'copy',
},
noExternal: [],
external: [
'@azure/msal-node',
'@modelcontextprotocol/sdk',
'commander',
'dotenv',
'express',
'js-yaml',
'keytar',
'winston',
'zod',
],
});