mdfi

v0.1.1
io.github.TopTop-Oy/mdfi-connect Checked 29 minutes ago Published 18 days ago

Read PDFs, scans and Office files page by page, with quality flags and CSV table export.

Values you need

VariableWhat it is
MDFI_API_KEYrequired secret Your mdfi API key, from the Connect page of the dashboard (app.mdfi.ai)
MDFI_API_URLoptional mdfi API address Default: https://api.mdfi.ai

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mdfi-connect -e 'MDFI_API_KEY=<MDFI_API_KEY>' -- uvx mdfi-connect==0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mdfi-connect": {
      "args": [
        "mdfi-connect==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "MDFI_API_KEY": "<MDFI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mdfi-connect": {
      "args": [
        "mdfi-connect==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "MDFI_API_KEY": "<MDFI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "MDFI_API_KEY",
      "id": "mdfi-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mdfi-connect": {
      "args": [
        "mdfi-connect==0.1.1"
      ],
      "command": "uvx",
      "env": {
        "MDFI_API_KEY": "${input:mdfi-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mdfi-connect]
command = "uvx"
args = ["mdfi-connect==0.1.1"]
env = { "MDFI_API_KEY" = "<MDFI_API_KEY>" }

For AI agents

  1. Ask the user for: MDFI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: read_document, read_pages, export_table.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json