teams-api 0.3.0 → 0.3.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/README.md +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@ AI-native Microsoft Teams integration — read conversations, send messages, and
|
|
|
4
4
|
|
|
5
5
|
Designed for autonomous AI agents that need to interact with Teams: read messages, reply to people, monitor conversations, and participate in team workflows.
|
|
6
6
|
|
|
7
|
-
[<img src="https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Install in VS Code">](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522teams%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522teams-api%2540latest%2522%255D%252C%2522env%2522%253A%257B%2522TEAMS_LOGIN%2522%253A%2522true%2522%257D%257D)
|
|
8
|
-
[<img src="https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Install in VS Code Insiders">](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522teams%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522teams-api%2540latest%2522%255D%252C%2522env%2522%253A%257B%2522TEAMS_LOGIN%2522%253A%2522true%2522%257D%257D)
|
|
9
|
-
[](https://cursor.com/install-mcp?name=teams&config=%7B%22name%22%3A%22teams%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22teams-api%40latest%22%5D%2C%22env%22%3A%7B%22TEAMS_LOGIN%22%3A%22true%22%7D%7D)
|
|
7
|
+
[<img src="https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Install in VS Code">](https://insiders.vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522teams%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522-p%2522%252C%2522teams-api%2540latest%2522%252C%2522teams-api-mcp%2522%255D%252C%2522env%2522%253A%257B%2522TEAMS_LOGIN%2522%253A%2522true%2522%257D%257D)
|
|
8
|
+
[<img src="https://img.shields.io/badge/VS_Code_Insiders-Install_Server-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white" alt="Install in VS Code Insiders">](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522teams%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522-p%2522%252C%2522teams-api%2540latest%2522%252C%2522teams-api-mcp%2522%255D%252C%2522env%2522%253A%257B%2522TEAMS_LOGIN%2522%253A%2522true%2522%257D%257D)
|
|
9
|
+
[](https://cursor.com/install-mcp?name=teams&config=%7B%22name%22%3A%22teams%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22-p%22%2C%22teams-api%40latest%22%2C%22teams-api-mcp%22%5D%2C%22env%22%3A%7B%22TEAMS_LOGIN%22%3A%22true%22%7D%7D)
|
|
10
10
|
[](https://www.npmjs.com/package/teams-api)
|
|
11
11
|
[](https://registry.modelcontextprotocol.io)
|
|
12
12
|
|
|
@@ -36,10 +36,10 @@ Click the badge at the top of this README, or press `Cmd+Shift+X` / `Ctrl+Shift+
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
# VS Code
|
|
39
|
-
code --add-mcp '{"name":"teams","command":"npx","args":["-y","teams-api@latest"],"env":{"TEAMS_LOGIN":"true"}}'
|
|
39
|
+
code --add-mcp '{"name":"teams","command":"npx","args":["-y","-p","teams-api@latest","teams-api-mcp"],"env":{"TEAMS_LOGIN":"true"}}'
|
|
40
40
|
|
|
41
41
|
# VS Code Insiders
|
|
42
|
-
code-insiders --add-mcp '{"name":"teams","command":"npx","args":["-y","teams-api@latest"],"env":{"TEAMS_LOGIN":"true"}}'
|
|
42
|
+
code-insiders --add-mcp '{"name":"teams","command":"npx","args":["-y","-p","teams-api@latest","teams-api-mcp"],"env":{"TEAMS_LOGIN":"true"}}'
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
**Option 3 — Manual config:**
|
|
@@ -51,7 +51,7 @@ Add to your VS Code MCP config (`.vscode/mcp.json` or User Settings):
|
|
|
51
51
|
"mcpServers": {
|
|
52
52
|
"teams": {
|
|
53
53
|
"command": "npx",
|
|
54
|
-
"args": ["-y", "teams-api@latest"],
|
|
54
|
+
"args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"],
|
|
55
55
|
"env": {
|
|
56
56
|
"TEAMS_LOGIN": "true"
|
|
57
57
|
}
|
|
@@ -72,7 +72,7 @@ Click the **Install in Cursor** badge at the top, or add to `~/.cursor/mcp.json`
|
|
|
72
72
|
"mcpServers": {
|
|
73
73
|
"teams": {
|
|
74
74
|
"command": "npx",
|
|
75
|
-
"args": ["-y", "teams-api@latest"],
|
|
75
|
+
"args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"],
|
|
76
76
|
"env": {
|
|
77
77
|
"TEAMS_LOGIN": "true"
|
|
78
78
|
}
|
|
@@ -93,7 +93,7 @@ Add to `claude_desktop_config.json` ([how to find it](https://modelcontextprotoc
|
|
|
93
93
|
"mcpServers": {
|
|
94
94
|
"teams": {
|
|
95
95
|
"command": "npx",
|
|
96
|
-
"args": ["-y", "teams-api@latest"],
|
|
96
|
+
"args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"],
|
|
97
97
|
"env": {
|
|
98
98
|
"TEAMS_LOGIN": "true"
|
|
99
99
|
}
|
|
@@ -108,7 +108,7 @@ Add to `claude_desktop_config.json` ([how to find it](https://modelcontextprotoc
|
|
|
108
108
|
<summary><strong>Claude Code</strong></summary>
|
|
109
109
|
|
|
110
110
|
```bash
|
|
111
|
-
claude mcp add teams -- npx -y teams-api@latest
|
|
111
|
+
claude mcp add teams -- npx -y -p teams-api@latest teams-api-mcp
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
Then set the environment variable `TEAMS_LOGIN=true` in your shell before starting Claude Code. The server will ask for your email interactively on first use.
|
|
@@ -125,7 +125,7 @@ Add to `~/.codeium/windsurf/mcp_config.json`:
|
|
|
125
125
|
"mcpServers": {
|
|
126
126
|
"teams": {
|
|
127
127
|
"command": "npx",
|
|
128
|
-
"args": ["-y", "teams-api@latest"],
|
|
128
|
+
"args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"],
|
|
129
129
|
"env": {
|
|
130
130
|
"TEAMS_LOGIN": "true"
|
|
131
131
|
}
|
|
@@ -333,7 +333,7 @@ Use this only if you already have tokens from another flow or need to avoid brow
|
|
|
333
333
|
"mcpServers": {
|
|
334
334
|
"teams": {
|
|
335
335
|
"command": "npx",
|
|
336
|
-
"args": ["-y", "teams-api@latest"],
|
|
336
|
+
"args": ["-y", "-p", "teams-api@latest", "teams-api-mcp"],
|
|
337
337
|
"env": {
|
|
338
338
|
"TEAMS_TOKEN": "<paste-skype-token-here>",
|
|
339
339
|
"TEAMS_BEARER_TOKEN": "<optional-api-spaces-skype-bearer-token>",
|
package/package.json
CHANGED