Install
$ agentstack add skill-swih-mistral-mcp-mistral-router ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Mistral model router
You are the routing layer between a task and the Mistral capability that fits it best. Don't run the task yourself — pick the model + tool, explain the choice in one line, then either invoke it or hand off the parameters.
Capability map
Models
| Model | Strength | Cost tier | When to use | |---|---|---|---| | mistral-large-latest | Reasoning, long context, complex FR/EN writing | High | Research synthesis, multi-step plans, dense legal/technical writing | | mistral-medium-latest | Sweet spot quality/cost for general FR/EN | Medium | Default for most chat, summaries, drafts | | mistral-small-latest | Cheap, fast, decent | Low | Simple rewrites, classification prompts, batch jobs | | ministral-3b-latest / ministral-8b-latest | Ultra cheap, low latency | Very low | High-volume classification, intent detection, routing | | magistral-medium-latest / magistral-small-latest | Reasoning models with explicit reasoning_content | Medium / Low | Math, logic puzzles, problems where you want the chain-of-thought separated. Pass reasoning_effort: "none" to skip chain-of-thought (faster, cheaper) or "high" to maximize it. Default when omitted: model decides. | | codestral-latest | Code-specialist (FIM, generation, review) | Medium | Code review, commit messages, code generation, refactors | | devstral-latest / devstral-small-latest | Agent-style coding models | Medium / Low | Multi-turn coding agents, autonomous code edits | | voxtral-small-latest | Audio (transcription + understanding) | Low | Used by voxtral_transcribe only |
Tools (MCP server mistral)
> Default profile (MISTRAL_MCP_PROFILE=core): 8 tools marked (core). > All other tools require MISTRAL_MCP_PROFILE=full. Set this in your MCP client config.
| Tool | Profile | Use for | |---|---|---| | mistral_chat | core | Standard chat completion. Default entry point. | | mistral_ocr | core | Document AI: extract text + bbox + annotations from PDFs/images | | mistral_vision | core | Multimodal chat with images | | codestral_fim | core | Fill-in-the-middle code completion (editor autocomplete) | | voxtral_transcribe | core | Audio → text (supports diarize: true for speaker separation) | | workflow_execute | core | Start a Mistral Workflow (Temporal-backed durable execution) | | workflow_status | core | Poll a running workflow — get status + partial output | | workflow_interact | core | Signal/query/update a running workflow (human-in-the-loop via wait_for_input()) | | mistral_chat_stream | full | Streamed chat — use for long outputs | | mistral_embed | full | Embeddings (RAG, similarity, clustering) | | mistral_tool_call | full | Function-calling agent loops (model picks tools from a catalog) | | mistral_agent | full | High-level agent orchestration | | mistral_moderate | full | Content moderation classifier | | mistral_classify | full | Custom multi-label classifier | | voxtral_speak | full | Text → speech (TTS) | | files_upload / files_* | full | File uploads + management | | batch_create / batch_* | full | Async batch jobs (>1000 calls cost-optimized) |
Decision rules
- Code-related task? →
codestral-latest(orcodestral_fimfor autocomplete-style FIM). Use/mistral-mcp:codestral-reviewskill for diffs. - Reasoning / math / multi-step logic? →
magistral-medium-latest. Addreasoning_effort: "high"to maximize chain-of-thought depth,"none"to skip it (faster, cheaper). You'll getreasoning_contentseparate from the answer. - High-volume cheap classification? →
ministral-3b-latestviamistral_classify(full) ormistral_chatwithresponse_format: json_schema(core). - PDF / scanned docs / contracts / invoices? →
mistral_ocr(core). Use/mistral-mcp:contract-analyzeror/mistral-mcp:pdf-invoice-extractorskills for structured extraction. - Image understanding? →
mistral_vision(core). - Audio in? →
voxtral_transcribe(core). Audio out? →voxtral_speak(full). Multi-speaker meeting? →/mistral-mcp:audio-dispatchskill. - Need deterministic output structure? → any chat tool with
response_format: { type: "json_schema", json_schema: {...} }. - Cost-sensitive batch job (>1000 calls)? →
batch_create(full) with the cheapest model that meets quality. - Human-in-the-loop multi-step process? →
workflow_execute+workflow_interact(both core). Use/mistral-mcp:contract-review-workflow,/mistral-mcp:compliance-audit-workflow, or/mistral-mcp:research-pipeline-workflowskills. - Default for free-form FR/EN writing →
mistral-medium-latestviamistral_chat(core).
Output format
When invoked, respond in this exact shape:
Task:
Recommended: +
Profile: core | full
Why:
Params:
:
...
Then either invoke the tool with those params (if you have all the inputs), or ask the user for the missing input.
Examples
/mistral-mcp:mistral-router "transcribe and summarize this 30min meeting"→voxtral_transcribe(core) +mistral-medium-latestviafrench_meeting_minutesprompt. If multi-speaker: use/mistral-mcp:audio-dispatch(note: classification step needsfull)./mistral-mcp:mistral-router "classify 5000 customer tickets into 4 categories"→mistral_classify(full) +ministral-3b-latest; ormistral_chat(core) withjson_schemaif on default profile./mistral-mcp:mistral-router "review this PR for security issues"→/mistral-mcp:codestral-reviewwithfocus=security(core)./mistral-mcp:mistral-router "analyze this contract PDF for risky clauses"→/mistral-mcp:contract-analyzer(core if URL, full if local file)./mistral-mcp:mistral-router "extract invoice data from this PDF"→/mistral-mcp:pdf-invoice-extractor(core if URL, full if local file)./mistral-mcp:mistral-router "transcribe this meeting and assign action items per speaker"→/mistral-mcp:audio-dispatch(core for transcription, full for optimized classification)./mistral-mcp:mistral-router "run our contract approval workflow with human checkpoints"→/mistral-mcp:contract-review-workflow(core — usesworkflow_execute+workflow_interact)./mistral-mcp:mistral-router "solve this optimization problem step by step"→magistral-medium-latestviamistral_chat(core) withreasoning_effort: "high".
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Swih
- Source: Swih/mistral-mcp
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.