MCP.so
登录

Mistral OCR MCP Server

@sathizz7

基本信息

分类

其他

传输方式

stdio

作者

sathizz7

关于 Mistral OCR MCP Server

Mcp ocr server

#mistral-ocr#ocr-server#mcp

Mistral OCR MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "MCP-Mistral-Ocr": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

Mistral OCR MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mistral OCR MCP Server?

Mistral OCR MCP Server is a local OCR server built with FastAPI that uses Mistral OCR to perform text extraction from uploaded images. It is compliant with the Model Context Protocol (MCP), enabling interaction via an MCP interface. The server is designed for developers who need a self-hosted, standards‑based OCR service that can be integrated into MCP‑aware applications.

How to use Mistral OCR MCP Server?

Install dependencies with pip install . (Python 3.10+ required). Start the server using uvicorn main:app --reload, which runs on http://127.0.0.1:8000. Submit an image for OCR via POST /v1/ocr with a multipart/form-data file field, or interact through the MCP endpoint at BASE_URL/mcp. A GET /health endpoint checks server status.

Key features of Mistral OCR MCP Server

  • FastAPI backend for high‑performance HTTP and MCP endpoints.
  • RESTful OCR endpoint (POST /v1/ocr) with file upload support.
  • MCP‑compliant interface for tool‑based interaction.
  • Configuration via Pydantic settings and environment variables.
  • Integrated logging and health check endpoint.
  • Default support for common image formats (JPEG, PNG) and a 1 MB upload limit.

Use cases of Mistral OCR MCP Server

  • Extract text from images in a local, self‑hosted environment.
  • Integrate OCR capabilities into MCP‑compatible applications and agents.
  • Prototype and test OCR pipelines with a simple REST API.
  • Process sensitive documents without sending data to external cloud services.
  • Build custom document‑processing workflows with configurable file type limits.

常见问题

1

What are the runtime requirements?

Python 3.10 or higher is required. The server runs locally using `pip` or `uv` for package management. No external cloud credentials are needed.

2

Which file types and size are supported?

By default, the server accepts `image/jpeg` and `image/png` files. The maximum upload size is set to 1 MB (configurable via environment variables).

3

How do I configure the server?

Configuration options (e.g., supported file types, model settings) are defined in `ocr/config.py` using Pydantic. They can be overridden with environment variables. Refer to the config file for available settings.

4

Does the server support authentication?

No authentication is mentioned in the documentation. The server is intended for local or internal network use.

5

What transport protocols are available?

The server provides both REST (HTTP) and MCP transports. The REST endpoint is at `/v1/ocr`, and the MCP endpoint is at `BASE_URL/mcp`.

评论

其他 分类下的更多 MCP 服务器