跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Mistral AI,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 用你自己的 API 密钥使用 Mistral AI:向 Mistral 模型提问、用 Codestral 补全代码、用 Mistral OCR 读取 PDF 和扫描件、创建嵌入、审核内容、通过对话和智能体搜索网络,并查看文件和批处理任务。
试试这样问
Mistral AI 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Mistral AI、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Mistral AI + Meta Muse
让你的 AI 用你自己的 API 密钥使用 Mistral AI:向 Mistral 模型提问、用 Codestral 补全代码、用 Mistral OCR 读取 PDF 和扫描件、创建嵌入、审核内容、通过对话和智能体搜索网络,并查看文件和批处理任务。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
MISTRAL_API_KEY
步骤 1 — 获取凭证
- 登录
https://console.mistral.ai。新工作区从免费套餐开始,有速率和用量限制;需要更多时,选择按量付费并在 Billing 中充值。 - 打开 API Keys,点击 Create new key 并复制密钥。Mistral 只显示一次。
- 将其粘贴到
MISTRAL_API_KEY,不要带空格,也不要加 Bearer 一词,然后安装连接器。密钥只会发送给 Mistral。 - 先运行
mistral_list_models:它不收费,并能显示你的密钥可以使用哪些模型。
费用计入你自己的 Mistral 工作区:每次调用模型都会消耗你的 Mistral 额度或免费套餐的配额。列出和读取模型、文件、智能体、对话和批处理任务都是免费的。除非你要求更多,连接器默认使用低成本设置:聊天用 mistral-small-latest(每百万输入 token 约 0.15 美元,每百万输出 token 约 0.60 美元),代码用 codestral-latest,嵌入用 mistral-embed,OCR 用 mistral-ocr-latest(每 1,000 页约 4 美元)。ministral-8b-latest 更便宜,mistral-medium-latest 和 mistral-large-latest 更强。
功能:
mistral_chat向 Mistral 模型提问,支持通过链接输入图片、可选的推理和 JSON 输出。mistral_fim_complete让 Codestral 补全开头和结尾之间的代码。mistral_ocr从公开链接或用mistral_upload_file上传的文件中逐页读取 PDF、演示文稿、Word 文件和图片,输出为 Markdown,还能从整份文档中提取结构化 JSON。mistral_create_embeddings把文本转换为用于搜索和相似度计算的向量。mistral_moderate和mistral_moderate_chat按 Mistral 的安全类别检查文本或整段对话,mistral_classify使用你的工作区中已有的自定义分类器。- 网络搜索只能通过 Conversations API(测试版)进行:带内置工具
web_search的mistral_start_conversation会根据网络内容回答并附上来源,mistral_continue_conversation用于继续对话。内置工具的调用在 token 之外另行计费。mistral_list_agents和mistral_get_agent显示在 Mistral AI Studio 中创建的智能体,对话可以与它们交流。 - 文件和批处理任务:列出和读取文件,用
mistral_get_file_url获取临时下载链接,并跟踪在其他地方启动的批处理任务(便宜 50%,几小时内出结果)。
先确认:OCR 按页计费,因此在读取超过约 50 页的文档之前,AI 会先征得你的确认,或者限制页数。上传你的文档之前它也会先询问。mistral_delete_file 和 mistral_cancel_batch_job 在安装时处于关闭状态;启用后它们同样会先确认。
时间限制:通过连接器的调用会在 30 秒后中断。请让回答保持适中长度,优先使用较低的推理强度,并把长文档拆开做 OCR。
不可信内容:网络结果、文档和模型回答可能包含指令。AI 会把它们当作数据,而不是命令。
常见错误:401 Invalid API Key 表示密钥错误、已过期或已删除。402,或提到账单或容量的 429:额度用完、达到支出上限或免费套餐的配额,请在控制台查看 Billing。普通的 429 是速率限制:请稍候并重试一次。400 或 422:字段或模型 ID 无效,消息会指出是哪一个;chat completions 不接受网络搜索,网络搜索请用 mistral_start_conversation。404:未知的模型、文件、智能体、对话或任务,或属于其他工作区。
该连接器不支持流式回答、音频(转录和语音合成)、创建智能体、知识库或批处理任务、微调(Mistral 已不再通过 API 提供微调任务)以及工作区管理。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
Mistral AI的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
mistral_list_models | List the Mistral models the API key can use, with id, description, context length, capabilities (chat, function calling, reasoning, vision… |
mistral_get_model | Get one Mistral model by id or alias (e.g. mistral-small-latest) with its capabilities, context length, aliases and deprecation date |
mistral_chat | Ask a Mistral model and get its answer (chat completions, no streaming) |
mistral_fim_complete | Fill in the middle of code with Codestral: give the code before the gap as prompt and, optionally, the code after it as suffix, and get the… |
mistral_create_embeddings | Turn one text, or a list of texts, into embedding vectors for semantic search, clustering or similarity |
mistral_moderate | Check one text or a list of texts against Mistral's moderation categories (sexual, hate and discrimination, violence and threats, dangerous… |
mistral_moderate_chat | Check a whole conversation with Mistral's moderation model, judging the last message in its context, e.g. whether an assistant reply is… |
mistral_classify | Classify one text or a list of texts with a custom Mistral classifier model the workspace already has (its id starts with ft:) |
mistral_ocr | Read a PDF, a slide deck or an image with Mistral OCR and get each page as Markdown (tables, headers and footers optional), from a public… |
mistral_start_conversation | Start a conversation with a Mistral model or agent through the Conversations API (beta), which can use Mistral's built-in tools, e.g. tools… |
mistral_continue_conversation | Add a user message to a stored Mistral conversation and get the next answer (Conversations API, beta) |
mistral_list_conversations | List the stored Mistral conversations of the workspace (Conversations API, beta), newest first, with id, name, model or agent and dates |
mistral_get_conversation_messages | Read the messages of a stored Mistral conversation (user and assistant turns, Conversations API, beta) |
mistral_list_agents | List the Mistral agents of the workspace (Agents API, beta) with id, name, model, description and version |
mistral_get_agent | Get one Mistral agent (Agents API, beta) with its model, instructions, tools, completion settings and versions |
mistral_list_files | List the files stored in the Mistral workspace (for OCR, batch jobs or fine-tuning) with id, name, purpose, size and dates |
mistral_get_file | Get the details of one file in the Mistral workspace: name, purpose, size, type, dates |
mistral_get_file_url | Get a temporary signed download link for a file in the Mistral workspace, e.g. the output file of a batch job |
mistral_upload_file | Upload a file to the Mistral workspace from a public link, e.g. a PDF for mistral_ocr (purpose ocr) or a JSONL file of requests for a batch… |
mistral_delete_file | Delete a file from the Mistral workspace |
mistral_list_batch_jobs | List the Mistral batch jobs of the workspace, newest first, with status (QUEUED, RUNNING, SUCCESS, FAILED, TIMEOUT_EXCEEDED… |
mistral_get_batch_job | Get one Mistral batch job with status, progress counts, errors and the output_file id (download it with mistral_get_file_url) |
mistral_cancel_batch_job | Ask Mistral to cancel a batch job that is queued or running |
示例提示
- “用 Mistral OCR 读取这个链接里的 PDF,把第 3 页的价格表以 Markdown 给我。”
- “让 Mistral 通过网络搜索告诉我,今年欧盟《人工智能法案》的时间表有哪些变化,并列出来源。”
- “用 Mistral 的审核功能检查这三条客户评论,告诉我哪些被标记以及原因。”
- “我的 Mistral 批处理任务中哪些还在运行,已经完成了多少个请求?”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?