Mistral Integration
Use Snipara Hosted MCP with Mistral Le Chat Custom MCP Connectors, Mistral Vibe, or LangChain JavaScript projects built on ChatMistralAI.
Generate the files
Run npx create-snipara --client mistral or choose Mistral in the interactive flow. The installer generates:
.vibe/config.toml.snipara/templates/mistral-vibe-config.toml.snipara/templates/mistral-le-chat-mcp.json.snipara/templates/mistral-langchain-tools.tsMISTRAL.mdin the companion pack
Mistral Vibe
Merge the generated server block into .vibe/config.toml or ~/.vibe/config.toml, then restart Vibe.
[[mcp_servers]]
name = "snipara"
transport = "streamable-http"
url = "https://api.snipara.com/mcp/YOUR_PROJECT_SLUG"
api_key_env = "SNIPARA_API_KEY"
api_key_header = "X-API-Key"
api_key_format = "{token}"Le Chat
In Le Chat, add a Custom MCP Connector with the Snipara hosted MCP URL for your project. Keep the key in your environment or secret store as SNIPARA_API_KEY.
LangChain ChatMistralAI
LangChain JavaScript supports Mistral tool calling with bindTools. The generated mistral-langchain-tools.ts file wraps snipara_recall, snipara_context_query, and snipara_settings as tools.
LangChain also exposes beforeRequestHooks, requestErrorHooks, and responseHooks on ChatMistralAI. These are model request hooks, not local agent lifecycle hooks like Claude or Codex hook scripts. Use snipara-companion recall, query, workflow, and task-commit when you need explicit local workflow fallback.