{
  "name": "ms365-mcp-server",
  "version": "2.1.0",
  "description": "Microsoft 365 MCP Server for managing Microsoft 365 email through natural language interactions with full OAuth2 authentication support",
  "main": "dist/index.js",
  "type": "module",
  "bin": {
    "ms365-mcp-server": "bin/cli.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/syia-ai/ms365-mcp-server"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org"
  },
  "scripts": {
    "test": "npx @modelcontextprotocol/inspector node dist/index.js",
    "build": "tsc",
    "start": "node dist/index.js",
    "dev": "tsx src/index.ts",
    "postinstall": "node install.js",
    "prepare": "chmod +x bin/cli.js && npm run build",
    "install-global": "npm install -g .",
    "postpublish": "echo 'Package published! Note: Users can test with: npx ms365-mcp-server --help'",
    "test-npx": "cd /tmp && npx -y ms365-mcp-server@latest --help",
    "version-bump": "node scripts/version-bump.js"
  },
  "keywords": [
    "mcp",
    "microsoft365",
    "outlook",
    "email",
    "office365",
    "graph-api",
    "oauth2"
  ],
  "license": "MIT",
  "dependencies": {
    "@azure/msal-node": "^2.6.6",
    "@microsoft/microsoft-graph-client": "^3.0.7",
    "@modelcontextprotocol/sdk": "^1.18.1",
    "@types/cors": "^2.8.19",
    "cors": "^2.8.5",
    "express": "^5.1.0",
    "isomorphic-fetch": "^3.0.0",
    "keytar": "^7.9.0",
    "mime-types": "^3.0.1",
    "open": "^10.2.0",
    "typescript": "^5.7.2"
  },
  "devDependencies": {
    "@types/express": "^5.0.3",
    "@types/isomorphic-fetch": "^0.0.36",
    "@types/mime-types": "^2.1.4",
    "@types/node": "^20.2.3",
    "ts-node": "^10.9.1",
    "tsx": "^4.19.4"
  },
  "files": [
    "bin/",
    "dist/",
    "README.md",
    "install.js"
  ],
  "engines": {
    "node": ">=18.0.0"
  }
}
