@sam2kb/m365-mcp 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +27 -11
- package/package.json +12 -3
- package/tsconfig.json +0 -19
package/SKILL.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: m365-mcp
|
|
3
3
|
description: Production-grade Microsoft 365 MCP server with delegated OAuth, multi-account support, pagination, rate limiting, and 38 tools covering email, calendar, contacts, OneDrive, Teams, tasks, and users.
|
|
4
|
+
metadata:
|
|
5
|
+
openclaw:
|
|
6
|
+
homepage: https://github.com/sam2kb/m365-mcp#readme
|
|
7
|
+
requires:
|
|
8
|
+
bins:
|
|
9
|
+
- m365-mcp
|
|
10
|
+
- m365-mcp-auth
|
|
11
|
+
install:
|
|
12
|
+
- kind: node
|
|
13
|
+
package: "@sam2kb/m365-mcp"
|
|
14
|
+
bins:
|
|
15
|
+
- m365-mcp
|
|
16
|
+
- m365-mcp-auth
|
|
4
17
|
---
|
|
5
18
|
|
|
6
19
|
# m365-mcp
|
|
@@ -16,44 +29,47 @@ Production-grade Microsoft 365 MCP server combining the best of office365-connec
|
|
|
16
29
|
## Capabilities
|
|
17
30
|
|
|
18
31
|
### Email (9 tools)
|
|
32
|
+
|
|
19
33
|
- List, read, send, reply, search, move, delete, mark read/unread, list folders
|
|
20
34
|
|
|
21
35
|
### Calendar (7 tools)
|
|
36
|
+
|
|
22
37
|
- List events, today view, week view, create (with Teams meeting), update, delete, free/busy
|
|
23
38
|
|
|
24
39
|
### Contacts (6 tools)
|
|
40
|
+
|
|
25
41
|
- List, search, read, create, update, delete
|
|
26
42
|
|
|
27
43
|
### OneDrive (5 tools)
|
|
44
|
+
|
|
28
45
|
- List files, search, read content, metadata, create folders
|
|
29
46
|
|
|
30
47
|
### Teams (3 tools)
|
|
48
|
+
|
|
31
49
|
- List chats, read messages, send messages
|
|
32
50
|
|
|
33
51
|
### Tasks (5 tools)
|
|
52
|
+
|
|
34
53
|
- List lists, list tasks, create, update, delete
|
|
35
54
|
|
|
36
55
|
### Users (3 tools)
|
|
56
|
+
|
|
37
57
|
- List org users, profile lookup, manager lookup
|
|
38
58
|
|
|
39
59
|
## Setup
|
|
40
60
|
|
|
61
|
+
ClawHub installs the prebuilt npm package automatically. For a manual install:
|
|
62
|
+
|
|
41
63
|
```bash
|
|
42
|
-
|
|
43
|
-
npm install
|
|
44
|
-
npm run build
|
|
64
|
+
npm install --global @sam2kb/m365-mcp
|
|
45
65
|
|
|
46
66
|
# Add account
|
|
47
|
-
|
|
67
|
+
m365-mcp-auth add work <tenantId> <clientId> you@company.com
|
|
48
68
|
|
|
49
69
|
# Authenticate
|
|
50
|
-
|
|
70
|
+
m365-mcp-auth login --account=work
|
|
51
71
|
```
|
|
52
72
|
|
|
53
|
-
Then configure as
|
|
54
|
-
|
|
55
|
-
See [README.md](README.md) for full Azure setup guide.
|
|
56
|
-
|
|
57
|
-
## License
|
|
73
|
+
Then configure `m365-mcp` as a stdio MCP server in your client.
|
|
58
74
|
|
|
59
|
-
|
|
75
|
+
See the [project README](https://github.com/sam2kb/m365-mcp#readme) for the full Azure setup guide.
|
package/package.json
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sam2kb/m365-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Production-grade Microsoft 365 MCP server — email, calendar, contacts, OneDrive, Teams, tasks, and users via delegated OAuth",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
".env.example",
|
|
10
|
+
"LICENSE",
|
|
11
|
+
"README.md",
|
|
12
|
+
"SKILL.md"
|
|
13
|
+
],
|
|
7
14
|
"bin": {
|
|
8
15
|
"m365-mcp": "dist/index.js",
|
|
9
16
|
"m365-mcp-auth": "dist/auth-cli.js"
|
|
10
17
|
},
|
|
11
18
|
"scripts": {
|
|
12
|
-
"
|
|
19
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
20
|
+
"build": "npm run clean && tsc",
|
|
21
|
+
"prepack": "npm run build",
|
|
13
22
|
"start": "node dist/index.js",
|
|
14
23
|
"dev": "tsx src/index.ts",
|
|
15
24
|
"auth": "tsx src/auth-cli.ts",
|
|
@@ -28,7 +37,7 @@
|
|
|
28
37
|
"license": "MIT",
|
|
29
38
|
"repository": {
|
|
30
39
|
"type": "git",
|
|
31
|
-
"url": "https://github.com/sam2kb/m365-mcp"
|
|
40
|
+
"url": "git+https://github.com/sam2kb/m365-mcp.git"
|
|
32
41
|
},
|
|
33
42
|
"publishConfig": {
|
|
34
43
|
"access": "public"
|
package/tsconfig.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"module": "NodeNext",
|
|
5
|
-
"moduleResolution": "NodeNext",
|
|
6
|
-
"outDir": "./dist",
|
|
7
|
-
"rootDir": "./src",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"declaration": true,
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"types": ["node"]
|
|
16
|
-
},
|
|
17
|
-
"include": ["src/**/*"],
|
|
18
|
-
"exclude": ["node_modules", "dist", "src/__tests__"]
|
|
19
|
-
}
|