@chrischall/microsoft-teams-mcp 0.15.0 → 0.15.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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +11 -8
- package/dist/browser-open.js +33 -12
- package/dist/bundle.js +18 -9
- package/dist/tools/attachment.js +1 -1
- package/dist/version.js +1 -1
- package/mint.yaml +7 -0
- package/package.json +1 -1
- package/server.json +11 -4
- package/skills/teams-fpx/SKILL.md +2 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "MCP server for Microsoft Teams — read any chat or channel, your unread messages, and their attachments, and send messages and reactions (each confirmed first)",
|
|
10
|
-
"version": "0.15.
|
|
10
|
+
"version": "0.15.1"
|
|
11
11
|
},
|
|
12
12
|
"plugins": [
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"displayName": "Microsoft Teams",
|
|
16
16
|
"source": "./",
|
|
17
17
|
"description": "MCP server for Microsoft Teams — read any chat or channel, your unread messages, and their attachments, and send messages and reactions (each confirmed first), via your signed-in browser session",
|
|
18
|
-
"version": "0.15.
|
|
18
|
+
"version": "0.15.1",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microsoft-teams-mcp",
|
|
3
3
|
"displayName": "Microsoft Teams",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.1",
|
|
5
5
|
"description": "Microsoft Teams for Claude — read any chat or channel, your unread messages, and their attachments, and send messages and reactions (each confirmed first), using your signed-in browser session",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Chris Hall",
|
package/README.md
CHANGED
|
@@ -52,7 +52,8 @@ Three things make the window easier to hit:
|
|
|
52
52
|
you the chance to act in time.
|
|
53
53
|
- **A Teams tab opened for you (local installs).** On a local install, as a
|
|
54
54
|
chat-service capture starts the server opens `https://teams.cloud.microsoft/`
|
|
55
|
-
in
|
|
55
|
+
in your default browser (or the one `TEAMS_BROWSER` names — set it to the
|
|
56
|
+
browser the bridge runs in, e.g. `Microsoft Edge`); a loading Teams page lists
|
|
56
57
|
its chats through the chat service at once, inside the window, with no click
|
|
57
58
|
needed. At most one tab per 10 minutes; `TEAMS_OPEN_TEAMS_TAB=false` turns it
|
|
58
59
|
off. Never on a hosted install (the browser is not on the server's machine),
|
|
@@ -247,10 +248,11 @@ npm i -g @chrischall/microsoft-teams-mcp
|
|
|
247
248
|
Requires the **ContextMint Bridge** browser extension and `@fetchproxy/cli`,
|
|
248
249
|
on a matching major version. Install the bridge from
|
|
249
250
|
[its releases page](https://github.com/nullnet-app/contextmint-bridge/releases):
|
|
250
|
-
in Chrome, unzip the chrome zip and load it
|
|
251
|
-
(`chrome://extensions` → Developer mode → Load
|
|
252
|
-
available yet (it will ship inside the ContextMint app,
|
|
253
|
-
download)
|
|
251
|
+
in Chrome, Edge or another Chromium browser, unzip the chrome zip and load it
|
|
252
|
+
unpacked (`chrome://extensions` or `edge://extensions` → Developer mode → Load
|
|
253
|
+
unpacked). Safari isn't available yet (it will ship inside the ContextMint app,
|
|
254
|
+
which has no public download). If the bridge's browser is not your default
|
|
255
|
+
browser, set `TEAMS_BROWSER` to it so the tabs this server opens land there.
|
|
254
256
|
|
|
255
257
|
ContextMint Bridge is the fetchproxy browser extension under its new name,
|
|
256
258
|
from the same maintainer — fetchproxy's own README
|
|
@@ -296,8 +298,9 @@ Everything is optional — by default the token is captured from your browser.
|
|
|
296
298
|
| `TEAMS_CHATSVC_BASE` | Full override for the API base (default `https://teams.cloud.microsoft/api/chatsvc/<region>/v1`). |
|
|
297
299
|
| `TEAMS_CAPTURE_TIMEOUT` | Seconds to wait for the Teams tab to issue a chat-service request. Defaults to `30`. The bridge deadline is derived from it (window + 15s). |
|
|
298
300
|
| `TEAMS_TOKEN_CACHE` | `false` to keep the captured token in memory only. Defaults to on. |
|
|
299
|
-
| `TEAMS_OPEN_TEAMS_TAB` | `false` to never open the Teams web app in a browser tab when a chat-service token capture starts. Defaults to on for a local install: a capture only sees a request the Teams page makes while it waits, and a freshly loading Teams tab makes one at once, so `https://teams.cloud.microsoft/` opens in
|
|
300
|
-
| `TEAMS_OPEN_SIGNIN_TAB` | `false` to never open a shared file's link in a browser tab. Defaults to on: when a shared SharePoint file is on a host the browser has no session for (it gets SharePoint's sign-in page), the file's link opens
|
|
301
|
+
| `TEAMS_OPEN_TEAMS_TAB` | `false` to never open the Teams web app in a browser tab when a chat-service token capture starts. Defaults to on for a local install: a capture only sees a request the Teams page makes while it waits, and a freshly loading Teams tab makes one at once, so `https://teams.cloud.microsoft/` opens in your default browser (or `TEAMS_BROWSER`) at most once per 10 minutes. Never on a hosted install. |
|
|
302
|
+
| `TEAMS_OPEN_SIGNIN_TAB` | `false` to never open a shared file's link in a browser tab. Defaults to on: when a shared SharePoint file is on a host the browser has no session for (it gets SharePoint's sign-in page), the file's link opens once per host in your default browser (or `TEAMS_BROWSER`) so the browser signs in there, and the download is retried for up to 30s. The tab is left open. Local installs only. |
|
|
303
|
+
| `TEAMS_BROWSER` | The browser those tabs open in: the one the ContextMint Bridge runs in, when it is not your default browser (e.g. Edge at work). On macOS an app name (`Microsoft Edge`, `Google Chrome`); on Windows/Linux the browser's executable (full path, or a name on `PATH` such as `microsoft-edge`). Unset: the system default browser. Local installs only. |
|
|
301
304
|
| `TEAMS_UPLOAD_DIRS` | Folders (separated by `:`; `;` on Windows) that `attachments` may read local files from. Defaults to your home folder. Hidden files and folders, directories and symlinks are refused either way. Local installs only. |
|
|
302
305
|
| `TEAMS_ONEDRIVE_HOST` | Your OneDrive host (e.g. `contoso-my.sharepoint.com`), where files attached in a chat are uploaded. Defaults to the OneDrive host of a SharePoint host the server already knows (one a shared file was fetched from); set it if a send says it cannot tell which OneDrive to use. |
|
|
303
306
|
| `TEAMS_TOKEN_FILE` | Where the captured token is cached. Defaults to `~/.microsoft-teams-mcp/token.json`. |
|
|
@@ -604,7 +607,7 @@ Everything is optional — by default the token is captured from your browser.
|
|
|
604
607
|
file your account cannot open, or one that could not be fetched, comes back as
|
|
605
608
|
metadata and its open link instead of failing. On a local install, a file on
|
|
606
609
|
a SharePoint host the browser has not signed in to yet opens its link in a
|
|
607
|
-
|
|
610
|
+
browser tab — the default browser, or `TEAMS_BROWSER` — (once per host; the tab is left open, `TEAMS_OPEN_SIGNIN_TAB=false`
|
|
608
611
|
turns it off) and the download is retried. The caption names the
|
|
609
612
|
conversation beside its id (`title`, plus `participants` for an untitled
|
|
610
613
|
chat), titled as `teams_list_conversations` titles it.
|
package/dist/browser-open.js
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Only for a local install: the caller uses it only after the browser download
|
|
19
19
|
* has proven the browser runs on this machine (it read the file the browser
|
|
20
|
-
* saved). Off with `TEAMS_OPEN_SIGNIN_TAB=false`.
|
|
20
|
+
* saved). Off with `TEAMS_OPEN_SIGNIN_TAB=false`. It opens in the system default
|
|
21
|
+
* browser, or the one `TEAMS_BROWSER` names (the browser the bridge runs in).
|
|
21
22
|
*/
|
|
22
23
|
import { execFile } from 'node:child_process';
|
|
23
24
|
import { parseBoolEnv } from '@chrischall/mcp-utils';
|
|
@@ -27,21 +28,35 @@ const OPEN_TIMEOUT_MS = 10_000;
|
|
|
27
28
|
const runCommand = (file, args) => new Promise((resolve, reject) => {
|
|
28
29
|
execFile(file, args, { timeout: OPEN_TIMEOUT_MS, windowsHide: true }, (err) => (err ? reject(err) : resolve()));
|
|
29
30
|
});
|
|
31
|
+
/**
|
|
32
|
+
* The browser to open tabs in: `TEAMS_BROWSER`, trimmed — the one the
|
|
33
|
+
* ContextMint Bridge runs in, when that is not the system default (Edge at
|
|
34
|
+
* work, say). `undefined` when unset or blank: the default browser. `null`
|
|
35
|
+
* when it is unusable — a value starting with `-` would read as an option to
|
|
36
|
+
* `open` or the browser, so it switches the opener off rather than guess.
|
|
37
|
+
*/
|
|
38
|
+
function browserFrom(env) {
|
|
39
|
+
const raw = env.TEAMS_BROWSER?.trim();
|
|
40
|
+
if (raw === undefined || raw === '')
|
|
41
|
+
return undefined;
|
|
42
|
+
return raw.startsWith('-') ? null : raw;
|
|
43
|
+
}
|
|
30
44
|
/**
|
|
31
45
|
* The command that opens a url in a new browser tab on `platform`, or `null`
|
|
32
|
-
* when there is none.
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
46
|
+
* when there is none. With no `browser` it is the system default browser —
|
|
47
|
+
* never a named one, since the bridge may run in any Chromium browser (Chrome,
|
|
48
|
+
* Edge, …). With `browser` (from `TEAMS_BROWSER`) it is that one: an app name
|
|
49
|
+
* on macOS (`open -a`), else the browser's executable, run directly. Every form
|
|
50
|
+
* passes the url as ONE argument with no shell, so nothing in it is interpreted.
|
|
36
51
|
*/
|
|
37
|
-
function commandFor(platform, url) {
|
|
52
|
+
function commandFor(platform, url, browser) {
|
|
38
53
|
switch (platform) {
|
|
39
54
|
case 'darwin':
|
|
40
|
-
return ['open', ['-a',
|
|
55
|
+
return browser !== undefined ? ['open', ['-a', browser, url]] : ['open', [url]];
|
|
41
56
|
case 'linux':
|
|
42
|
-
return ['xdg-open', [url]];
|
|
57
|
+
return browser !== undefined ? [browser, [url]] : ['xdg-open', [url]];
|
|
43
58
|
case 'win32':
|
|
44
|
-
return ['rundll32', ['url.dll,FileProtocolHandler', url]];
|
|
59
|
+
return browser !== undefined ? [browser, [url]] : ['rundll32', ['url.dll,FileProtocolHandler', url]];
|
|
45
60
|
default:
|
|
46
61
|
return null;
|
|
47
62
|
}
|
|
@@ -66,14 +81,17 @@ export function browserOpener(opts = {}) {
|
|
|
66
81
|
const env = opts.env ?? process.env;
|
|
67
82
|
if (!parseBoolEnv('TEAMS_OPEN_SIGNIN_TAB', { env, default: true }))
|
|
68
83
|
return null;
|
|
84
|
+
const browser = browserFrom(env);
|
|
85
|
+
if (browser === null)
|
|
86
|
+
return null;
|
|
69
87
|
const platform = opts.platform ?? process.platform;
|
|
70
|
-
if (commandFor(platform, 'https://x.sharepoint.com/') === null)
|
|
88
|
+
if (commandFor(platform, 'https://x.sharepoint.com/', browser) === null)
|
|
71
89
|
return null;
|
|
72
90
|
const run = opts.run ?? runCommand;
|
|
73
91
|
return async (url) => {
|
|
74
92
|
if (!isOpenableSharePointUrl(url))
|
|
75
93
|
return false;
|
|
76
|
-
const [file, args] = commandFor(platform, url);
|
|
94
|
+
const [file, args] = commandFor(platform, url, browser);
|
|
77
95
|
try {
|
|
78
96
|
await run(file, args);
|
|
79
97
|
return true;
|
|
@@ -115,8 +133,11 @@ export function teamsTabNudger(opts = {}) {
|
|
|
115
133
|
return null;
|
|
116
134
|
if (parseBoolEnv('TEAMS_DISABLE_FETCHPROXY', { env }))
|
|
117
135
|
return null;
|
|
136
|
+
const browser = browserFrom(env);
|
|
137
|
+
if (browser === null)
|
|
138
|
+
return null;
|
|
118
139
|
const platform = opts.platform ?? process.platform;
|
|
119
|
-
const command = commandFor(platform, TEAMS_WEB_URL);
|
|
140
|
+
const command = commandFor(platform, TEAMS_WEB_URL, browser);
|
|
120
141
|
if (command === null)
|
|
121
142
|
return null;
|
|
122
143
|
const run = opts.run ?? runCommand;
|
package/dist/bundle.js
CHANGED
|
@@ -38668,7 +38668,7 @@ var init_version = __esm({
|
|
|
38668
38668
|
"src/version.ts"() {
|
|
38669
38669
|
"use strict";
|
|
38670
38670
|
PACKAGE_NAME = "microsoft-teams-mcp";
|
|
38671
|
-
VERSION = "0.15.
|
|
38671
|
+
VERSION = "0.15.1";
|
|
38672
38672
|
}
|
|
38673
38673
|
});
|
|
38674
38674
|
|
|
@@ -186733,14 +186733,19 @@ var OPEN_TIMEOUT_MS = 1e4;
|
|
|
186733
186733
|
var runCommand = (file2, args) => new Promise((resolve6, reject) => {
|
|
186734
186734
|
execFile(file2, args, { timeout: OPEN_TIMEOUT_MS, windowsHide: true }, (err2) => err2 ? reject(err2) : resolve6());
|
|
186735
186735
|
});
|
|
186736
|
-
function
|
|
186736
|
+
function browserFrom(env2) {
|
|
186737
|
+
const raw = env2.TEAMS_BROWSER?.trim();
|
|
186738
|
+
if (raw === void 0 || raw === "") return void 0;
|
|
186739
|
+
return raw.startsWith("-") ? null : raw;
|
|
186740
|
+
}
|
|
186741
|
+
function commandFor(platform, url2, browser) {
|
|
186737
186742
|
switch (platform) {
|
|
186738
186743
|
case "darwin":
|
|
186739
|
-
return ["open", ["-a",
|
|
186744
|
+
return browser !== void 0 ? ["open", ["-a", browser, url2]] : ["open", [url2]];
|
|
186740
186745
|
case "linux":
|
|
186741
|
-
return ["xdg-open", [url2]];
|
|
186746
|
+
return browser !== void 0 ? [browser, [url2]] : ["xdg-open", [url2]];
|
|
186742
186747
|
case "win32":
|
|
186743
|
-
return ["rundll32", ["url.dll,FileProtocolHandler", url2]];
|
|
186748
|
+
return browser !== void 0 ? [browser, [url2]] : ["rundll32", ["url.dll,FileProtocolHandler", url2]];
|
|
186744
186749
|
default:
|
|
186745
186750
|
return null;
|
|
186746
186751
|
}
|
|
@@ -186756,12 +186761,14 @@ function isOpenableSharePointUrl(url2) {
|
|
|
186756
186761
|
function browserOpener(opts = {}) {
|
|
186757
186762
|
const env2 = opts.env ?? process.env;
|
|
186758
186763
|
if (!parseBoolEnv("TEAMS_OPEN_SIGNIN_TAB", { env: env2, default: true })) return null;
|
|
186764
|
+
const browser = browserFrom(env2);
|
|
186765
|
+
if (browser === null) return null;
|
|
186759
186766
|
const platform = opts.platform ?? process.platform;
|
|
186760
|
-
if (commandFor(platform, "https://x.sharepoint.com/") === null) return null;
|
|
186767
|
+
if (commandFor(platform, "https://x.sharepoint.com/", browser) === null) return null;
|
|
186761
186768
|
const run = opts.run ?? runCommand;
|
|
186762
186769
|
return async (url2) => {
|
|
186763
186770
|
if (!isOpenableSharePointUrl(url2)) return false;
|
|
186764
|
-
const [file2, args] = commandFor(platform, url2);
|
|
186771
|
+
const [file2, args] = commandFor(platform, url2, browser);
|
|
186765
186772
|
try {
|
|
186766
186773
|
await run(file2, args);
|
|
186767
186774
|
return true;
|
|
@@ -186777,8 +186784,10 @@ function teamsTabNudger(opts = {}) {
|
|
|
186777
186784
|
if (isHostedEnv(env2)) return null;
|
|
186778
186785
|
if (!parseBoolEnv("TEAMS_OPEN_TEAMS_TAB", { env: env2, default: true })) return null;
|
|
186779
186786
|
if (parseBoolEnv("TEAMS_DISABLE_FETCHPROXY", { env: env2 })) return null;
|
|
186787
|
+
const browser = browserFrom(env2);
|
|
186788
|
+
if (browser === null) return null;
|
|
186780
186789
|
const platform = opts.platform ?? process.platform;
|
|
186781
|
-
const command = commandFor(platform, TEAMS_WEB_URL);
|
|
186790
|
+
const command = commandFor(platform, TEAMS_WEB_URL, browser);
|
|
186782
186791
|
if (command === null) return null;
|
|
186783
186792
|
const run = opts.run ?? runCommand;
|
|
186784
186793
|
const now = opts.now ?? Date.now;
|
|
@@ -194325,7 +194334,7 @@ function registerAttachmentTools(server, { chatsvc, sharepoint: sharepoint2 }) {
|
|
|
194325
194334
|
"teams_get_attachment",
|
|
194326
194335
|
{
|
|
194327
194336
|
title: "Get a Teams message attachment",
|
|
194328
|
-
description: `Fetch one attachment of a Teams chat or channel message, as listed by teams_list_messages / teams_list_unread_messages. ref names it: an inline image's ref (attachments.images[].ref) or a shared file's name (attachments.files[].name), matched ignoring case and spacing (a Unicode space such as the one macOS puts before AM/PM matches a plain one) and, for a file, with or without its extension. An inline image is returned as the image itself. A shared file is downloaded from SharePoint and returned as its contents: an image as the image, anything else as an embedded resource carrying the bytes. Anything over 10 MiB comes back instead as a signed, expiring download link (downloadUrl) on a hosted install, or saved to a fresh file (path) under ${EXPORT_OUTPUT_ENV}, else ~/Downloads/${EXPORT_SERVER_NAME}, on a local one; the caption's via says which. save: true does the same for any size \u2014 use it when the user wants the file itself rather than its contents read here. A shared PDF, Excel workbook or PowerPoint deck is also read for you (see convert): its Markdown, CSV or images come back with the original as a link or saved file, never inlined beside them; the caption's converted lists what came back, and a file that will not convert is handed over as above with the reason in conversion_error. The first download may need your Teams tab reloaded to capture a short-lived SharePoint token, which then serves every SharePoint host; a file your account cannot open, or one that could not be fetched, comes back as metadata and its open link instead of failing. On a local install, a file on a SharePoint host the browser has not signed in to yet opens its link in a
|
|
194337
|
+
description: `Fetch one attachment of a Teams chat or channel message, as listed by teams_list_messages / teams_list_unread_messages. ref names it: an inline image's ref (attachments.images[].ref) or a shared file's name (attachments.files[].name), matched ignoring case and spacing (a Unicode space such as the one macOS puts before AM/PM matches a plain one) and, for a file, with or without its extension. An inline image is returned as the image itself. A shared file is downloaded from SharePoint and returned as its contents: an image as the image, anything else as an embedded resource carrying the bytes. Anything over 10 MiB comes back instead as a signed, expiring download link (downloadUrl) on a hosted install, or saved to a fresh file (path) under ${EXPORT_OUTPUT_ENV}, else ~/Downloads/${EXPORT_SERVER_NAME}, on a local one; the caption's via says which. save: true does the same for any size \u2014 use it when the user wants the file itself rather than its contents read here. A shared PDF, Excel workbook or PowerPoint deck is also read for you (see convert): its Markdown, CSV or images come back with the original as a link or saved file, never inlined beside them; the caption's converted lists what came back, and a file that will not convert is handed over as above with the reason in conversion_error. The first download may need your Teams tab reloaded to capture a short-lived SharePoint token, which then serves every SharePoint host; a file your account cannot open, or one that could not be fetched, comes back as metadata and its open link instead of failing. On a local install, a file on a SharePoint host the browser has not signed in to yet opens its link in a browser tab \u2014 the default browser, or TEAMS_BROWSER \u2014 (once per host; the tab is left open) and the download is retried. The caption names the conversation beside its id: title (as teams_list_conversations names it \u2014 an untitled group chat by its participants, a 1:1 by the other person) and participants. Does not mark anything read.` + UNTRUSTED_DESCRIPTION_SUFFIX2,
|
|
194329
194338
|
annotations: toolAnnotations({ readOnly: true, openWorld: true }),
|
|
194330
194339
|
_meta: workMeta("other", { aliases: ["attachment", "image", "file", "screenshot"] }),
|
|
194331
194340
|
inputSchema: {
|
package/dist/tools/attachment.js
CHANGED
|
@@ -60,7 +60,7 @@ export function registerAttachmentTools(server, { chatsvc, sharepoint }) {
|
|
|
60
60
|
'The first download may need your Teams tab reloaded to capture a short-lived SharePoint token, which ' +
|
|
61
61
|
'then serves every SharePoint host; a file your account cannot open, or one that could not be fetched, ' +
|
|
62
62
|
'comes back as metadata and its open link instead of failing. On a local install, a file on a SharePoint ' +
|
|
63
|
-
'host the browser has not signed in to yet opens its link in a
|
|
63
|
+
'host the browser has not signed in to yet opens its link in a browser tab — the default browser, or TEAMS_BROWSER — (once per host; the tab is left ' +
|
|
64
64
|
'open) and the download is retried. The caption names the conversation beside ' +
|
|
65
65
|
'its id: title (as teams_list_conversations names it — an untitled group chat by its participants, a 1:1 ' +
|
|
66
66
|
'by the other person) and participants. Does not mark anything read.' +
|
package/dist/version.js
CHANGED
package/mint.yaml
CHANGED
|
@@ -73,6 +73,13 @@ env:
|
|
|
73
73
|
Set to 'false' to never open the Teams web app in a browser tab when a
|
|
74
74
|
token capture starts. Defaults to true on a local install; never used on
|
|
75
75
|
a hosted one (the browser is not on the server's machine).
|
|
76
|
+
- name: TEAMS_BROWSER
|
|
77
|
+
required: false
|
|
78
|
+
help: >-
|
|
79
|
+
The browser to open tabs in — the one the ContextMint Bridge runs in, if
|
|
80
|
+
it is not the default browser. macOS: an app name (Microsoft Edge);
|
|
81
|
+
Windows/Linux: the browser's executable. Unset: the default browser.
|
|
82
|
+
Local installs only.
|
|
76
83
|
- name: TEAMS_UPLOAD_DIRS
|
|
77
84
|
required: false
|
|
78
85
|
help: >-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrischall/microsoft-teams-mcp",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"mcpName": "io.github.chrischall/microsoft-teams-mcp",
|
|
5
5
|
"description": "Microsoft Teams MCP server for Claude — developed and maintained by AI (Claude Code)",
|
|
6
6
|
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/chrischall/microsoft-teams-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.15.
|
|
9
|
+
"version": "0.15.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "@chrischall/microsoft-teams-mcp",
|
|
14
|
-
"version": "0.15.
|
|
14
|
+
"version": "0.15.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
|
@@ -74,14 +74,21 @@
|
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "TEAMS_OPEN_SIGNIN_TAB",
|
|
77
|
-
"description": "Set to false to never open a shared file's link in a browser tab. Defaults to on: when a shared SharePoint file is on a host the browser has no session for, the file's link opens in
|
|
77
|
+
"description": "Set to false to never open a shared file's link in a browser tab. Defaults to on: when a shared SharePoint file is on a host the browser has no session for, the file's link opens once in your default browser (or TEAMS_BROWSER) so the browser signs in there, then the download is retried. The tab is left open.",
|
|
78
78
|
"isRequired": false,
|
|
79
79
|
"format": "string",
|
|
80
80
|
"isSecret": false
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"name": "TEAMS_OPEN_TEAMS_TAB",
|
|
84
|
-
"description": "Set to false to never open the Teams web app in a browser tab when a token capture starts. Defaults to on for a local install (never on a hosted one): a capture only sees a request the Teams page makes while it waits, and a freshly loading Teams tab makes one at once, so the server opens https://teams.cloud.microsoft/ in
|
|
84
|
+
"description": "Set to false to never open the Teams web app in a browser tab when a token capture starts. Defaults to on for a local install (never on a hosted one): a capture only sees a request the Teams page makes while it waits, and a freshly loading Teams tab makes one at once, so the server opens https://teams.cloud.microsoft/ in your default browser, or TEAMS_BROWSER (at most once per 10 minutes) as a chat-service token capture begins.",
|
|
85
|
+
"isRequired": false,
|
|
86
|
+
"format": "string",
|
|
87
|
+
"isSecret": false
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "TEAMS_BROWSER",
|
|
91
|
+
"description": "The browser to open tabs in (a shared file's sign-in link, the Teams web app for a token capture): the one the ContextMint Bridge runs in, when it is not your default browser. On macOS an app name such as Microsoft Edge or Google Chrome; on Windows or Linux the browser's executable (a full path, or a name on PATH such as microsoft-edge). Unset: the system default browser.",
|
|
85
92
|
"isRequired": false,
|
|
86
93
|
"format": "string",
|
|
87
94
|
"isSecret": false
|
|
@@ -40,8 +40,8 @@ fpx profile declare teams \
|
|
|
40
40
|
That header capture is the only scope needed — widening it later forces the
|
|
41
41
|
user to re-approve. Requirements: the **ContextMint Bridge** browser
|
|
42
42
|
extension (from https://github.com/nullnet-app/contextmint-bridge/releases —
|
|
43
|
-
load the chrome zip unpacked in Chrome
|
|
44
|
-
|
|
43
|
+
load the chrome zip unpacked in Chrome, Edge or another Chromium browser;
|
|
44
|
+
Safari isn't available yet — it's the fetchproxy extension renamed, source at
|
|
45
45
|
https://github.com/nullnet-app/contextmint-bridge; verify a zip with its
|
|
46
46
|
`.sha256`), with an open `teams.cloud.microsoft` tab you're signed into. The
|
|
47
47
|
first `fpx` call prints a pair code — approve it in the ContextMint Bridge
|