You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[ ] Bug fix (non-breaking change which fixes an issue)
6
+
-[ ] New feature (non-breaking change which adds functionality)
7
+
-[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
8
+
-[ ] Documentation update
9
+
10
+
## Testing
11
+
-[ ] I have added tests that prove my fix is effective or that my feature works
12
+
-[ ] New and existing unit tests pass locally with my changes
13
+
-[ ] I have tested this change manually
14
+
15
+
## Checklist
16
+
-[ ] My code follows the style guidelines of this project
17
+
-[ ] I have performed a self-review of my own code
18
+
-[ ] I have commented my code, particularly in hard-to-understand areas
19
+
-[ ] My changes generate no new warnings
20
+
-[ ]**I have enabled "Allow edits from maintainers" for this pull request**
21
+
22
+
## Additional Notes
23
+
Add any other context about the pull request here.
24
+
25
+
---
26
+
27
+
**⚠️ IMPORTANT:** This repository requires that you enable "Allow edits from maintainers" when creating your pull request. This allows maintainers to make small fixes and improvements directly to your branch, speeding up the review process.
28
+
29
+
To enable this setting:
30
+
1. When creating the PR, check the "Allow edits from maintainers" checkbox
31
+
2. If you've already created the PR, you can enable this in the PR sidebar under "Allow edits from maintainers"
This repository requires that you enable "Allow edits from maintainers" for your pull request. This allows maintainers to make small fixes and improvements directly to your branch, which speeds up the review process.
31
+
32
+
**To enable this setting:**
33
+
1. Go to your pull request page
34
+
2. In the right sidebar, look for "Allow edits from maintainers"
35
+
3. Check the checkbox to enable it
36
+
37
+
Once you've enabled this setting, this check will automatically pass. Thank you! 🙏`
38
+
});
39
+
40
+
core.setFailed('Maintainer edits must be enabled for this pull request');
> **📌 Transport Mode Guidance**: Use **streamable HTTP mode** (`--transport streamable-http`) for all modern MCP clients including Claude Code, VS Code MCP, and MCP Inspector. Stdio mode is only for clients with incomplete MCP specification support.
485
+
484
486
<detailsopen>
485
487
<summary>▶ <b>Launch Commands</b> <sub><sup>← Choose your startup mode</sup></sub></summary>
|`start_google_auth`| Complete |Legacy OAuth 2.0 auth (disabled when OAuth 2.1 is enabled)|
747
751
748
752
</td>
749
753
<tdwidth="50%"valign="top">
@@ -894,7 +898,9 @@ cp .env.oauth21 .env
894
898
895
899
The server supports two transport modes:
896
900
897
-
#### Stdio Mode (Default - Recommended for Claude Desktop)
901
+
#### Stdio Mode (Legacy - For Clients with Incomplete MCP Support)
902
+
903
+
> **⚠️ Important**: Stdio mode is a **legacy fallback** for clients that don't properly implement the MCP specification with OAuth 2.1 and streamable HTTP support. **Claude Code and other modern MCP clients should use streamable HTTP mode** (`--transport streamable-http`) for proper OAuth flow and multi-user support.
898
904
899
905
In general, you should use the one-click DXT installer package for Claude Desktop.
900
906
If you are unable to for some reason, you can configure it manually via `claude_desktop_config.json`
@@ -999,6 +1005,14 @@ The server includes OAuth 2.1 support for bearer token authentication, enabling
999
1005
- Production environments requiring secure session management
1000
1006
- Browser-based clients requiring CORS support
1001
1007
1008
+
**⚠️ Important: OAuth 2.1 and Single-User Mode are mutually exclusive**
1009
+
1010
+
OAuth 2.1 mode (`MCP_ENABLE_OAUTH21=true`) cannot be used together with the `--single-user` flag:
1011
+
-**Single-user mode**: For legacy clients that pass user emails in tool calls
1012
+
-**OAuth 2.1 mode**: For modern multi-user scenarios with bearer token authentication
1013
+
1014
+
Choose one authentication method - using both will result in a startup error.
1015
+
1002
1016
**Enabling OAuth 2.1:**
1003
1017
To enable OAuth 2.1, set the `MCP_ENABLE_OAUTH21` environment variable to `true`.
1004
1018
@@ -1148,6 +1162,8 @@ uv run main.py --transport streamable-http
1148
1162
1149
1163
### VS Code MCP Client Support
1150
1164
1165
+
> **✅ Recommended**: VS Code MCP extension properly supports the full MCP specification. **Always use HTTP transport mode** for proper OAuth 2.1 authentication.
1166
+
1151
1167
<details>
1152
1168
<summary>🆚 <b>VS Code Configuration</b> <sub><sup>← Setup for VS Code MCP extension</sup></sub></summary>
1153
1169
@@ -1161,14 +1177,22 @@ uv run main.py --transport streamable-http
1161
1177
}
1162
1178
}
1163
1179
```
1180
+
1181
+
*Note: Make sure to start the server with `--transport streamable-http` when using VS Code MCP.*
1164
1182
</details>
1165
1183
1166
1184
### Claude Code MCP Client Support
1167
1185
1186
+
> **✅ Recommended**: Claude Code is a modern MCP client that properly supports the full MCP specification. **Always use HTTP transport mode** with Claude Code for proper OAuth 2.1 authentication and multi-user support.
1187
+
1168
1188
<details>
1169
1189
<summary>🆚 <b>Claude Code Configuration</b> <sub><sup>← Setup for Claude Code MCP support</sup></sub></summary>
1170
1190
1171
-
```json
1191
+
```bash
1192
+
# Start the server in HTTP mode first
1193
+
uv run main.py --transport streamable-http
1194
+
1195
+
# Then add to Claude Code
1172
1196
claude mcp add --transport http workspace-mcp http://localhost:8000/mcp
0 commit comments