remove vscode cruft
This commit is contained in:
24
README.md
24
README.md
@@ -95,9 +95,6 @@ A production-ready MCP server that integrates all major Google Workspace service
|
||||
| `GOOGLE_PSE_API_KEY` *(optional)* | API key for Google Custom Search - see [Custom Search Setup](#google-custom-search-setup) |
|
||||
| `GOOGLE_PSE_ENGINE_ID` *(optional)* | Programmable Search Engine ID for Custom Search |
|
||||
| `MCP_ENABLE_OAUTH21` *(optional)* | Set to `true` to enable OAuth 2.1 support (requires streamable-http transport) |
|
||||
| `VSCODE_OAUTH_CALLBACK_PORT` *(optional)* | VS Code OAuth callback port (default: 33418) |
|
||||
| `VSCODE_OAUTH_CALLBACK_HOSTS` *(optional)* | Comma-separated list of VS Code callback hosts (default: "127.0.0.1,localhost") |
|
||||
| `OAUTH_DEVELOPMENT_PORTS` *(optional)* | Comma-separated list of development ports for redirect URIs (default: "3000,5173,8080") |
|
||||
| `OAUTH_CUSTOM_REDIRECT_URIS` *(optional)* | Comma-separated list of additional redirect URIs |
|
||||
| `OAUTH_ALLOWED_ORIGINS` *(optional)* | Comma-separated list of additional CORS origins |
|
||||
| `OAUTHLIB_INSECURE_TRANSPORT=1` | Development only (allows `http://` redirect) |
|
||||
@@ -119,18 +116,12 @@ Claude Desktop stores these securely in the OS keychain; set them once in the ex
|
||||
### Configuration
|
||||
|
||||
1. **Google Cloud Setup**:
|
||||
- Create OAuth 2.0 credentials (web application) in [Google Cloud Console](https://console.cloud.google.com/)
|
||||
- Create OAuth 2.0 credentials in [Google Cloud Console](https://console.cloud.google.com/)
|
||||
- Create a new project (or use an existing one) for your MCP server.
|
||||
- Navigate to APIs & Services → Credentials.
|
||||
- Click Create Credentials → OAuth Client ID.
|
||||
- Choose Web Application as the application type.
|
||||
- Add redirect URIs:
|
||||
- `http://localhost:8000/oauth2callback` (primary)
|
||||
- `http://127.0.0.1:33418/callback` (VS Code)
|
||||
- `http://localhost:33418/callback` (VS Code)
|
||||
- `http://127.0.0.1:33418/` (VS Code with trailing slash)
|
||||
- `http://localhost:33418/` (VS Code with trailing slash)
|
||||
- Additional development URIs as needed (see configuration section)
|
||||
- **Choose Desktop Application as the application type** (simpler setup, no redirect URIs needed!)
|
||||
- Download your credentials and note the Client ID and Client Secret
|
||||
|
||||
- **Enable APIs**:
|
||||
- In the Google Cloud Console, go to APIs & Services → Library.
|
||||
@@ -289,9 +280,7 @@ This architecture enables any OAuth 2.1 compliant client to authenticate users t
|
||||
|
||||
</details>
|
||||
|
||||
**Required Google OAuth Setup for MCP Inspector**:
|
||||
Add these redirect URIs to your Google Cloud Console OAuth client:
|
||||
- `http://localhost:6274/callback`
|
||||
**For MCP Inspector**: No additional configuration needed with desktop OAuth client.
|
||||
|
||||
|
||||
### VS Code MCP Client Support
|
||||
@@ -315,10 +304,7 @@ The server includes native support for VS Code's MCP client with transparent pat
|
||||
}
|
||||
```
|
||||
|
||||
**Required Google OAuth Setup for VS Code**:
|
||||
Add these redirect URIs to your Google Cloud Console OAuth client:
|
||||
- `http://127.0.0.1:33418/callback`
|
||||
- `http://127.0.0.1:33418/`
|
||||
**For VS Code**: No additional configuration needed with desktop OAuth client.
|
||||
|
||||
|
||||
### Modular Architecture
|
||||
|
||||
Reference in New Issue
Block a user