Provides AI agents with authenticated access to Mistral AI Studio workspace resources through the Model Context Protocol. Supports managing applications and deployments, inspecting build logs, managing connectors, prompts, document libraries, search indexes, evaluation datasets, observability traces, secrets, skills, and workflows. Includes write and execution capabilities such as deploying workflows, triggering executions, updating prompts, managing documents, and creating or deleting resources. Requires a workspace-scoped Mistral API key, with available tools governed by workspace permissions and enabled features.
DeepSeek Harness (DSH) is DeepSeek's agent harness. Each MCP server is one plugin entry in your project config.
This guide connects Mistral to DeepSeek Harness through MewCP, so DeepSeek Harness can use Mistral's 91 tools, like list_skills, read_skill and read_skill_asset, without your Mistral credentials ever reaching the app.
Your Mistral API key is stored encrypted and injected only at call time. Your agent never holds it, so it can never leak it, log it or paste it into a prompt.
More apps
TinyFish MCP for running AI-driven browser automation tasks, deep web research, persistent browser login profiles, remote CDP browser sessions, and agentic wallet payments.
Manage repositories, pull requests, issues, branches and development workflows on GitHub. Automate software delivery and collaborate across engineering projects.
Connect to external APIs, webhooks and internet services through standard HTTP requests. Build integrations with virtually any platform that exposes a web-based interface.
Access Google Gemini models for multimodal AI, text generation, and reasoning. Analyze text, images, and documents; enable Google Search grounding and Python code execution; generate embeddings for semantic search; and explore available models and token usage.
Other clients
Mistral works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Mistral tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
In your DSH project, or the patch file you mount plugins from.
One plugin instance is one MCP server. Add this to your plugin list.
Tools register as mcp__mewcp__<tool_name>. Sign in when the browser window opens.
Start a new chat and ask: "List the tools you can use from MewCP." You should see your connected apps.
Every skill in the workspace, with the description of what it is for. Bodies are never included, so this is cheap to call first. Read one with read_skill.
A skill as Markdown: frontmatter with everything the registry knows, including an `assets` map, then the body verbatim. The body can go straight back to write_skill.
One file shipped with a skill, keyed by its path in read_skill's `assets`. Text only; binary reports its size.
Create a skill, or add a version when the name already exists. Content is replaced wholesale: send the complete body and every asset the new version should have. Identical content and notes returns the existing version instead of a duplicate.
Choose who can see a skill: private is the owner only, workspace is everyone.
Delete a skill and every one of its versions. This cannot be undone.
Every Prompt Registry prompt in the workspace, with its title and description. Content is never included, so this is cheap to call first. Read one with read_prompt. Prompts are not skills: list_skills never shows them.
One prompt version: its template verbatim, title, description, aliases and notes. Defaults to the latest version.
Create a prompt, or add a version when the name already exists. Content is replaced wholesale. Identical content returns the existing version instead of a duplicate. To copy a prompt, pass what read_prompt returned.
Look up an agent by ID in the current workspace. Use for agents deployed or served with the Mistral Agents SDK returns its identity, activity status, and timestamps.
Discover the bundled Mistral Agents SDK authoring skill and documentation. Read SKILL.md with read_agents_sdk_skill before creating or modifying Python SDK agents; Read _manifest with the same tool to find supporting file paths. This catalogue is separate from workspace AI Registry skills.
Read the Mistral Agents SDK authoring instructions or one bundled documentation file. Call with no arguments to load SKILL.md before authoring SDK agents. Pass relative file paths from SKILL.md or the manifest directly to this tool. Files remain on the MCP server; source-checkout paths in the documentation may not exist locally.
Search organization members by name or email. Returns a page of matching members with their `uuid`, display `name`, and `email`, and the `total` number of matches. When `next_cursor` is set, more members remain: pass it back as `cursor` with the same `search` and `limit` to fetch the next page. Use the `uuid` value as the `user_id` filter when calling `search_traces` or `search_spans`.
Identify who this connection acts as: the user or service account, its organization and its workspace. Every other tool on this server reads and writes in this workspace. Call this first when several Mistral servers or API keys are configured, before writing or deleting anything, or when another tool returns nothing you expected to find.
List the connectors available to the caller, including whether each is active and connected. To find one, such as whether Google Drive is already added, pass `query`: it searches all connectors and returns the best matches first. `get_connector_details` reads one connector's configuration. Do not call this to use a connector, like sending a Slack message: no tool here can. Nor can it enable or configure one; `create_connector` adds one.
Get configuration metadata for one known connector by name or ID. Use this to inspect its server, protocol, activation status, owner, visibility, blocked consumers, or supported authentication methods. If the connector is not known yet, call `list_my_connectors` first. This is a read-only catalogue lookup. It does not call the connector, access data in the connected service, change activation or sharing, or manage credentials.
List the tools one MCP connector exposes, with each tool's argument schema. Use this to check what a connector can do, or before writing workflow or agent code that calls a connector, to get exact tool names and arguments. Call this only for connectors `list_my_connectors` shows with `lists_tools` true: the others expose no tools. Listing connects to the connector with a credential, so they must also show `authenticated` true. This does not call any of the listed tools.
List the credentials configured for one connector in the caller's user, workspace and organization scopes, with each one's status. Use this to check whether a credential is valid, or for the name workflow or agent code passes to a connector. Never returns secret values. Creating, updating or deleting a credential is done by the user in Studio, not by this tool.
Start adding a connector from the Studio store, such as Notion, or a custom MCP server. Returns the Studio page where the user adds and connects it; credentials never reach this tool. Then find it with `list_my_connectors`.
Send one request through the connectors gateway, as workflow code does, to check a connector and its credential before deploying. Runs as the caller: pass `credentials_name` to test the credential an unattended run uses. Prefer reads; a POST really executes.
List webhooks receiving events from external services, with ingest URL and verification status. Use it to pick the webhook for `create_trigger` or check setup; `list_triggers` shows what each webhook starts. If none fits, `create_webhook` sends the user to create one.
Start creating a webhook so an external service (Slack, GitHub, Notion, and others) can send its events to Mistral. Returns the Studio page where the user creates it, since that takes the provider's signing secret, which never passes through this tool. Once they have, call `list_webhooks` to find it, then `create_trigger` to start a workflow on its events.
Permanently delete a webhook; its ingest URL stops accepting events. Refused while triggers use it: delete them with `delete_trigger` first.
List triggers: the webhook firing each, its filter, and the workflows it starts. Use it to audit automations, avoid duplicates, or find an ID for `delete_trigger`.
Automate a workflow: start it whenever a webhook receives a matching event from an external service (Slack, GitHub, Notion, Lucca, or a custom provider), e.g. a Slack message in a support channel or a merged GitHub pull request.
Permanently delete a trigger so it stops starting its workflow. Started runs continue, and the webhook that fired it is kept.
Load the delivery guide for creating or changing a Mistral Workflow with the Mistral Workflows SDK. Its default delivery path includes local tests, a pushed PR, and a managed deployment serving the pushed revision. Call this before editing workflow code or creating a workflow project, even when the user does not separately mention deployment. Do not call it for status, logs, visualization, or execution-only requests about an already implemented workflow.
Create or redeploy a managed workflow deployment from a Git repository. Set `hardened=true` for workflows using on-behalf-of credentials. An existing deployment keeps its hardening, and the tool refuses an incompatible deployment. The call returns when the build is submitted, before the new revision is serving. Pass `requested_revision`, the commit SHA resolved from the requested branch, tag, or commit, to `wait_workflow_deployment_ready` before executing. `secrets` replaces all secret bindings (omit to keep, `[]` to clear); read them from `get_workflow_deployment` first. `service_account_roles` likewise replaces the service account's roles.
Check a workflow deployment's build and serving state. `ready` combines active worker liveness with the managed rollout phase. It does not prove a new revision is live: compare `deployed_revision` with the requested commit or use `wait_workflow_deployment_ready`. Read build logs for a failed build and runtime logs for a failed worker rollout. `source` holds its `deploy_workflow_deployment` inputs, secrets and service-account roles included.
Wait for a managed workflow deployment to serve the exact requested commit revision. A matching build commit alone does not prove that workers are serving it. Stops early on a failed build or rollout. A timeout mid-rollout returns ready=false: call again to keep waiting.
Stop a managed workflow deployment's workers, keeping its source and secrets. It runs no workflows and frees a managed-deployment slot until `start_workflow_deployment` serves it again.
Start a stopped managed workflow deployment on the commit it last deployed. It returns before workers serve: pass `requested_revision` to `wait_workflow_deployment_ready`. New code needs `deploy_workflow_deployment`.
Read a bounded page from a workflow deployment's logs. Select `build` for a managed deployment's image-build output, or `runtime` for logs emitted by managed or self-hosted workers. Results default to the newest 20 records. To continue, pass `next_cursor` back as `cursor` with the same `log_type`; the cursor preserves the original time window and order.
List workflow deployments in the workspace, to find one to redeploy before creating a new name. Filter by name prefix or by a workflow they serve. Pass an entry's `deployment_name` to `get_workflow_deployment`, `deploy_workflow_deployment` or `execute_workflow`.
Start a workflow execution asynchronously. Pass deployment_name whenever the user names a deployment; omit it only when none is named. Before starting, verify that the deployment has active workers and a completed rollout, that it serves an active registration of the exact workflow, and that the input matches the registered JSON schema. When expected_revision is provided, refuse unless that commit is the deployment's observed serving revision. The execution result contains an execution_id; follow events or poll get_workflow_execution for the final result.
Find workflow executions and their IDs, including ones still running. Use an `execution_id` with `get_workflow_execution` for the authoritative status and result. This lists runs, so one execution may appear more than once after a continue-as-new; `run_id` distinguishes those records. Agents SDK workflows are hidden unless `workflow_identifier` names one.
List workflows available to the caller. Each entry carries the `name` and `id` that `execute_workflow` accepts as `workflow_identifier`. Use this to discover workflows before executing one. Shared workflows and Agents SDK workflows are excluded; fetch those by exact `id` or `name`. This tool intentionally returns one bounded page; when `truncated` is true, narrow the result with `search` or filters instead of trying to list the whole workspace.
Archive a workflow so it can no longer run; its running executions are terminated. Refused while a deployment serves it. Schedules made with `create_workflow_schedule` stay: delete them first.
List workflow registrations: the registered versions of workflows that workers serve. Each entry carries the workflow's ID, the registration `id`, the deployment serving it, and the names of the signal, query, and update handlers the registered version defines. Shared and Agents SDK workflows are excluded; pass their exact `workflow_id` or `workflow_name` to reach them. Only registrations that workers currently serve are listed unless `active_only` is false. Use `list_workflows` to discover workflows by name; use this when you need a workflow's registrations. Prefer `workflow_name` for an exact match: `workflow_search` is fuzzy and can return unrelated similar names. Handler and workflow schemas are omitted unless `include_definition` is true. When `truncated` is true, results were omitted: narrow the filters or follow `next_cursor`.
Read an execution's platform status, result, and trace ID. For state exposed by a named workflow query handler, use `query_workflow_execution`. A non-null `trace_error` means the execution was read but its trace lookup failed. Poll while status is `RUNNING` or `RETRYING_AFTER_ERROR`. When status is `FAILED`, call `get_workflow_execution_logs` to diagnose it.
Read a bounded page of logs for a workflow execution. Use this to diagnose a failed execution. Results default to the newest 20 records. Pass `next_cursor` back as `cursor` to continue; the cursor preserves the original time window and order.
Read the next bounded batch of lifecycle and live progress events from a root workflow execution and its child workflows. Pass `next_cursor` back as `cursor` to resume without duplicates. The call waits briefly for new events; an empty result means no event arrived before `wait_seconds`, not that the execution finished. Live `CUSTOM_TASK_IN_PROGRESS` events are ephemeral, so start reading soon after `execute_workflow`. Use `get_workflow_execution` for authoritative status and final result.
Invoke a named signal handler on a running workflow execution, such as `approve` or `resume`. Signals deliver external input asynchronously and only confirm acceptance. Use `query_workflow_execution` for a named query handler, or `update_workflow_execution` for a named update handler whose result you need.
Invoke a named read-only query handler on a workflow execution, such as `awaiting_approval`, and return the handler result. Put caller-supplied handler parameters in `input`; for example, `item_status` for `item_id` item-7 needs `input={"item_id": "item-7"}`. If the caller supplies the execution ID and handler name, call directly with any supplied input. Use `get_workflow_execution` for platform execution status and the final result.
Change workflow-defined state through a named update handler on an execution, such as `set_priority`, and wait for the handler result. Put caller-supplied handler parameters in `input`; for example, setting priority to 3 needs `input={"priority": 3}`. Call this tool directly when the execution ID and update handler name are known. Use `signal_workflow_execution` when only asynchronous delivery is needed.
Immediately terminate a workflow execution. The execution gets no opportunity to clean up. For safety, the tool first reads the execution and refuses to terminate it unless its recorded deployment matches `expected_deployment_name`. It performs that check itself, so call it directly.
List workflow schedules and their IDs, pause state, timing, and next run. Does not list the user's Vibe scheduled tasks. Filter by exact `workflow_name` or partial `workflow_name_prefix`; neither matches schedule IDs. If a schedule ID is known, call the requested schedule action directly. Continue with `next_cursor`.
Create or update a workflow schedule. Use supplied workflow and deployment names directly; the service checks registration. Omit the deployment when not supplied: the service picks the only serving one, and errors list the candidates otherwise. Include only requested settings: omit UTC time zone, singleton calendar `end`, and unrequested policy or comment. Reuse `schedule_id` to update.
Pause a workflow schedule's automatic runs. Existing workflow executions keep running. Use `list_workflow_schedules` to discover the schedule ID and `resume_workflow_schedule` to restart automatic runs.
Resume automatic runs of a paused workflow schedule. Use `list_workflow_schedules` to find the schedule ID and check its current state.
Trigger one run of a workflow schedule now, even if paused; this does not resume automatic runs. Call directly with a supplied schedule ID. List schedules only when the ID is unknown. Set overlap only when requested. No execution ID is returned; use `list_executions` to find the run.
Permanently delete a workflow schedule and its future automatic runs. Already-started workflow executions keep running. Use `list_workflow_schedules` to verify the ID before deleting it.
Fetch a workflow graph and display it as an MCP App. Returns a summary and structured graph data along with a UI resource that renders the graph interactively. Defaults to the workflow's most recently updated graph. Don't display anything extra - no mermaid, markdowns or schemas - the tool does it. Only return the result.
Load the delivery guide for creating or changing a Mistral App with the Mistral CLI and the Mistral Apps tools. Its default delivery path includes local tests, a pushed commit, a deployment serving that revision, and catalog publication when the app is meant for other people. Call this before scaffolding an app, editing app code or capabilities, or deploying a change, even when the user does not separately mention deployment. Do not call it for status, logs, or inspection-only requests about an already deployed app.
List Mistral Apps, the web apps and services users deploy with `mistral apps deploy`, newest first. Returns the apps in the caller's workspace. Not for workflow deployments or connectors, which have their own tools.
Describe one Mistral App in a single call: its modules and how each one starts and is routed, its environments and their public URLs, and the version each module runs in each environment. Env vars are listed by name only, never their values. Start and pre-start commands are returned as configured, so they can contain anything the app's owner put in them. Use it after `list_apps` to find a `module_id` for `get_app_logs`, or to check what an environment is running.
List a Mistral App's deploy runs across its modules and environments, newest first, with each run's status, environment, image tag and error. Use it to see what was deployed recently and whether it worked. Pass a failed run's `id` and `module_id` to `get_app_logs` to read its build and startup logs.
Read one Mistral App deploy run: its status, environment, module, image tag and error. Use it to follow a deploy until it leaves `pending` or `running`, or to see why it failed. For the build and startup output behind an error, pass the run's `id` and `module_id` to `get_app_logs`.
Read a bounded page of a Mistral App's logs, newest first by default. Use it when a deploy fails or an app misbehaves. Pass `module_id` for a module's runtime or build logs, or omit it to read the app's gateway, which handles login, access checks and routing. Reads cover the last hour unless you pass `since_minutes`, or `run_id` for one deploy run's build and startup. Pass `next_cursor` back as `cursor` to continue; for the gateway, repeat the same `environment` with it.
Restart or roll back one module of a Mistral App, using only a version the environment already ran. This is not a deploy: it cannot ship new code, pushed commits or local changes, so for any request to deploy or release new code do not call it, and tell the user to run `mistral apps deploy`. Without `tag` it redeploys the version the environment runs now, with the module's current env vars and start command, and retries the environment's database provisioning. With `tag` it switches the module to that version; take tags from `list_app_deploy_runs`. A version deployed from git is built again, so the run can take minutes and fail at the build. Returns once the run is queued: follow it with `get_app_deploy_run`, and read `get_app_logs` with its `run_id` if it fails.
Publish a Mistral App environment to the apps catalog, so people who can see the app can find and open it from Vibe. The entry uses the app's display name, description and visibility, and links to the environment's public URL. Publishing an environment that is already published returns the existing entry. Use `unpublish_app` to remove it.
Remove a Mistral App environment from the apps catalog, so it no longer appears in Vibe. The app itself keeps running and stays reachable at its URL. Unpublishing an environment that is not published does nothing. Use `publish_app` to publish it again.
Search the Mistral documentation: Vibe, Mistral AI Studio, the Mistral API, models and Admin. Use it before answering a question about a Mistral product from memory. Ranks pages by keyword relevance, so use the product's own terms rather than a full sentence. Read a result in full with `read_mistral_docs_page`. Cite a page by its `url`; never construct one. Billing disputes, account problems and support requests are not documented here: point to https://help.mistral.ai instead.
Read one page of the Mistral documentation as Markdown. Take the page's `url` from `search_mistral_docs`; the page's URL with or without `.md`, or its path, also works. Long pages come back in windows: when `next_offset` is set, call again with it to continue.
List the libraries the caller can access, filtered by name. Use get_library to look one up by ID.
Get one library by ID. To find one by name, use list_libraries.
Create an empty library, owned by the calling user. It stays private until shared with share_library.
Delete a library and all its documents. Owner only. This cannot be undone.
List a library's documents and their processing status. Metadata only: when document search and open tools are available in this session, use those to read contents.
Get one document's metadata and processing status by ID. Never its contents.
Add a document to a library. Choose the action by where the content is: - `write`: markdown you wrote. Pass it in `content` with a `.md` filename. One call, works in any client. Markdown only: any other format, including text you could write yourself (HTML, CSV, TXT), goes through `prepare` then `complete`. - `prepare` then `complete`: an existing file (PDF, image, office document...). This needs the file's raw bytes and the ability to make an HTTP request yourself. Without either, this path is unavailable: say so rather than retrying. The upload is three steps: 1. `prepare` returns `upload_handle` and `upload_request`. 2. Send exactly one request to `upload_request.url` with `upload_request.method`, every header in `upload_request.headers` sent verbatim, and the raw file bytes as the body: not base64, not multipart. Any 2xx status is success. A missing or altered signed header fails with 403. For example `curl -X PUT --data-binary @report.pdf -H "<name>: <value>" "<url>"`, or `fetch(url, { method, headers, body })`. 3. `complete` with the same `filename` and the `upload_handle`. The URL is long and signed, and retyping it corrupts it. If you can call tools from code, run all three steps in one program that keeps `upload_request` and `upload_handle` in variables, so neither passes through your output; otherwise copy them exactly. Never show the URL to the user. It expires after about 30 minutes: if the upload fails or the URL has expired, start again from `prepare`. Upload one file at a time. Processing is asynchronous: poll `get_document` until `process_status` shows the document is searchable.
Delete a document from a library. This cannot be undone.
List who has access to a library. Each entry carries the level: viewer or editor.
Grant or change access to a library. Owner only. Pass `level` (viewer or editor) and, to share with one person, `user_id`, resolved with search_workspace_members; omit `user_id` to share with the whole workspace. Access applies immediately and the recipient is not notified.
Revoke access to a library. Owner only. Pass user_id to revoke one person's access; omit it to revoke the whole workspace's.
List the knowledge bases an agent keeps up to date from connected sources, with their topics. Use it to find an ID for `get_knowledge_base` or to avoid duplicates.
Create a knowledge base that an agent fills from connected sources (e.g. Notion, Slack): one document per topic, following each topic's instructions. Creating it does not run the agent; a `schedule` refreshes it on a timer.
Get one knowledge base: its topics, its connectors and its run `state`.
Run a knowledge base's agent now: it reads the connectors as the knowledge base's owner and rewrites each topic's document. Returns as soon as the run starts; follow it with `get_knowledge_base` until `state` is no longer `running`. After a run that failed partway, set `resume` to rerun only the topics, and the links pass, that did not complete, without discovering the sources again.
Permanently delete a knowledge base with its content. Ask the user to confirm first, unless they explicitly said not to, e.g. "force delete".
Read a knowledge base's content (`get_knowledge_base` has its config and run state): the root `KNOWLEDGE.md` and every file path, or one file by `path`. Live files, so partial while a run is in progress.
Say whether a knowledge base is private to its owner or shared with the workspace, and at which level.
Share a knowledge base with the whole workspace, read-only: every member can list and read it, and only its owner can change it. Sharing with individual people or groups is not available yet.
Make a knowledge base private again: only its owner can list and read it.
List one page of the Mistral-hosted search indexes in the current workspace, with their status. For a known exact name, use `get_search_index` instead, which also returns the schema and embedding configuration. Prefer a `name` filter to scanning every page.
Get one Mistral-hosted search index: its status, schema and embedding configuration. Poll it after `create_search_index` or `update_search_index` until `status` is `ready`.
Create a Mistral-hosted search index from a schema and an embedding configuration. Provisioning is asynchronous: the index returns as `provisioning`; poll `get_search_index` until it is `ready`. The embedding configuration cannot change afterwards. An existing name is never replaced.
Change an existing search index's schema: add new fields, or start indexing existing ones. Nothing else about an existing field can change, and no field can be removed. Applied asynchronously: the index keeps serving its current schema until `get_search_index` shows it `ready` again.
Permanently delete a Mistral-hosted search index and everything indexed in it. Only on the user's explicit request, never to resolve a name conflict. Deletion is asynchronous: the index returns as `deleting`, and its name stays taken until `get_search_index` reports it not found.
List the ingestion-workflow executions that populated a Mistral-managed search index, newest first. An empty result means no such runs exist, not an error: only Mistral-managed ingestion tags its runs with the index.
The organization's plan, its included monthly budgets (API and Vibe Code) and what is left of them, what happens when a budget is used up, and pay-as-you-go spend against the monthly spending limit. `when_exhausted` is `pay_as_you_go` when PAYG is on for that budget. When answering, call the plan Free, Pro, Education or Team, and say separately whether pay-as-you-go is activated. Use it to check remaining usage, or why usage was refused for budget or spend. No prices or rate limits here: those are in the docs (`search_mistral_docs`).