@qverisai/mcp 0.4.0 → 0.4.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 +32 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ This SDK provides a [Model Context Protocol (MCP)](https://modelcontextprotocol.
|
|
|
17
17
|
|
|
18
18
|
### 1. Get Your API Key
|
|
19
19
|
|
|
20
|
-
Visit [QVeris](https://qveris.ai) to get your API key.
|
|
20
|
+
Visit [QVeris](https://qveris.ai) (Global) or [QVeris](https://qveris.cn) (China) to get your API key.
|
|
21
21
|
|
|
22
22
|
### 2. Configure Your MCP Client
|
|
23
23
|
|
|
@@ -182,11 +182,41 @@ The `full_content_file_url` is valid for 120 minutes.
|
|
|
182
182
|
| Variable | Required | Description |
|
|
183
183
|
|----------|----------|-------------|
|
|
184
184
|
| `QVERIS_API_KEY` | ✓ | Your QVeris API key |
|
|
185
|
+
| `QVERIS_REGION` | | Force region: `global` or `cn` (auto-detected from key prefix if not set) |
|
|
186
|
+
| `QVERIS_BASE_URL` | | Override API base URL (highest priority, for custom endpoints) |
|
|
187
|
+
|
|
188
|
+
## Region
|
|
189
|
+
|
|
190
|
+
Region is auto-detected from your API key prefix — no extra configuration needed.
|
|
191
|
+
|
|
192
|
+
| Key prefix | Region | API endpoint |
|
|
193
|
+
|------------|--------|--------------|
|
|
194
|
+
| `sk-xxx` | Global | `https://qveris.ai/api/v1` |
|
|
195
|
+
| `sk-cn-xxx` | China | `https://qveris.cn/api/v1` |
|
|
196
|
+
|
|
197
|
+
To override manually, set environment variables in your MCP client config:
|
|
198
|
+
|
|
199
|
+
```json
|
|
200
|
+
{
|
|
201
|
+
"mcpServers": {
|
|
202
|
+
"qveris": {
|
|
203
|
+
"command": "npx",
|
|
204
|
+
"args": ["-y", "@qverisai/mcp"],
|
|
205
|
+
"env": {
|
|
206
|
+
"QVERIS_API_KEY": "your-api-key",
|
|
207
|
+
"QVERIS_REGION": "cn"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
**Priority:** `QVERIS_BASE_URL` > `QVERIS_REGION` > API key prefix auto-detection > default (global)
|
|
185
215
|
|
|
186
216
|
## Requirements
|
|
187
217
|
|
|
188
218
|
- Node.js 18.0.0 or higher
|
|
189
|
-
- A valid QVeris API key
|
|
219
|
+
- A valid QVeris API key ([qveris.ai](https://qveris.ai) or [qveris.cn](https://qveris.cn))
|
|
190
220
|
|
|
191
221
|
## Development
|
|
192
222
|
|