@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 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 Bedrock Models
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-20250514-v1:0` | Claude Sonnet 4 | Anthropic | Hybrid reasoning, extended thinking, efficient code generation |
224
- | `anthropic.claude-sonnet-4-5-20250929-v1:0` | Claude Sonnet 4.5 | Anthropic | Latest Claude model with enhanced capabilities and agentic search |
225
- | `meta.llama4-maverick-17b-instruct-v1:0` | Llama 4 Maverick 17B | Meta | 1M token context, fine tuning, text summarization, function calling |
226
- | `meta.llama3-3-70b-instruct-v1:0` | Llama 3.3 70B | Meta | Advanced reasoning and decision making capabilities |
227
- | `amazon.nova-pro-v1:0` | Amazon Nova Pro | Amazon | 300K context, chat optimized, complex reasoning, math |
228
- | `deepseek.r1-v1:0` | DeepSeek R1 | DeepSeek | Advanced reasoning and code generation |
229
- | `openai.gpt-oss-120b-1:0` | OpenAI GPT OSS 120B | OpenAI | Hybrid reasoning, extended thinking, efficient research |
230
- | `qwen.qwen3-32b-v1:0` | Qwen 3 32B | Qwen | Text generation and code generation |
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moorchehai/mcp",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Moorcheh MCP Server with completable functionality for AI-powered search and answer operations",
5
5
  "main": "src/server/index.js",
6
6
  "type": "module",
@@ -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("AI model to use for answer generation. Different models may have different capabilities, response styles, and performance characteristics. Supported AI models include: 'anthropic.claude-3-7-sonnet-20250219-v1:0' (Claude 3.7 Sonnet), 'anthropic.claude-sonnet-4-20250514-v1:0' (Claude Sonnet 4), 'meta.llama4-maverick-17b-instruct-v1:0' (Llama 4 Maverick), 'meta.llama3-3-70b-instruct-v1:0' (Llama 3.3 70B), 'deepseek.r1-v1:0' (DeepSeek R1). If not specified, defaults to Claude 3.7 Sonnet."),
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()