Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HTTP_HOSTNoHost for HTTP transport127.0.0.1
MCP_HTTP_PATHNoPath for HTTP transport/mcp
MCP_HTTP_PORTNoPort for HTTP transport3333
MCP_TRANSPORTNoTransport mode: stdio or httpstdio
MCP_HTTP_TOKENNoBearer token for HTTP transport
MISTRAL_API_KEYYesAPI key for Mistral AI.
MCP_HTTP_STATELESSNoStateless session mode for HTTP transport
MCP_HTTP_ALLOWED_ORIGINSNoComma-separated allowed origins for HTTP transport

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
mistral_chatA

Generate a chat completion using a Mistral model.

When to use:

  • Drafting French (or any European-language) content where Mistral shines.

  • Codestral for code-specific generation/review.

  • Ministral for cheap / low-latency classification.

Returns structured content with the assistant text and token usage. Does NOT stream — use mistral_chat_stream for long outputs with progress updates.

codestral_fimA

Fill-in-the-middle code completion with Codestral.

Given prompt (code preceding the cursor) and suffix (code after the cursor), Codestral writes the middle. Use for editor autocomplete scenarios, code-patching agents, or structured refactors where you know the target boundaries.

Default stop tokens: [] — let the model decide. Override with stop if needed.

mistral_visionA

Chat completion with multimodal input: text + image_url parts.

Requires a vision-capable model. Accepted:

  • pixtral-large-latest

  • pixtral-12b-latest

  • mistral-large-latest

  • mistral-medium-latest

  • mistral-small-latest

Each message's content is either a plain string (pure text) or an array of parts { type: 'text', text } / { type: 'image_url', imageUrl }. The image URL can be an https URL or a data: URI base64 payload.

Returns the assistant text + token usage. For non-visual requests, prefer mistral_chat.

mistral_ocrA

Run Mistral OCR on a PDF or image, returning structured markdown per page.

Input document is one of:

  • { type: "document_url", documentUrl: "https://...pdf" }

  • { type: "image_url", imageUrl: "https://..." | "data:image/..." }

  • { type: "file", fileId: "" }

Options:

  • pages: array of 0-indexed page numbers or string like "0-5,7".

  • tableFormat: 'markdown' (default) or 'html'.

  • extractHeader / extractFooter: include page header/footer when present.

  • includeImageBase64: embed extracted image bytes as base64 in the response.

  • document_annotation_format: JSON schema for whole-document structured extraction.

  • bbox_annotation_format: JSON schema for extracted image / bbox annotations.

  • confidence_scores_granularity: 'page' or 'word'.

Returns pages[].markdown plus optional pages[].hyperlinks, header, footer, images bounding boxes, annotations, confidence scores, and dimensions.

voxtral_transcribeA

Transcribe an audio file to text using Mistral Voxtral.

Accepted models:

  • voxtral-mini-latest

  • voxtral-small-latest

Audio source is one of:

  • { type: "file_url", fileUrl: "https://..." } (public URL)

  • { type: "file", fileId: "" }

Options:

  • language: ISO-639-1 hint (e.g. 'fr', 'en'). Boosts accuracy when known.

  • temperature: sampling temperature.

  • diarize: return per-speaker segments (default false).

  • timestampGranularities: ['segment'] to return per-segment timestamps.

  • contextBias: list of phrases/terms that should bias the decoder.

Returns plain text, detected language, optional segments[], and token usage.

workflow_executeA

Start a Mistral Workflow execution.

workflowIdentifier is the workflow name or ID (visible in mistral://workflows). input is a free-form JSON object matching the workflow's input schema.

Modes:

  • waitForResult=false (default): returns immediately with execution_id and RUNNING status. Poll workflow_status to track completion.

  • waitForResult=true: blocks until the workflow finishes and returns the result inline. Use timeoutSeconds (default 30) to cap the wait.

Use deploymentName to target a specific deployment slot when multiple are configured.

workflow_statusA

Get the current state and result of a workflow execution.

Statuses: RUNNING | COMPLETED | FAILED | CANCELED | TERMINATED | CONTINUED_AS_NEW | TIMED_OUT | RETRYING_AFTER_ERROR

Poll until status is COMPLETED (or terminal) when waitForResult was false. result is populated once the workflow reaches a terminal state.

workflow_interactA

Send a signal to or run a query against a running workflow execution.

action=signal: fire-and-forget event; the workflow reacts asynchronously.

  • name: signal name defined in the workflow.

  • input: optional payload matching the signal's schema.

action=query: synchronous read of internal workflow state.

  • name: query handler name defined in the workflow.

  • input: optional parameters for the query.

  • Returns query_name + result inline.

action=update: synchronous request to modify workflow state mid-execution.

  • name: update handler name defined in the workflow.

  • input: optional payload for the update.

  • Returns update_name + result inline.

Prompts

Interactive templates invoked by user choice

NameDescription
french_invoice_reminderRédige une relance de facture B2B en français avec un ton contrôlé. Retourne une paire de messages (assistant + user) prête à passer dans mistral_chat.
french_meeting_minutesTransforme une transcription brute en compte-rendu structuré en français. Retourne un message utilisateur prêt à passer dans mistral_chat ou voxtral_transcribe→mistral_chat.
french_email_replyRédige une réponse à un e-mail professionnel en français, avec intention et ton contrôlés. Retourne un message utilisateur prêt à passer dans mistral_chat.
french_commit_messageRédige un message de commit git en français au format Conventional Commits à partir d'un diff. Retourne un message utilisateur prêt à passer dans mistral_chat ou codestral_fim.
french_legal_summaryRésume un texte juridique (CGU, contrat, arrêté, décision) en français, ciblé sur une audience. Retourne un message utilisateur prêt à passer dans mistral_chat. Ne constitue pas un conseil juridique.
codestral_reviewReview a diff through Codestral with a focused lens (correctness, perf, security, or API-design). Returns messages for mistral_chat.

Resources

Contextual data attached and managed by the client

NameDescription
mistral-modelsLive Mistral model catalog for this API key. Returns the canonical allow-list this server accepts plus the raw list from GET /v1/models. Falls back to the static allow-list if the API call fails.
mistral-voicesLive list of voices available to this API key (presets + custom). Use a returned `id` or `slug` as `voiceId` on `voxtral_speak`. Falls back to an empty list if the API call fails.
mistral-workflowsLive list of Mistral Workflows deployed to this API key. Use the `name` field as `workflowIdentifier` in workflow_execute. Falls back to an empty list if the API call fails.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Swih/mistral-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server