@moorchehai/mcp 1.3.2 → 1.3.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/README.md +12 -9
- package/package.json +1 -1
- package/src/server/tools/search-tools.js +13 -1
package/README.md
CHANGED
|
@@ -216,18 +216,21 @@ The Moorcheh MCP server provides tools for:
|
|
|
216
216
|
- **`search`**: Search across namespaces with vector similarity
|
|
217
217
|
- **`answer`**: Get AI-generated answers based on top of your search
|
|
218
218
|
|
|
219
|
-
## Supported
|
|
219
|
+
## Supported AI models
|
|
220
|
+
|
|
221
|
+
These IDs match the current Moorcheh [Available Models](https://docs.moorcheh.ai/python-sdk/ai/generate#available-models) list (REST `answer` / Python `answer.generate`).
|
|
220
222
|
|
|
221
223
|
| Model ID | Name | Provider | Description |
|
|
222
224
|
|----------|------|----------|-------------|
|
|
223
|
-
| `anthropic.claude-sonnet-4-
|
|
224
|
-
| `anthropic.claude-
|
|
225
|
-
| `meta.llama4-maverick-17b-instruct-v1:0` | Llama 4 Maverick 17B | Meta |
|
|
226
|
-
| `
|
|
227
|
-
| `
|
|
228
|
-
| `deepseek.
|
|
229
|
-
| `openai.gpt-oss-120b-1:0` | OpenAI GPT OSS 120B | OpenAI |
|
|
230
|
-
| `qwen.qwen3-32b-v1:0` | Qwen 3 32B | Qwen |
|
|
225
|
+
| `anthropic.claude-sonnet-4-6` | Claude Sonnet 4.6 | Anthropic | Fast flagship: coding, tools, long docs and RAG (~1M context) |
|
|
226
|
+
| `anthropic.claude-opus-4-6-v1` | Claude Opus 4.6 | Anthropic | Deepest reasoning and hardest tasks; pick when quality matters most (~1M context) |
|
|
227
|
+
| `meta.llama4-maverick-17b-instruct-v1:0` | Llama 4 Maverick 17B | Meta | Long context, summarization, function calling, fine-tuning friendly |
|
|
228
|
+
| `amazon.nova-pro-v1:0` | Amazon Nova Pro | Amazon | Chat, math, and structured answers for AWS-style workloads |
|
|
229
|
+
| `deepseek.r1-v1:0` | DeepSeek R1 | DeepSeek | Step-by-step reasoning; math, logic, and technical explanations |
|
|
230
|
+
| `deepseek.v3.2` | DeepSeek V3.2 | DeepSeek | Efficient general Q&A, multilingual, everyday RAG (~164K context) |
|
|
231
|
+
| `openai.gpt-oss-120b-1:0` | OpenAI GPT OSS 120B | OpenAI | Large generalist: research-style answers and long-form writing |
|
|
232
|
+
| `qwen.qwen3-32b-v1:0` | Qwen 3 32B | Qwen | Code and bilingual (EN/ZH) tasks in a smaller footprint |
|
|
233
|
+
| `qwen.qwen3-next-80b-a3b` | Qwen3 Next 80B A3B | Qwen | MoE model for long chats, docs, and code at scale (~256K context) |
|
|
231
234
|
|
|
232
235
|
## Prerequisites
|
|
233
236
|
|
package/package.json
CHANGED
|
@@ -186,7 +186,19 @@ export const answerTool = {
|
|
|
186
186
|
type: z.enum(['text']).optional().describe("Search type for answer generation. Supported value is 'text'."),
|
|
187
187
|
threshold: z.number().min(0).max(1).optional().describe("Similarity threshold for results. A value between 0 and 1 that filters documents based on relevance before generating the answer. Higher values (0.7-0.9) ensure only highly relevant content is used, lower values (0.3-0.5) include more context. Required when kiosk_mode is true."),
|
|
188
188
|
kiosk_mode: z.boolean().optional().describe("Kiosk mode for restricted search. When true, search is restricted to specific namespaces with threshold filtering, providing more controlled and focused answers suitable for production environments."),
|
|
189
|
-
ai_model: z.string().optional().describe(
|
|
189
|
+
ai_model: z.string().optional().describe(
|
|
190
|
+
"AI model ID for answer generation (snake_case field sent to the API). Supported models: " +
|
|
191
|
+
"'anthropic.claude-sonnet-4-6' (Claude Sonnet 4.6), " +
|
|
192
|
+
"'anthropic.claude-opus-4-6-v1' (Claude Opus 4.6), " +
|
|
193
|
+
"'meta.llama4-maverick-17b-instruct-v1:0' (Llama 4 Maverick 17B), " +
|
|
194
|
+
"'amazon.nova-pro-v1:0' (Amazon Nova Pro), " +
|
|
195
|
+
"'deepseek.r1-v1:0' (DeepSeek R1), " +
|
|
196
|
+
"'deepseek.v3.2' (DeepSeek V3.2), " +
|
|
197
|
+
"'openai.gpt-oss-120b-1:0' (OpenAI GPT OSS 120B), " +
|
|
198
|
+
"'qwen.qwen3-32b-v1:0' (Qwen 3 32B), " +
|
|
199
|
+
"'qwen.qwen3-next-80b-a3b' (Qwen3 Next 80B A3B). " +
|
|
200
|
+
"If omitted, the Moorcheh API uses its default model for your account."
|
|
201
|
+
),
|
|
190
202
|
chat_history: z.array(z.object({
|
|
191
203
|
role: z.string().describe("Role of the message in the conversation. Use 'user' for user messages and 'assistant' for AI responses. This helps maintain conversation context and allows the AI to reference previous exchanges."),
|
|
192
204
|
content: z.string()
|