stdio (standard input/output) transport is the simplest way to run pymupdf4llm-mcp. In this mode, the MCP server communicates directly over the process’s stdin and stdout streams. Your MCP client — such as Cursor, Windsurf, or Claude Desktop — spawns the server process automatically when it starts and shuts it down when it exits, so you never need to manage a long-running server process yourself.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pymupdf/pymupdf4llm-mcp/llms.txt
Use this file to discover all available pages before exploring further.
Launching the Server
You can start the server in stdio mode in two ways depending on whether you want to run it directly or rely on your MCP client to manage the process.Run with uvx (recommended)
The fastest way to start the server with no installation required:This downloads and runs the latest version of pymupdf4llm-mcp in a temporary, isolated environment.
Configuring Your MCP Client
Most MCP clients accept a JSON configuration block that tells them how to spawn the server process. Paste the block below into your client’s MCP server settings. The client will start the server on demand — you do not need to launch it manually beforehand.command and args fields tell the client exactly what process to start; no port, URL, or network setup is needed.
No Network Configuration Required
Unlike SSE mode, stdio requires no port bindings, no firewall rules, and no reverse proxy. All communication happens through the process’s standard streams, which means the server is only accessible to the client that spawned it. This makes stdio the most straightforward option for local, single-user development.When to Use stdio vs SSE
Choose stdio when…
- You are working locally on a single machine
- You want the simplest possible setup
- Your MCP client (Cursor, Windsurf, Claude Desktop) supports stdio transport
- You do not need simultaneous access from multiple clients
Choose SSE when…
- You need multiple MCP clients to connect to the same server instance
- You are deploying in a containerised or remote environment
- You want a persistent server that outlives any single client session
- See SSE mode for details