@mindstone/mcp-server-microsoft-teams 0.1.0 → 0.1.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/CHANGELOG.md +7 -0
- package/README.md +139 -20
- package/dist/teams.d.ts.map +1 -1
- package/dist/teams.js +23 -8
- package/dist/teams.js.map +1 -1
- package/package.json +3 -3
- package/server.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this connector will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.1.1] - 2026-05-19
|
|
8
|
+
|
|
9
|
+
### Documentation
|
|
10
|
+
|
|
11
|
+
- Rewrote `README.md` to follow the structure in [`docs/CONNECTOR_README_GUIDE.md`](../../docs/CONNECTOR_README_GUIDE.md): added npm-version and licence badges, an italic positioning line, the `## Status` block with hyperlinked evidence and `Hosts tested` / `Machine-readable` rows, a `## Why this exists` section, an `## Example interaction` block, `## Requirements`, `## Quick Start` (three blocks), `## Configuration` (required + optional env-var tables), `## Host configuration examples` (Claude Desktop / Cursor and local development), the `(7)` tool count in the `## Tools` heading, and a `## Security notes` section.
|
|
12
|
+
- Added the connector to the table in the repo-root `README.md`.
|
|
13
|
+
|
|
7
14
|
## [0.1.0] - 2026-05-19
|
|
8
15
|
|
|
9
16
|
### Added
|
package/README.md
CHANGED
|
@@ -1,35 +1,154 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @mindstone/mcp-server-microsoft-teams
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@mindstone/mcp-server-microsoft-teams)
|
|
4
|
+
[](./LICENSE)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
Microsoft 365 Teams MCP server — list and read Teams chats, send chat messages, list teams and channels, and read presence via the Microsoft Graph API.
|
|
7
|
+
|
|
8
|
+
*Cohort-style Microsoft 365 Teams MCP. Reuses the OAuth surface owned by [`@mindstone/mcp-server-microsoft-mail`](../microsoft-mail/) so the host signs in once and gets Teams plus mail plus calendar plus files plus SharePoint from the same credentials.*
|
|
9
|
+
|
|
10
|
+
## Status
|
|
11
|
+
|
|
12
|
+
- **Version:** [0.1.1](./CHANGELOG.md) · [npm](https://www.npmjs.com/package/@mindstone/mcp-server-microsoft-teams)
|
|
13
|
+
- **Auth:** OAuth (host-orchestrated, shared with [`mcp-server-microsoft-mail`](../microsoft-mail/)) ([`MS_CLIENT_ID`](./server.json))
|
|
14
|
+
- **Tools:** [7](./src/tools.ts) (chats, messages, teams, channels, presence)
|
|
15
|
+
- **Surface:** cloud-api
|
|
16
|
+
- **Hosts tested:** Mindstone Rebel
|
|
17
|
+
- **Machine-readable:** [`STATUS.json`](./STATUS.json)
|
|
18
|
+
- **Shared library:** [`@mindstone/mcp-server-microsoft-shared`](https://www.npmjs.com/package/@mindstone/mcp-server-microsoft-shared)
|
|
19
|
+
|
|
20
|
+
## Why this exists
|
|
21
|
+
|
|
22
|
+
When we ported this in May 2026, Microsoft's own [Graph MCP](https://github.com/microsoft/mcp) lineup did not yet ship a stand-alone Teams server, and the community options at the time treated Teams as its own login surface — every connector ran a separate OAuth dance and stored its own copy of the refresh token. We pulled the bundled connector out of MindstoneRebel as a 1:1 port so that the same five-connector Microsoft 365 cohort (mail, calendar, files, teams, SharePoint) shares a single set of credentials, a single shared-library package for token persistence and request timeouts, and the structured `auth_required` envelope the host already knows how to recover from. Teams reuses [`@mindstone/mcp-server-microsoft-mail`](../microsoft-mail/)'s `authenticate_microsoft_account` tool rather than declaring its own. Some Teams Graph APIs may require tenant admin approval — see Microsoft's [Teams Graph docs](https://learn.microsoft.com/en-us/graph/teams-concept-overview).
|
|
23
|
+
|
|
24
|
+
## Example interaction
|
|
25
|
+
|
|
26
|
+
> "Show me my last 10 messages in the project chat with Alice and Bob."
|
|
27
|
+
|
|
28
|
+
Tools the host calls:
|
|
29
|
+
1. `list_chats` — filters chats by participants `alice@example.com` and `bob@example.com`.
|
|
30
|
+
2. `list_chat_messages` — returns the latest 10 messages from the resolved chat ID.
|
|
31
|
+
|
|
32
|
+
Response (trimmed):
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"chat": {
|
|
37
|
+
"id": "19:meeting_...@thread.v2",
|
|
38
|
+
"topic": "Project planning",
|
|
39
|
+
"members": ["alice@example.com", "bob@example.com"]
|
|
40
|
+
},
|
|
41
|
+
"messages": [
|
|
42
|
+
{ "id": "171...", "from": "Alice", "body": "Pushed the updated forecast", "createdDateTime": "2026-05-19T08:42:00Z" }
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Requirements
|
|
48
|
+
|
|
49
|
+
- Node.js 20+
|
|
50
|
+
- npm
|
|
51
|
+
- A host application that performs the Microsoft OAuth flow and writes per-account token files into `${MS_CONFIG_DIR}/credentials/${sanitised-email}.token.json` and an `${MS_CONFIG_DIR}/accounts.json` index. This server reads those files; it does not initiate OAuth itself.
|
|
52
|
+
|
|
53
|
+
## Quick Start
|
|
54
|
+
|
|
55
|
+
### Install & build
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
cd <path-to-repo>/connectors/microsoft-teams
|
|
59
|
+
npm install
|
|
60
|
+
npm run build
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### npx (once published)
|
|
6
64
|
|
|
7
65
|
```bash
|
|
8
66
|
npx -y @mindstone/mcp-server-microsoft-teams
|
|
9
67
|
```
|
|
10
68
|
|
|
69
|
+
### Local
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
node dist/index.js
|
|
73
|
+
```
|
|
74
|
+
|
|
11
75
|
## Configuration
|
|
12
76
|
|
|
13
|
-
This server
|
|
77
|
+
This server runs alongside a host application that owns the Microsoft 365 OAuth flow. The host writes credentials to disk; this server reads them.
|
|
78
|
+
|
|
79
|
+
### Required environment variables
|
|
14
80
|
|
|
15
|
-
|
|
|
16
|
-
|
|
17
|
-
| `MS_CLIENT_ID` |
|
|
18
|
-
| `MS_CONFIG_DIR` |
|
|
19
|
-
| `MS_ACCOUNT_EMAIL` | no | Account email for multi-account mode |
|
|
20
|
-
| `MS_MCP_PACKAGE_ID` | no | Logical package ID in recovery responses |
|
|
21
|
-
| `MICROSOFT_REQUEST_TIMEOUT_MS` | no | Upstream Graph timeout in milliseconds, max 300000 |
|
|
81
|
+
| Name | Description |
|
|
82
|
+
| ---- | ----------- |
|
|
83
|
+
| `MS_CLIENT_ID` | Microsoft Entra (Azure AD) application client ID. |
|
|
84
|
+
| `MS_CONFIG_DIR` | Path to the per-user Microsoft config directory (`credentials/`, `accounts.json`). |
|
|
22
85
|
|
|
23
|
-
|
|
86
|
+
### Optional environment variables
|
|
87
|
+
|
|
88
|
+
| Name | Description | Default |
|
|
89
|
+
| ---- | ----------- | ------- |
|
|
90
|
+
| `MS_ACCOUNT_EMAIL` | Account email when running in multi-account per-instance mode. | First account in `accounts.json`. |
|
|
91
|
+
| `MS_MCP_PACKAGE_ID` | Logical package ID surfaced in error responses. | `Microsoft365Teams` |
|
|
92
|
+
| `MICROSOFT_REQUEST_TIMEOUT_MS` | Override the upstream Microsoft Graph request timeout (max `300000` ms). | `60000` |
|
|
93
|
+
| `MICROSOFT_DISABLE_REFRESH` | Set to `1` to disable token refresh on this surface. Tools fail closed with the structured `auth_required` response so the host can drive reauth. Cloud surfaces set this to `1`. | unset |
|
|
94
|
+
|
|
95
|
+
## Host configuration examples
|
|
96
|
+
|
|
97
|
+
### Claude Desktop / Cursor
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{
|
|
101
|
+
"mcpServers": {
|
|
102
|
+
"Microsoft365Teams": {
|
|
103
|
+
"command": "npx",
|
|
104
|
+
"args": ["-y", "@mindstone/mcp-server-microsoft-teams"],
|
|
105
|
+
"env": {
|
|
106
|
+
"MS_CLIENT_ID": "your-entra-application-client-id",
|
|
107
|
+
"MS_CONFIG_DIR": "/absolute/path/to/microsoft-config"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Sign in via [`@mindstone/mcp-server-microsoft-mail`](../microsoft-mail/)'s `authenticate_microsoft_account` first; the Teams tools then reuse the credentials it writes to `${MS_CONFIG_DIR}/`.
|
|
115
|
+
|
|
116
|
+
### Local development (no npm publish needed)
|
|
117
|
+
|
|
118
|
+
```json
|
|
119
|
+
{
|
|
120
|
+
"mcpServers": {
|
|
121
|
+
"Microsoft365Teams": {
|
|
122
|
+
"command": "node",
|
|
123
|
+
"args": ["<path-to-repo>/connectors/microsoft-teams/dist/index.js"],
|
|
124
|
+
"env": {
|
|
125
|
+
"MS_CLIENT_ID": "your-entra-application-client-id",
|
|
126
|
+
"MS_CONFIG_DIR": "/absolute/path/to/microsoft-config"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Tools (7)
|
|
24
134
|
|
|
25
135
|
| Tool | Description |
|
|
26
|
-
|
|
27
|
-
| `list_chats` | List recent Teams chats |
|
|
28
|
-
| `get_chat` | Get details about a specific chat |
|
|
29
|
-
| `list_chat_messages` | List recent messages from a chat |
|
|
30
|
-
| `send_chat_message` | Send a message to a chat |
|
|
31
|
-
| `list_teams` | List
|
|
32
|
-
| `list_channels` | List channels in a team |
|
|
33
|
-
| `get_presence` | Get your current presence status |
|
|
136
|
+
| ---- | ----------- |
|
|
137
|
+
| `list_chats` | List recent Teams chats. |
|
|
138
|
+
| `get_chat` | Get details about a specific chat. |
|
|
139
|
+
| `list_chat_messages` | List recent messages from a chat. |
|
|
140
|
+
| `send_chat_message` | Send a message to a chat. |
|
|
141
|
+
| `list_teams` | List teams you are a member of. |
|
|
142
|
+
| `list_channels` | List channels in a team. |
|
|
143
|
+
| `get_presence` | Get your current presence status. |
|
|
34
144
|
|
|
35
145
|
Some Teams Graph APIs may require tenant admin approval.
|
|
146
|
+
|
|
147
|
+
## Security notes
|
|
148
|
+
|
|
149
|
+
- No authentication tool of its own; sign-in is delegated to [`@mindstone/mcp-server-microsoft-mail`](../microsoft-mail/) so the cohort has a single OAuth surface.
|
|
150
|
+
- Per-tool Graph calls run under a composed caller + cohort timeout signal.
|
|
151
|
+
|
|
152
|
+
## Licence
|
|
153
|
+
|
|
154
|
+
[FSL-1.1-MIT](./LICENSE) — Functional Source License, Version 1.1, with MIT future licence. Free for non-competing use; relicenses to MIT on the converter date in `LICENSE`.
|
package/dist/teams.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../src/teams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAExF,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;gBAEd,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAK9C;AAMD,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../src/teams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAExF,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;gBAEd,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAK9C;AAMD,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AA8EtC,wBAAsB,SAAS,CAC7B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,CA0BlB;AAED,wBAAsB,OAAO,CAC3B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,CAoBlB;AAED,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,CAgBlB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,CAelB;AAwBD,wBAAsB,SAAS,CAC7B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,CAgBlB;AAED,wBAAsB,YAAY,CAChC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,CAalB;AAYD,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,OAAO,CAAC,CAOlB"}
|
package/dist/teams.js
CHANGED
|
@@ -27,15 +27,30 @@ function clampTop(value, defaultValue, maxValue) {
|
|
|
27
27
|
return defaultValue;
|
|
28
28
|
return Math.max(1, Math.min(value, maxValue));
|
|
29
29
|
}
|
|
30
|
+
const HTML_ENTITIES = {
|
|
31
|
+
' ': ' ',
|
|
32
|
+
'&': '&',
|
|
33
|
+
'<': '<',
|
|
34
|
+
'>': '>',
|
|
35
|
+
'"': '"',
|
|
36
|
+
};
|
|
37
|
+
const TAG_RE = /<[^>]*>/g;
|
|
38
|
+
const ENTITY_RE = /&(?:nbsp|amp|lt|gt|quot);/g;
|
|
39
|
+
// Strip HTML for plain-text display of Teams chat message bodies. The output
|
|
40
|
+
// is always wrapped in an `<untrusted-content>` envelope by the host, so this
|
|
41
|
+
// is a presentation helper, not a security sanitiser. Runs the tag-strip pass
|
|
42
|
+
// in a fixed-point loop so a payload like `<scr<script>ipt>` cannot leave a
|
|
43
|
+
// reconstructed `<script>` behind after a single pass; decodes the five named
|
|
44
|
+
// entities in a single regex pass (lookup-map driven) so a doubly-encoded
|
|
45
|
+
// `&lt;` is not double-unescaped into `<`.
|
|
30
46
|
function stripHtml(html) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.replace(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.trim();
|
|
47
|
+
let previous = '';
|
|
48
|
+
let current = html;
|
|
49
|
+
while (current !== previous) {
|
|
50
|
+
previous = current;
|
|
51
|
+
current = current.replace(TAG_RE, '');
|
|
52
|
+
}
|
|
53
|
+
return current.replace(ENTITY_RE, (match) => HTML_ENTITIES[match] ?? match).trim();
|
|
39
54
|
}
|
|
40
55
|
function requireStringArg(args, name, label, nextStep) {
|
|
41
56
|
const value = stringArg(args, name);
|
package/dist/teams.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teams.js","sourceRoot":"","sources":["../src/teams.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAClC,QAAQ,CAAS;IAE1B,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,oBAAoB,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF;AAQD,SAAS,SAAS,CAAC,IAAY,EAAE,GAAG,KAAe;IACjD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;QACzB,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE;YAAE,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;IACrE,CAAC;I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,MAAmB;IAEnB,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,CAAC,CAAC;IAC5E,MAAM,QAAQ,GAAG,CAAC,MAAM,MAAM;SAC3B,GAAG,CAAC,UAAU,MAAM,WAAW,CAAC;SAChC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;SACnB,MAAM,CAAC,2CAA2C,CAAC;SACnD,GAAG,EAAE,CAAwB,CAAC;IACjC,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC;IACtC,OAAO;QACL,MAAM;QACN,KAAK,EAAE,QAAQ,CAAC,MAAM;QACtB,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC;KACtC,CAAC;AACJ,CAAC;AAYD,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,MAAc,EACd,KAAa,EACb,MAAmB;IAEnB,MAAM,QAAQ,GAAG,CAAC,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,CAAa,CAAC;IAC1F,OAAO;QACL,YAAY,EAAE,QAAQ,CAAC,YAAY;QACnC,QAAQ,EAAE,QAAQ,CAAC,QAAQ;QAC3B,aAAa,EAAE,QAAQ,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO;KACxD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindstone/mcp-server-microsoft-teams",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"mcpName": "io.github.mindstone/mcp-server-microsoft-teams",
|
|
5
|
-
"description": "Microsoft 365 Teams
|
|
5
|
+
"description": "Microsoft 365 Teams via Graph: list chats, read/send messages, list teams/channels, presence.",
|
|
6
6
|
"license": "FSL-1.1-MIT",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bin": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"security:internal-refs": "node scripts/check-internal-refs.mjs"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@mindstone/mcp-server-microsoft-shared": "
|
|
39
|
+
"@mindstone/mcp-server-microsoft-shared": "0.1.0",
|
|
40
40
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
41
41
|
"zod": "^3.23.0"
|
|
42
42
|
},
|
package/server.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.mindstone/mcp-server-microsoft-teams",
|
|
4
4
|
"title": "Microsoft 365 Teams",
|
|
5
|
-
"description": "Microsoft 365 Teams
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"description": "Microsoft 365 Teams via Graph: list chats, read/send messages, list teams/channels, presence.",
|
|
6
|
+
"version": "0.1.1",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/mindstone/mcp-servers",
|
|
9
9
|
"source": "github",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
16
|
"identifier": "@mindstone/mcp-server-microsoft-teams",
|
|
17
|
-
"version": "0.1.
|
|
17
|
+
"version": "0.1.1",
|
|
18
18
|
"runtimeHint": "npx",
|
|
19
19
|
"transport": {
|
|
20
20
|
"type": "stdio"
|