mcp-teams 0.2.2 → 0.2.3
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/dist/tools.js +1 -1
- package/extension/background.js +1 -1
- package/extension/manifest.json +1 -1
- package/extension/teams.js +2 -2
- package/package.json +1 -1
package/dist/tools.js
CHANGED
|
@@ -184,7 +184,7 @@ export function registerTools(server, bridge, config) {
|
|
|
184
184
|
.min(1)
|
|
185
185
|
.max(250)
|
|
186
186
|
.optional()
|
|
187
|
-
.describe("Instead of conversation: the people to chat with, by name or email (e.g. ['
|
|
187
|
+
.describe("Instead of conversation: the people to chat with, by name or email (e.g. ['김민준', 'ana@example.com']). Each must match exactly one person in your organization, otherwise the matches are listed."),
|
|
188
188
|
title: z.string().trim().min(1).max(255).optional().describe("With to (two or more people): a title for the new group chat"),
|
|
189
189
|
text: z.string().min(1).max(28_000).describe("The message"),
|
|
190
190
|
reply_to: z.string().optional().describe("Channel only: the id of the post to reply to (from read_messages). Without it, a new post is started."),
|
package/extension/background.js
CHANGED
|
@@ -363,7 +363,7 @@ async function resolvePeople(queries, me) {
|
|
|
363
363
|
}
|
|
364
364
|
let found = await searchPeople(query, 10);
|
|
365
365
|
// People search can miss a full name it would find by one of its words (seen with
|
|
366
|
-
// "KIM
|
|
366
|
+
// "KIM MIN JUN" for "김민준(KIM MIN JUN)"): then search each word, keeping exact names.
|
|
367
367
|
const words = query.split(/\s+/).filter((w) => w.length > 1);
|
|
368
368
|
if (!found.length && words.length > 1) {
|
|
369
369
|
for (const w of words) {
|
package/extension/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 3,
|
|
3
3
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvoz9Wexl4ZqY9YtEyBZsu/Qi5Ft5EjNUNB8b30wgt3AR8TjXI5UumcPQFBIm7ZfvBsjgrh6tBJlygsgFbZ5cB1EiI+WSz/2Wcqwz4eowKMXXPvGuDGrO+2O2zbSpTG19/MwTljI+g0TLfn8Vkoqd8z9MskKk+vCZjjV0Jk8QjVEdHypgM7H8zTuUM06SO12IIZMdeE3IURzf35zbjlfPPkJiDWoo3wB9nxAvLd57xrQhPUB/lGtCJk9mS3SY+/VwOlG5kJ9WS/RCHXcs5Qs7huIlKIatmFz7YiducvTR3DKBbjqbMTyqHzXkmkUmJRqzsYtgtKcz0C0cjFOt6uNdhwIDAQAB",
|
|
4
4
|
"name": "mcp-teams bridge",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.3",
|
|
6
6
|
"description": "Lets AI assistants (via the mcp-teams MCP server) read and search Microsoft Teams chats, channels and meeting transcripts and, with your explicit confirmation, post messages.",
|
|
7
7
|
"minimum_chrome_version": "116",
|
|
8
8
|
"icons": {
|
package/extension/teams.js
CHANGED
|
@@ -514,7 +514,7 @@ export function clientMessageId() {
|
|
|
514
514
|
|
|
515
515
|
// ------------------------------------------------------------ new chats
|
|
516
516
|
|
|
517
|
-
/** Letters and digits of a name as a sorted set of words: "
|
|
517
|
+
/** Letters and digits of a name as a sorted set of words: "Novak, Jana" ~ "Jana Novak". */
|
|
518
518
|
const nameWords = (s) =>
|
|
519
519
|
String(s ?? "")
|
|
520
520
|
.toLowerCase()
|
|
@@ -523,7 +523,7 @@ const nameWords = (s) =>
|
|
|
523
523
|
.sort()
|
|
524
524
|
.join(" ");
|
|
525
525
|
|
|
526
|
-
/** A display name's forms: whole, without "(…)", and each "(…)" part ("
|
|
526
|
+
/** A display name's forms: whole, without "(…)", and each "(…)" part ("김민준(KIM MIN JUN)", "Novak, Jana (QA)"). */
|
|
527
527
|
const nameForms = (name) => {
|
|
528
528
|
const s = String(name ?? "");
|
|
529
529
|
const inner = [...s.matchAll(/\(([^)]*)\)/g)].map((m) => m[1]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-teams",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "MCP server that lets AI assistants work with Microsoft Teams (web) through a Chrome/Edge extension bridge",
|
|
5
5
|
"keywords": ["mcp", "model-context-protocol", "teams", "microsoft-teams", "microsoft-365", "chat", "claude", "chrome-extension"],
|
|
6
6
|
"repository": {
|