@softeria/ms-365-mcp-server 0.2.0 → 0.2.2
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/README.md +28 -14
- package/bin/release.mjs +27 -0
- package/package.json +1 -1
- package/src/auth.mjs +0 -3
package/README.md
CHANGED
|
@@ -7,6 +7,12 @@ A Model Context Protocol (MCP) server for interacting with Microsoft 365 service
|
|
|
7
7
|
[](https://github.com/softeria-eu/ms-365-mcp-server/actions/workflows/build.yml)
|
|
8
8
|
[](https://www.npmjs.com/package/@softeria/ms-365-mcp-server)
|
|
9
9
|
|
|
10
|
+
## Quick Start Example
|
|
11
|
+
|
|
12
|
+
Login and test authentication in Claude Desktop:
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
10
16
|
## Features
|
|
11
17
|
|
|
12
18
|
- Authentication using Microsoft Authentication Library (MSAL)
|
|
@@ -28,14 +34,6 @@ npx @softeria/ms-365-mcp-server
|
|
|
28
34
|
|
|
29
35
|
## Integration with Claude
|
|
30
36
|
|
|
31
|
-
### Claude Code CLI
|
|
32
|
-
|
|
33
|
-
To add this MCP server to Claude Code CLI:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
claude mcp add ms -- npx @softeria/ms-365-mcp-server
|
|
37
|
-
```
|
|
38
|
-
|
|
39
37
|
### Claude Desktop
|
|
40
38
|
|
|
41
39
|
To add this MCP server to Claude Desktop:
|
|
@@ -48,17 +46,32 @@ To add this MCP server to Claude Desktop:
|
|
|
48
46
|
- Command: `npx @softeria/ms-365-mcp-server`
|
|
49
47
|
- Click "Add"
|
|
50
48
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
You can also use this configuration JSON in compatible Claude interfaces:
|
|
49
|
+
Alternatively, you can edit Claude Desktop's configuration file directly. The location varies by platform, but you can
|
|
50
|
+
find it by going to Settings > Developer > Edit Config. Add this to your configuration file:
|
|
54
51
|
|
|
55
52
|
```json
|
|
56
53
|
{
|
|
57
|
-
"
|
|
58
|
-
|
|
54
|
+
"mcpServers": {
|
|
55
|
+
"ms": {
|
|
56
|
+
"command": "npx",
|
|
57
|
+
"args": [
|
|
58
|
+
"-y",
|
|
59
|
+
"@softeria/ms-365-mcp-server"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
59
63
|
}
|
|
60
64
|
```
|
|
61
65
|
|
|
66
|
+
### Using Claude Code CLI
|
|
67
|
+
|
|
68
|
+
Claude Code CLI integration is available but configuration methods may vary based on the current version. Please refer
|
|
69
|
+
to the [official Claude Code documentation](https://github.com/anthropics/claude-code) for the most up-to-date
|
|
70
|
+
instructions on adding MCP servers.
|
|
71
|
+
|
|
72
|
+
For other Claude interfaces that support MCPs, please refer to their respective documentation for the correct
|
|
73
|
+
integration method.
|
|
74
|
+
|
|
62
75
|
## Development
|
|
63
76
|
|
|
64
77
|
### Setup
|
|
@@ -240,4 +253,5 @@ Tools for working with Outlook calendars.
|
|
|
240
253
|
Tools for working with Outlook email.
|
|
241
254
|
|
|
242
255
|
- `list-messages`: List emails from any mail folder with powerful filtering, searching, and sorting options
|
|
243
|
-
- `get-message`: Get detailed information about a specific email message with options to include attachments and other
|
|
256
|
+
- `get-message`: Get detailed information about a specific email message with options to include attachments and other
|
|
257
|
+
metadata
|
package/bin/release.mjs
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
import { execSync } from 'child_process';
|
|
4
4
|
import fs from 'fs';
|
|
5
5
|
|
|
6
|
+
try {
|
|
7
|
+
const currentBranch = execSync('git rev-parse --abbrev-ref HEAD').toString().trim();
|
|
8
|
+
if (currentBranch !== 'main') {
|
|
9
|
+
console.error(
|
|
10
|
+
`Error: You must be on the 'main' branch to create a release. Current branch: ${currentBranch}`
|
|
11
|
+
);
|
|
12
|
+
process.exit(1);
|
|
13
|
+
}
|
|
14
|
+
} catch (error) {
|
|
15
|
+
console.error('Failed to determine current git branch:', error.message);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
try {
|
|
20
|
+
const changes = execSync('git status --porcelain').toString();
|
|
21
|
+
if (changes.length > 0) {
|
|
22
|
+
console.error(
|
|
23
|
+
'Error: You have uncommitted changes. Please commit or stash them before creating a release.'
|
|
24
|
+
);
|
|
25
|
+
console.error(changes);
|
|
26
|
+
process.exit(1);
|
|
27
|
+
}
|
|
28
|
+
} catch (error) {
|
|
29
|
+
console.error('Failed to check git status:', error.message);
|
|
30
|
+
process.exit(1);
|
|
31
|
+
}
|
|
32
|
+
|
|
6
33
|
const args = process.argv.slice(2);
|
|
7
34
|
const releaseType = args[0] || 'patch';
|
|
8
35
|
|
package/package.json
CHANGED
package/src/auth.mjs
CHANGED